<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[181901] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/181901">181901</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2015-03-24 13:07:26 -0700 (Tue, 24 Mar 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>ES6: Object Literal Methods toString is missing method name
https://bugs.webkit.org/show_bug.cgi?id=142992

Patch by Joseph Pecoraro &lt;pecoraro@apple.com&gt; on 2015-03-24
Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

Always stringify functions in the pattern:

  &quot;function &quot; + &lt;function name&gt; + &lt;text from opening parenthesis to closing brace&gt;.

* runtime/FunctionPrototype.cpp:
(JSC::functionProtoFuncToString):
Update the path that was not stringifying in this pattern.

* bytecode/UnlinkedCodeBlock.cpp:
(JSC::UnlinkedFunctionExecutable::UnlinkedFunctionExecutable):
* bytecode/UnlinkedCodeBlock.h:
(JSC::UnlinkedFunctionExecutable::parametersStartOffset):
* parser/Nodes.h:
* runtime/Executable.cpp:
(JSC::FunctionExecutable::FunctionExecutable):
* runtime/Executable.h:
(JSC::FunctionExecutable::parametersStartOffset):
Pass the already known function parameter opening parenthesis
start offset through to the FunctionExecutable.

* tests/mozilla/js1_5/Scope/regress-185485.js:
(with.g):
Add back original space in this test that was removed by <a href="http://trac.webkit.org/projects/webkit/changeset/181810">r181810</a>
now that we have the space again in stringification.

LayoutTests:

* js/class-syntax-default-constructor-expected.txt:
This test was already failing, it now fails in a different way.

* js/object-literal-computed-methods-expected.txt:
* js/object-literal-methods-expected.txt:
These tests now pass.

* fast/dom/TreeWalker/acceptNode-filter-expected.txt:
* js/destructuring-assignment-expected.txt:
* js/dfg-redundant-load-of-captured-variable-proven-constant-expected.txt:
* js/dfg-resolve-global-specific-dictionary-expected.txt:
* js/dom/JSON-parse-expected.txt:
* js/dom/JSON-stringify-expected.txt:
* js/dom/dfg-strcat-over-objects-then-exit-on-it-expected.txt:
* js/dom/function-prototype-expected.txt:
* js/dom/toString-and-valueOf-override-expected.txt:
* js/kde/lval-exceptions-expected.txt:
* storage/domstorage/localstorage/string-conversion-expected.txt:
* storage/domstorage/sessionstorage/string-conversion-expected.txt:
* js/dom/script-tests/dfg-strcat-over-objects-then-exit-on-it.js:
* js/script-tests/dfg-redundant-load-of-captured-variable-proven-constant.js:
* js/script-tests/dfg-resolve-global-specific-dictionary.js:
* js/dom/function-prototype.html:
Update tests to add expected whitespace for stringifying a function
with no name.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsfastdomTreeWalkeracceptNodefilterexpectedtxt">trunk/LayoutTests/fast/dom/TreeWalker/acceptNode-filter-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsclasssyntaxdefaultconstructorexpectedtxt">trunk/LayoutTests/js/class-syntax-default-constructor-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsdestructuringassignmentexpectedtxt">trunk/LayoutTests/js/destructuring-assignment-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsdfgredundantloadofcapturedvariableprovenconstantexpectedtxt">trunk/LayoutTests/js/dfg-redundant-load-of-captured-variable-proven-constant-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsdfgresolveglobalspecificdictionaryexpectedtxt">trunk/LayoutTests/js/dfg-resolve-global-specific-dictionary-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsdomJSONparseexpectedtxt">trunk/LayoutTests/js/dom/JSON-parse-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsdomJSONstringifyexpectedtxt">trunk/LayoutTests/js/dom/JSON-stringify-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsdomdfgstrcatoverobjectsthenexitonitexpectedtxt">trunk/LayoutTests/js/dom/dfg-strcat-over-objects-then-exit-on-it-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsdomfunctionprototypeexpectedtxt">trunk/LayoutTests/js/dom/function-prototype-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsdomfunctionprototypehtml">trunk/LayoutTests/js/dom/function-prototype.html</a></li>
<li><a href="#trunkLayoutTestsjsdomscripttestsdfgstrcatoverobjectsthenexitonitjs">trunk/LayoutTests/js/dom/script-tests/dfg-strcat-over-objects-then-exit-on-it.js</a></li>
<li><a href="#trunkLayoutTestsjsdomtoStringandvalueOfoverrideexpectedtxt">trunk/LayoutTests/js/dom/toString-and-valueOf-override-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjskdelvalexceptionsexpectedtxt">trunk/LayoutTests/js/kde/lval-exceptions-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsobjectliteralcomputedmethodsexpectedtxt">trunk/LayoutTests/js/object-literal-computed-methods-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsobjectliteralmethodsexpectedtxt">trunk/LayoutTests/js/object-literal-methods-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsscripttestsdfgredundantloadofcapturedvariableprovenconstantjs">trunk/LayoutTests/js/script-tests/dfg-redundant-load-of-captured-variable-proven-constant.js</a></li>
<li><a href="#trunkLayoutTestsjsscripttestsdfgresolveglobalspecificdictionaryjs">trunk/LayoutTests/js/script-tests/dfg-resolve-global-specific-dictionary.js</a></li>
<li><a href="#trunkLayoutTestsstoragedomstoragelocalstoragestringconversionexpectedtxt">trunk/LayoutTests/storage/domstorage/localstorage/string-conversion-expected.txt</a></li>
<li><a href="#trunkLayoutTestsstoragedomstoragesessionstoragestringconversionexpectedtxt">trunk/LayoutTests/storage/domstorage/sessionstorage/string-conversion-expected.txt</a></li>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCorebytecodeUnlinkedCodeBlockcpp">trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCorebytecodeUnlinkedCodeBlockh">trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreparserNodesh">trunk/Source/JavaScriptCore/parser/Nodes.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeExecutablecpp">trunk/Source/JavaScriptCore/runtime/Executable.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeExecutableh">trunk/Source/JavaScriptCore/runtime/Executable.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeFunctionPrototypecpp">trunk/Source/JavaScriptCore/runtime/FunctionPrototype.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoretestsmozillajs1_5Scoperegress185485js">trunk/Source/JavaScriptCore/tests/mozilla/js1_5/Scope/regress-185485.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/ChangeLog        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -1,3 +1,36 @@
</span><ins>+2015-03-24  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        ES6: Object Literal Methods toString is missing method name
+        https://bugs.webkit.org/show_bug.cgi?id=142992
+
+        Reviewed by Geoffrey Garen.
+
+        * js/class-syntax-default-constructor-expected.txt:
+        This test was already failing, it now fails in a different way.
+
+        * js/object-literal-computed-methods-expected.txt:
+        * js/object-literal-methods-expected.txt:
+        These tests now pass.
+
+        * fast/dom/TreeWalker/acceptNode-filter-expected.txt:
+        * js/destructuring-assignment-expected.txt:
+        * js/dfg-redundant-load-of-captured-variable-proven-constant-expected.txt:
+        * js/dfg-resolve-global-specific-dictionary-expected.txt:
+        * js/dom/JSON-parse-expected.txt:
+        * js/dom/JSON-stringify-expected.txt:
+        * js/dom/dfg-strcat-over-objects-then-exit-on-it-expected.txt:
+        * js/dom/function-prototype-expected.txt:
+        * js/dom/toString-and-valueOf-override-expected.txt:
+        * js/kde/lval-exceptions-expected.txt:
+        * storage/domstorage/localstorage/string-conversion-expected.txt:
+        * storage/domstorage/sessionstorage/string-conversion-expected.txt:
+        * js/dom/script-tests/dfg-strcat-over-objects-then-exit-on-it.js:
+        * js/script-tests/dfg-redundant-load-of-captured-variable-proven-constant.js:
+        * js/script-tests/dfg-resolve-global-specific-dictionary.js:
+        * js/dom/function-prototype.html:
+        Update tests to add expected whitespace for stringifying a function
+        with no name.
+
</ins><span class="cx"> 2015-03-24  Benjamin Poulain  &lt;benjamin@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         CSS Selectors Level 4: enable case-insensitive attribute matching by default
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomTreeWalkeracceptNodefilterexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/TreeWalker/acceptNode-filter-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/TreeWalker/acceptNode-filter-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/fast/dom/TreeWalker/acceptNode-filter-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> PASS walker.nextNode(); walker.currentNode.id is 'B1'
</span><span class="cx"> 
</span><span class="cx"> Testing acceptNode callee
</span><del>-Callee: function(node) {
</del><ins>+Callee: function (node) {
</ins><span class="cx">     debug('Callee: ' + arguments.callee);
</span><span class="cx">     return NodeFilter.FILTER_ACCEPT;
</span><span class="cx">   }
</span></span></pre></div>
<a id="trunkLayoutTestsjsclasssyntaxdefaultconstructorexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/class-syntax-default-constructor-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/class-syntax-default-constructor-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/class-syntax-default-constructor-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -11,7 +11,7 @@
</span><span class="cx"> PASS B() threw exception TypeError: Cannot call a class constructor.
</span><span class="cx"> PASS B.prototype.constructor.name is &quot;B&quot;
</span><span class="cx"> PASS A !== B is true
</span><del>-FAIL A.prototype.constructor should be function () { super(...arguments); }. Was function () { }.
</del><ins>+FAIL A.prototype.constructor should be function B() { super(...arguments); }. Was function A() { }.
</ins><span class="cx"> PASS new (class extends (class { constructor(a, b) { return [a, b]; } }) {})(1, 2) is [1, 2]
</span><span class="cx"> PASS successfullyParsed is true
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsjsdestructuringassignmentexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/destructuring-assignment-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/destructuring-assignment-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/destructuring-assignment-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -6,75 +6,75 @@
</span><span class="cx"> PASS var [a,b]=['1','2']; var r=a+b; r is '12'
</span><span class="cx"> Function as String: (function([a,b]) { return a+b;})
</span><span class="cx"> PASS (function([a,b]) { return a+b;})(['1','2']) is '12'
</span><del>-PASS (function([a,b]) { return a+b;})(['1','2']) is '12'
</del><ins>+PASS (function ([a,b]) { return a+b;})(['1','2']) is '12'
</ins><span class="cx"> PASS ([a,b]=['1','2']); var r=a+b; r is '12'
</span><span class="cx"> PASS [a,b]=['1','2']; var r=a+b; r is '12'
</span><span class="cx"> PASS var {a,b}={a:'1',b:'2'}; var r=a+b; r is '12'
</span><span class="cx"> Function as String: (function({a,b}) { return a+b;})
</span><span class="cx"> PASS (function({a,b}) { return a+b;})({a:'1',b:'2'}) is '12'
</span><del>-PASS (function({a,b}) { return a+b;})({a:'1',b:'2'}) is '12'
</del><ins>+PASS (function ({a,b}) { return a+b;})({a:'1',b:'2'}) is '12'
</ins><span class="cx"> PASS ({a,b}={a:'1',b:'2'}); var r=a+b; r is '12'
</span><span class="cx"> PASS var {c:a,d:b}={c:'1',d:'2'}; var r=a+b; r is '12'
</span><span class="cx"> Function as String: (function({c:a,d:b}) { return a+b;})
</span><span class="cx"> PASS (function({c:a,d:b}) { return a+b;})({c:'1',d:'2'}) is '12'
</span><del>-PASS (function({c:a,d:b}) { return a+b;})({c:'1',d:'2'}) is '12'
</del><ins>+PASS (function ({c:a,d:b}) { return a+b;})({c:'1',d:'2'}) is '12'
</ins><span class="cx"> PASS ({c:a,d:b}={c:'1',d:'2'}); var r=a+b; r is '12'
</span><span class="cx"> PASS var {c:b,d:a}={c:'1',d:'2'}; var r=a+b; r is '21'
</span><span class="cx"> Function as String: (function({c:b,d:a}) { return a+b;})
</span><span class="cx"> PASS (function({c:b,d:a}) { return a+b;})({c:'1',d:'2'}) is '21'
</span><del>-PASS (function({c:b,d:a}) { return a+b;})({c:'1',d:'2'}) is '21'
</del><ins>+PASS (function ({c:b,d:a}) { return a+b;})({c:'1',d:'2'}) is '21'
</ins><span class="cx"> PASS ({c:b,d:a}={c:'1',d:'2'}); var r=a+b; r is '21'
</span><span class="cx"> PASS var {true:a,false:b,undefined:c,null:d,in:e,for:f,1.5:g,'foo bar':h}={true:'a',false:'b',undefined:'c',null:'d',in:'e',for:'f',1.5:'g','foo bar':'h'}; var r=a+b+c+d+e+f+g+h; r is 'abcdefgh'
</span><span class="cx"> Function as String: (function({true:a,false:b,undefined:c,null:d,in:e,for:f,1.5:g,'foo bar':h}) { return a+b+c+d+e+f+g+h;})
</span><span class="cx"> PASS (function({true:a,false:b,undefined:c,null:d,in:e,for:f,1.5:g,'foo bar':h}) { return a+b+c+d+e+f+g+h;})({true:'a',false:'b',undefined:'c',null:'d',in:'e',for:'f',1.5:'g','foo bar':'h'}) is 'abcdefgh'
</span><del>-PASS (function({true:a,false:b,undefined:c,null:d,in:e,for:f,1.5:g,'foo bar':h}) { return a+b+c+d+e+f+g+h;})({true:'a',false:'b',undefined:'c',null:'d',in:'e',for:'f',1.5:'g','foo bar':'h'}) is 'abcdefgh'
</del><ins>+PASS (function ({true:a,false:b,undefined:c,null:d,in:e,for:f,1.5:g,'foo bar':h}) { return a+b+c+d+e+f+g+h;})({true:'a',false:'b',undefined:'c',null:'d',in:'e',for:'f',1.5:'g','foo bar':'h'}) is 'abcdefgh'
</ins><span class="cx"> PASS ({true:a,false:b,undefined:c,null:d,in:e,for:f,1.5:g,'foo bar':h}={true:'a',false:'b',undefined:'c',null:'d',in:'e',for:'f',1.5:'g','foo bar':'h'}); var r=a+b+c+d+e+f+g+h; r is 'abcdefgh'
</span><span class="cx"> PASS var [{c:a,d:b}]=[{c:'1',d:'2'}]; var r=a+b; r is '12'
</span><span class="cx"> Function as String: (function([{c:a,d:b}]) { return a+b;})
</span><span class="cx"> PASS (function([{c:a,d:b}]) { return a+b;})([{c:'1',d:'2'}]) is '12'
</span><del>-PASS (function([{c:a,d:b}]) { return a+b;})([{c:'1',d:'2'}]) is '12'
</del><ins>+PASS (function ([{c:a,d:b}]) { return a+b;})([{c:'1',d:'2'}]) is '12'
</ins><span class="cx"> PASS ([{c:a,d:b}]=[{c:'1',d:'2'}]); var r=a+b; r is '12'
</span><span class="cx"> PASS [{c:a,d:b}]=[{c:'1',d:'2'}]; var r=a+b; r is '12'
</span><span class="cx"> PASS var {x:[{c:a,d:b}]}={x:[{c:'1',d:'2'}]}; var r=a+b; r is '12'
</span><span class="cx"> Function as String: (function({x:[{c:a,d:b}]}) { return a+b;})
</span><span class="cx"> PASS (function({x:[{c:a,d:b}]}) { return a+b;})({x:[{c:'1',d:'2'}]}) is '12'
</span><del>-PASS (function({x:[{c:a,d:b}]}) { return a+b;})({x:[{c:'1',d:'2'}]}) is '12'
</del><ins>+PASS (function ({x:[{c:a,d:b}]}) { return a+b;})({x:[{c:'1',d:'2'}]}) is '12'
</ins><span class="cx"> PASS ({x:[{c:a,d:b}]}={x:[{c:'1',d:'2'}]}); var r=a+b; r is '12'
</span><span class="cx"> PASS var [a,b]=anArray; var r=a+b; r is '12'
</span><span class="cx"> Function as String: (function([a,b]) { return a+b;})
</span><span class="cx"> PASS (function([a,b]) { return a+b;})(anArray) is '12'
</span><del>-PASS (function([a,b]) { return a+b;})(anArray) is '12'
</del><ins>+PASS (function ([a,b]) { return a+b;})(anArray) is '12'
</ins><span class="cx"> PASS ([a,b]=anArray); var r=a+b; r is '12'
</span><span class="cx"> PASS [a,b]=anArray; var r=a+b; r is '12'
</span><span class="cx"> PASS var {a,b}=anArray; var r=a+b; r is '34'
</span><span class="cx"> Function as String: (function({a,b}) { return a+b;})
</span><span class="cx"> PASS (function({a,b}) { return a+b;})(anArray) is '34'
</span><del>-PASS (function({a,b}) { return a+b;})(anArray) is '34'
</del><ins>+PASS (function ({a,b}) { return a+b;})(anArray) is '34'
</ins><span class="cx"> PASS ({a,b}=anArray); var r=a+b; r is '34'
</span><span class="cx"> PASS var {a:a,b:b}=anArray; var r=a+b; r is '34'
</span><span class="cx"> Function as String: (function({a:a,b:b}) { return a+b;})
</span><span class="cx"> PASS (function({a:a,b:b}) { return a+b;})(anArray) is '34'
</span><del>-PASS (function({a:a,b:b}) { return a+b;})(anArray) is '34'
</del><ins>+PASS (function ({a:a,b:b}) { return a+b;})(anArray) is '34'
</ins><span class="cx"> PASS ({a:a,b:b}=anArray); var r=a+b; r is '34'
</span><span class="cx"> PASS var {a,b}=anObject; var r=a+b; r is '12'
</span><span class="cx"> Function as String: (function({a,b}) { return a+b;})
</span><span class="cx"> PASS (function({a,b}) { return a+b;})(anObject) is '12'
</span><del>-PASS (function({a,b}) { return a+b;})(anObject) is '12'
</del><ins>+PASS (function ({a,b}) { return a+b;})(anObject) is '12'
</ins><span class="cx"> PASS ({a,b}=anObject); var r=a+b; r is '12'
</span><span class="cx"> PASS var {a:a,b:b}=anObject; var r=a+b; r is '12'
</span><span class="cx"> Function as String: (function({a:a,b:b}) { return a+b;})
</span><span class="cx"> PASS (function({a:a,b:b}) { return a+b;})(anObject) is '12'
</span><del>-PASS (function({a:a,b:b}) { return a+b;})(anObject) is '12'
</del><ins>+PASS (function ({a:a,b:b}) { return a+b;})(anObject) is '12'
</ins><span class="cx"> PASS ({a:a,b:b}=anObject); var r=a+b; r is '12'
</span><span class="cx"> PASS var {0:a,1:b}=anObject; var r=a+b; r is '34'
</span><span class="cx"> Function as String: (function({0:a,1:b}) { return a+b;})
</span><span class="cx"> PASS (function({0:a,1:b}) { return a+b;})(anObject) is '34'
</span><del>-PASS (function({0:a,1:b}) { return a+b;})(anObject) is '34'
</del><ins>+PASS (function ({0:a,1:b}) { return a+b;})(anObject) is '34'
</ins><span class="cx"> PASS ({0:a,1:b}=anObject); var r=a+b; r is '34'
</span><span class="cx"> PASS var {'a':a,'b':b}=anObject; var r=a+b; r is '12'
</span><span class="cx"> Function as String: (function({'a':a,'b':b}) { return a+b;})
</span><span class="cx"> PASS (function({'a':a,'b':b}) { return a+b;})(anObject) is '12'
</span><del>-PASS (function({'a':a,'b':b}) { return a+b;})(anObject) is '12'
</del><ins>+PASS (function ({'a':a,'b':b}) { return a+b;})(anObject) is '12'
</ins><span class="cx"> PASS ({'a':a,'b':b}=anObject); var r=a+b; r is '12'
</span><span class="cx"> PASS a+b is '1122'
</span><span class="cx"> PASS a+b is '2211'
</span></span></pre></div>
<a id="trunkLayoutTestsjsdfgredundantloadofcapturedvariableprovenconstantexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dfg-redundant-load-of-captured-variable-proven-constant-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dfg-redundant-load-of-captured-variable-proven-constant-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/dfg-redundant-load-of-captured-variable-proven-constant-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -3,106 +3,106 @@
</span><span class="cx"> On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return 32; },function() { return 32; }&quot;
-PASS &quot;&quot; + foo(o, i % 2) is &quot;function() { return x; }&quot;
</del><ins>+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return 32; },function () { return 32; }&quot;
+PASS &quot;&quot; + foo(o, i % 2) is &quot;function () { return x; }&quot;
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx"> 
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestsjsdfgresolveglobalspecificdictionaryexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dfg-resolve-global-specific-dictionary-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dfg-resolve-global-specific-dictionary-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/dfg-resolve-global-specific-dictionary-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -3,206 +3,206 @@
</span><span class="cx"> On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
-PASS &quot;&quot; + foo() is &quot;function() { }&quot;
</del><ins>+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
+PASS &quot;&quot; + foo() is &quot;function () { }&quot;
</ins><span class="cx"> PASS &quot;&quot; + foo() is &quot;42&quot;
</span><span class="cx"> PASS &quot;&quot; + foo() is &quot;42&quot;
</span><span class="cx"> PASS &quot;&quot; + foo() is &quot;42&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomJSONparseexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/JSON-parse-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/JSON-parse-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/dom/JSON-parse-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -1,599 +1,599 @@
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse();
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception Error: JSON.parse requires at least one parameter.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unexpected EOF.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('1');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('-1');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('Infinity');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unexpected identifier &quot;Infinity&quot;.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('NaN');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unexpected identifier &quot;NaN&quot;.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('null');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('undefined');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unexpected identifier &quot;undefined&quot;.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{}');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('({})');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unexpected token '('.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{a}');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Expected '}'.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{a:}');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Expected '}'.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{a:5}');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Expected '}'.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{a:5,}');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Expected '}'.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{&quot;a&quot;}');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Expected ':' before value in object property definition.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{&quot;a&quot;:}');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unexpected token '}'.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{&quot;a&quot;:5}');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{&quot;__proto__&quot;:5}');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{&quot;a&quot;:5,}');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Property name must be a string literal.
</span><span class="cx"> json2.js did not throw for a test we expect to throw.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{&quot;a&quot;:5,,}');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Property name must be a string literal.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{&quot;a&quot;:5,&quot;a&quot;,}');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Expected ':'.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{&quot;a&quot;:(5,&quot;a&quot;),}');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unexpected token '('.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('[]');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('[1]');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('[1,]');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unexpected comma at the end of array expression.
</span><span class="cx"> json2.js did not throw for a test we expect to throw.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('[1,2]');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('[1,2,,]');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unexpected token ','.
</span><span class="cx"> json2.js did not throw for a test we expect to throw.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('[1,2,,4]');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unexpected token ','.
</span><span class="cx"> json2.js did not throw for a test we expect to throw.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;\'&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unterminated string.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\z&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Invalid escape character z.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\\z&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Invalid escape character z.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\\\z&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\tz&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unterminated string.
</span><span class="cx"> json2.js did not throw for a test we expect to throw.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\tz&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\nz&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unterminated string.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\nz&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\rz&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unterminated string.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\rz&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\/z&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\/z&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\bz&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unterminated string.
</span><span class="cx"> json2.js did not throw for a test we expect to throw.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\bz&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\rz&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unterminated string.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\rz&quot;');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\uz&quot;     ');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: &quot;\uz&quot;  &quot; is not a valid unicode escape.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u0z&quot;    ');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: &quot;\u0z&quot; &quot; is not a valid unicode escape.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u00z&quot;   ');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: &quot;\u00z&quot;&quot; is not a valid unicode escape.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u000z&quot;  ');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: &quot;\u000z&quot; is not a valid unicode escape.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u0000z&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u000Az&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u000az&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u000Gz&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: &quot;\u000G&quot; is not a valid unicode escape.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u000gz&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: &quot;\u000g&quot; is not a valid unicode escape.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u00A0z&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u00a0z&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u00G0z&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: &quot;\u00G0&quot; is not a valid unicode escape.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u00g0z&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: &quot;\u00g0&quot; is not a valid unicode escape.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u0A00z&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u0a00z&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u0G00z&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: &quot;\u0G00&quot; is not a valid unicode escape.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\u0g00z&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: &quot;\u0g00&quot; is not a valid unicode escape.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\uA000z&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\ua000z&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\uG000z&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: &quot;\uG000&quot; is not a valid unicode escape.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a\\ug000z&quot; ');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: &quot;\ug000&quot; is not a valid unicode escape.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('00');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unable to parse JSON string.
</span><span class="cx"> json2.js did not throw for a test we expect to throw.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('01');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unable to parse JSON string.
</span><span class="cx"> json2.js did not throw for a test we expect to throw.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('0.a');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Invalid digits after decimal point.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('0x0');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unable to parse JSON string.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('2e1.3');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unable to parse JSON string.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('2e-+10');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Exponent symbols should be followed by an optional '+' or '-' and then by at least one number.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('2e+-10');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Exponent symbols should be followed by an optional '+' or '-' and then by at least one number.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('2e3e4');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unable to parse JSON string.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('-01.0');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unable to parse JSON string.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('-01');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unable to parse JSON string.
</span><span class="cx"> json2.js did not throw for a test we expect to throw.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('-01.a');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Invalid digits after decimal point.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('1.e1');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Invalid digits after decimal point.
</span><span class="cx"> json2.js did not throw for a test we expect to throw.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{/* block comments are not allowed */}');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unrecognized token '/'.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{// line comments are not allowed \n}');
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception SyntaxError: JSON Parse error: Unrecognized token '/'.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('true');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('false');
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(simpleObject));
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(complexObject));
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(complexObject));
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(simpleObject,null,100));
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(complexObject,null,100));
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(complexObject,null,100));
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(simpleObject,null,&quot; &quot;));
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(complexObject,null,&quot; &quot;));
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(complexObject,null,&quot; &quot;));
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(simpleObject,null,&quot;\t&quot;));
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(complexObject,null,&quot;\t&quot;));
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(complexObject,null,&quot;\t&quot;));
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(simpleObject,null,&quot;\n&quot;));
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(complexObject,null,&quot;\n&quot;));
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(&quot;true&quot;, log);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(&quot;false&quot;, log);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(&quot;null&quot;, log);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(&quot;1&quot;, log);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(&quot;1.5&quot;, log);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('&quot;a string&quot;', log);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(simpleArray), log);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(complexArray), log);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(simpleObject), log);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(complexObject), log);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse('{&quot;__proto__&quot;:{&quot;a&quot;:5}}', log);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         return jsonObject.parse(&quot;true&quot;, logOrder);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         return jsonObject.parse(&quot;false&quot;, logOrder);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         return jsonObject.parse(&quot;null&quot;, logOrder);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         return jsonObject.parse(&quot;1&quot;, logOrder);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         return jsonObject.parse(&quot;1.5&quot;, logOrder);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         return jsonObject.parse('&quot;a string&quot;', logOrder);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         return jsonObject.parse(JSON.stringify(simpleArray), logOrder);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         return jsonObject.parse(JSON.stringify(complexArray), logOrder);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         return jsonObject.parse(JSON.stringify(simpleObject), logOrder);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         return jsonObject.parse(JSON.stringify(complexObject), logOrder);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         jsonObject.parse(&quot;true&quot;, logOrder);
</span><span class="cx">         return logOrderString;
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         jsonObject.parse(&quot;false&quot;, logOrder);
</span><span class="cx">         return logOrderString;
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         jsonObject.parse(&quot;null&quot;, logOrder);
</span><span class="cx">         return logOrderString;
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         jsonObject.parse(&quot;1&quot;, logOrder);
</span><span class="cx">         return logOrderString;
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         jsonObject.parse(&quot;1.5&quot;, logOrder);
</span><span class="cx">         return logOrderString;
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         jsonObject.parse('&quot;a string&quot;', logOrder);
</span><span class="cx">         return logOrderString;
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         jsonObject.parse(JSON.stringify(simpleArray), logOrder);
</span><span class="cx">         return logOrderString;
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         jsonObject.parse(JSON.stringify(complexArray), logOrder);
</span><span class="cx">         return logOrderString;
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         jsonObject.parse(JSON.stringify(simpleObject), logOrder);
</span><span class="cx">         return logOrderString;
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         jsonObject.parse(JSON.stringify(complexObject), logOrder);
</span><span class="cx">         return logOrderString;
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         callCount = 0;
</span><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         return jsonObject.parse(JSON.stringify(complexArray), throwAfterFifthCall);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception from reviver.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         callCount = 0;
</span><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         return jsonObject.parse(JSON.stringify(simpleObject), throwAfterFifthCall);
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         callCount = 0;
</span><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         return jsonObject.parse(JSON.stringify(complexObject), throwAfterFifthCall);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception from reviver.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         callCount = 0;
</span><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         try { jsonObject.parse(JSON.stringify(complexArray), throwAfterFifthCall); } catch (e) {}
</span><span class="cx">         return logOrderString;
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         callCount = 0;
</span><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         try { jsonObject.parse(JSON.stringify(simpleObject), throwAfterFifthCall); } catch (e) {}
</span><span class="cx">         return logOrderString;
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         callCount = 0;
</span><span class="cx">         logOrderString = &quot;&quot;;
</span><span class="cx">         try { jsonObject.parse(JSON.stringify(complexObject), throwAfterFifthCall); } catch (e) {}
</span><span class="cx">         return logOrderString;
</span><span class="cx">     }
</span><span class="cx"> PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.parse(JSON.stringify(unicode));
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].unstringifiedExpected
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomJSONstringifyexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/JSON-stringify-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/JSON-stringify-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/dom/JSON-stringify-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -1,529 +1,529 @@
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(1);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(1.5);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(-1);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(-1.5);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(null);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(&quot;string&quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(new Number(0));
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(new Number(1));
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(new Number(1.5));
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(new Number(-1));
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(new Number(-1.5));
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(new String(&quot;a string object&quot;));
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(new Boolean(true));
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var value = new Number(1);
</span><span class="cx">         value.valueOf = function() { return 2; }
</span><span class="cx">         return jsonObject.stringify(value);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var value = new Boolean(true);
</span><span class="cx">         value.valueOf = function() { return 2; }
</span><span class="cx">         return jsonObject.stringify(value);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var value = new String(&quot;fail&quot;);
</span><span class="cx">         value.toString = function() { return &quot;converted string&quot;; }
</span><span class="cx">         return jsonObject.stringify(value);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(true);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(false);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(new Date(0));
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({toJSON: Date.prototype.toJSON});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception TypeError: toISOString is not a function.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({toJSON: Date.prototype.toJSON, toISOString: function(){ return &quot;custom toISOString&quot;; }});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({toJSON: Date.prototype.toJSON, toISOString: function(){ return {}; }});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception TypeError: toISOString did not return a primitive value.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({toJSON: Date.prototype.toJSON, toISOString: function(){ throw &quot;An exception&quot;; }});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception An exception.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var d = new Date(0);
</span><span class="cx">         d.toISOString = null;
</span><span class="cx">         return jsonObject.stringify(d);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception TypeError: toISOString is not a function.
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var d = new Date(0);
</span><span class="cx">         d.toJSON = undefined;
</span><span class="cx">         return jsonObject.stringify(d);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({get Foo() { return &quot;bar&quot;; }});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({get Foo() { this.foo=&quot;wibble&quot;; return &quot;bar&quot;; }});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var count = 0;
</span><span class="cx">         jsonObject.stringify({get Foo() { count++; return &quot;bar&quot;; }});
</span><span class="cx">         return count;
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var count = 0;
</span><span class="cx">         return jsonObject.stringify({get Foo() { count++; delete this.bar; return &quot;bar&quot;; }, bar: &quot;wibble&quot;});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var count = 0;
</span><span class="cx">         return jsonObject.stringify({a:&quot;1&quot;, b:&quot;2&quot;, c:&quot;3&quot;, 5:4, 4:5, 2:6, 1:7});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var allString = true;
</span><span class="cx">         jsonObject.stringify({a:&quot;1&quot;, b:&quot;2&quot;, c:&quot;3&quot;, 5:4, 4:5, 2:6, 1:7}, function(k,v){allString = allString &amp;&amp; (typeof k == &quot;string&quot;); return v});
</span><span class="cx">         return allString;
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var allString = true;
</span><span class="cx">         jsonObject.stringify([1,2,3,4,5], function(k,v){allString = allString &amp;&amp; (typeof k == &quot;string&quot;); return v});
</span><span class="cx">         return allString;
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var allString = true;
</span><span class="cx">         var array = [];
</span><span class="cx">         return jsonObject.stringify({a:&quot;1&quot;, b:&quot;2&quot;, c:&quot;3&quot;, 5:4, 4:5, 2:6, 1:7}, array);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var allString = true;
</span><span class="cx">         var array = [&quot;a&quot;];
</span><span class="cx">         return jsonObject.stringify({get a(){return 1;array[1]=&quot;b&quot;;array[2]=&quot;c&quot;}, b:&quot;2&quot;, c:&quot;3&quot;}, array);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var allString = true;
</span><span class="cx">         var array = [{toString:function(){array[0]='a'; array[1]='c'; array[2]='b'; return 'a'}}];
</span><span class="cx">         return jsonObject.stringify(simpleObject, array);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var allString = true;
</span><span class="cx">         var array = [{toString:function(){array[0]='a'; array[1]='c'; array[2]='b'; return 'a'}}];
</span><span class="cx">         return jsonObject.stringify(simpleObjectWithProto, array);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var allString = true;
</span><span class="cx">         var array = [1, new Number(2), NaN, Infinity, -Infinity, new String(&quot;str&quot;)];
</span><span class="cx">         return jsonObject.stringify({&quot;1&quot;:&quot;1&quot;,&quot;2&quot;:&quot;2&quot;,&quot;NaN&quot;:&quot;NaN&quot;,&quot;Infinity&quot;:&quot;Infinity&quot;,&quot;-Infinity&quot;:&quot;-Infinity&quot;,&quot;str&quot;:&quot;str&quot;}, array);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var allString = true;
</span><span class="cx">         var array = [&quot;1&quot;,&quot;2&quot;,&quot;3&quot;];
</span><span class="cx">         return jsonObject.stringify({1:'a', 2:'b', 3:'c'}, array);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var allString = true;
</span><span class="cx">         var array = [&quot;1&quot;,&quot;2&quot;,&quot;3&quot;];
</span><span class="cx">         return jsonObject.stringify(simpleArray, array);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleArray, null, &quot;  &quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleArray, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleArray, null, &quot;ab&quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleArray, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObject, null, &quot;  &quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObject, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObject, null, &quot;ab&quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObject, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObject, null, 10);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObject, null, 11);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObject, null, &quot;          &quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObject, null, &quot;           &quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexArray, null, &quot;  &quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexArray, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexArray, null, &quot;ab&quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexArray, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexObject, null, &quot;  &quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexObject, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexObject, null, &quot;ab&quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexObject, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var allString = true;
</span><span class="cx">         var array = [&quot;1&quot;,&quot;2&quot;,&quot;3&quot;];
</span><span class="cx">         return jsonObject.stringify(simpleArrayWithProto, array);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleArrayWithProto, null, &quot;  &quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleArrayWithProto, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleArrayWithProto, null, &quot;ab&quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleArrayWithProto, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObjectWithProto, null, &quot;  &quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObjectWithProto, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObjectWithProto, null, &quot;ab&quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObjectWithProto, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObjectWithProto, null, 10);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObjectWithProto, null, 11);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObjectWithProto, null, &quot;          &quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(simpleObjectWithProto, null, &quot;           &quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexArrayWithProto, null, &quot;  &quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexArrayWithProto, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexArrayWithProto, null, &quot;ab&quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexArrayWithProto, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexObjectWithProto, null, &quot;  &quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexObjectWithProto, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexObjectWithProto, null, &quot;ab&quot;);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(complexObjectWithProto, null, 4);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">             return jsonObject.stringify(clientRect);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(objectWithSideEffectGetter);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(objectWithSideEffectGetter);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(objectWithSideEffectGetterAndProto);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(objectWithSideEffectGetterAndProto);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(arrayWithSideEffectGetter);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(arrayWithSideEffectGetterAndProto);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         replaceTracker = &quot;&quot;;
</span><span class="cx">         jsonObject.stringify([1,2,3,,,,4,5,6], replaceFunc);
</span><span class="cx">         return replaceTracker;
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         replaceTracker = &quot;&quot;;
</span><span class="cx">         jsonObject.stringify({a:&quot;a&quot;, b:&quot;b&quot;, c:&quot;c&quot;, 3: &quot;d&quot;, 2: &quot;e&quot;, 1: &quot;f&quot;}, replaceFunc);
</span><span class="cx">         return replaceTracker;
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var count = 0;
</span><span class="cx">         var array = [{toString:function(){count++; array[0]='a'; array[1]='c'; array[2]='b'; return 'a'}}];
</span><span class="cx">         jsonObject.stringify(simpleObject, array);
</span><span class="cx">         return count;
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var allString = true;
</span><span class="cx">         var array = [{toString:function(){array[0]='a'; array[1]='c'; array[2]='b'; return 'a'}}, 'b', 'c'];
</span><span class="cx">         return jsonObject.stringify(simpleObject, array);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var count = 0;
</span><span class="cx">         var array = [{toString:function(){count++; array[0]='a'; array[1]='c'; array[2]='b'; return 'a'}}, 'b', 'c'];
</span><span class="cx">         jsonObject.stringify(simpleObject, array);
</span><span class="cx">         return count;
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({a:&quot;1&quot;, get b() { this.a=&quot;foo&quot;; return &quot;getter&quot;; }, c:&quot;3&quot;});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({a:&quot;1&quot;, get b() { this.c=&quot;foo&quot;; return &quot;getter&quot;; }, c:&quot;3&quot;});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var setterCalled = false;
</span><span class="cx">         jsonObject.stringify({a:&quot;1&quot;, set b(s) { setterCalled = true; return &quot;setter&quot;; }, c:&quot;3&quot;});
</span><span class="cx">         return setterCalled;
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({a:&quot;1&quot;, get b(){ return &quot;getter&quot;; }, set b(s) { return &quot;setter&quot;; }, c:&quot;3&quot;});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(new Array(10));
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify([undefined,,null,0,false]);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({p1:undefined,p2:null,p3:0,p4:false});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         cycleTracker = &quot;&quot;;
</span><span class="cx">         return jsonObject.stringify(cyclicObject);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception TypeError: JSON.stringify cannot serialize cyclic structures..
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         cycleTracker = &quot;&quot;;
</span><span class="cx">         try { jsonObject.stringify(cyclicObject); } catch(e) { cycleTracker += &quot; -&gt; exception&quot; }
</span><span class="cx">         return cycleTracker;
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         cycleTracker = &quot;&quot;;
</span><span class="cx">         return jsonObject.stringify(cyclicArray);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) threw exception TypeError: JSON.stringify cannot serialize cyclic structures..
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         cycleTracker = &quot;&quot;;
</span><span class="cx">         try { jsonObject.stringify(cyclicArray); } catch(e) { cycleTracker += &quot; -&gt; exception&quot; }
</span><span class="cx">         return cycleTracker;
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i].expected
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         getterCalls = 0;
</span><span class="cx">         return jsonObject.stringify(magicObject) + &quot; :: getter calls = &quot; + getterCalls;
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(undefined);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(null);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({toJSON:function(){ return undefined; }});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({toJSON:function(){ return null; }});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify([{toJSON:function(){ return undefined; }}]);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify([{toJSON:function(){ return null; }}]);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({a:{toJSON:function(){ return undefined; }}});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({a:{toJSON:function(){ return null; }}});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({a:{toJSON:function(){ return function(){}; }}});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify({a:function(){}});
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var deepObject = {};
</span><span class="cx">         for (var i = 0; i &lt; 2048; i++)
</span><span class="cx">             deepObject = {next:deepObject};
</span><span class="cx">         return jsonObject.stringify(deepObject);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var deepArray = [];
</span><span class="cx">         for (var i = 0; i &lt; 2048; i++)
</span><span class="cx">             deepArray = [deepArray];
</span><span class="cx">         return jsonObject.stringify(deepArray);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var depth = 0;
</span><span class="cx">         function toDeepVirtualJSONObject() {
</span><span class="cx">             if (++depth &gt;= 2048)
</span><span class="lines">@@ -535,7 +535,7 @@
</span><span class="cx">         return jsonObject.stringify(toDeepVirtualJSONObject());
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         var depth = 0;
</span><span class="cx">         function toDeepVirtualJSONArray() {
</span><span class="cx">             if (++depth &gt;= 2048)
</span><span class="lines">@@ -546,7 +546,7 @@
</span><span class="cx">         }
</span><span class="cx">         return jsonObject.stringify(toDeepVirtualJSONArray());
</span><span class="cx">     }
</span><del>-function(jsonObject){
</del><ins>+function (jsonObject){
</ins><span class="cx">         return jsonObject.stringify(fullCharsetString);
</span><span class="cx">     }
</span><span class="cx"> PASS tests[i](nativeJSON) is tests[i](JSON)
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomdfgstrcatoverobjectsthenexitonitexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/dfg-strcat-over-objects-then-exit-on-it-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/dfg-strcat-over-objects-then-exit-on-it-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/dom/dfg-strcat-over-objects-then-exit-on-it-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -3,706 +3,706 @@
</span><span class="cx"> On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
-PASS bar() is &quot;function() { }&quot;
</del><ins>+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
+PASS bar() is &quot;function () { }&quot;
</ins><span class="cx"> PASS bar() is &quot;42&quot;
</span><span class="cx"> PASS bar() is &quot;42&quot;
</span><span class="cx"> PASS bar() is &quot;42&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomfunctionprototypeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/function-prototype-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/function-prototype-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/dom/function-prototype-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -3,7 +3,7 @@
</span><span class="cx"> On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-PASS actual is 'function() { }'
</del><ins>+PASS actual is 'function () { }'
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx"> 
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomfunctionprototypehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/function-prototype.html (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/function-prototype.html        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/dom/function-prototype.html        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -28,7 +28,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> var actual = &quot;&quot; + MyClass.runTest();
</span><del>-shouldBe(&quot;actual&quot;, &quot;'function() { }'&quot;);
</del><ins>+shouldBe(&quot;actual&quot;, &quot;'function () { }'&quot;);
</ins><span class="cx"> &lt;/script&gt;
</span><span class="cx"> &lt;script src=&quot;../../resources/js-test-post.js&quot;&gt;&lt;/script&gt;
</span><span class="cx"> &lt;/body&gt;
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomscripttestsdfgstrcatoverobjectsthenexitonitjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/script-tests/dfg-strcat-over-objects-then-exit-on-it.js (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/script-tests/dfg-strcat-over-objects-then-exit-on-it.js        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/dom/script-tests/dfg-strcat-over-objects-then-exit-on-it.js        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -12,7 +12,7 @@
</span><span class="cx"> 
</span><span class="cx"> var x = function() { };
</span><span class="cx"> 
</span><del>-var expected = &quot;\&quot;function() { }\&quot;&quot;;
</del><ins>+var expected = &quot;\&quot;function () { }\&quot;&quot;;
</ins><span class="cx"> var blah = this;
</span><span class="cx"> for (var i = 0; i &lt; 1000; ++i) {
</span><span class="cx">     blah[&quot;i&quot; + i] = i;
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomtoStringandvalueOfoverrideexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/toString-and-valueOf-override-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/toString-and-valueOf-override-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/dom/toString-and-valueOf-override-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -15,7 +15,7 @@
</span><span class="cx"> [span] : toString
</span><span class="cx"> String(span) : toString
</span><span class="cx"> String([span]) : toString
</span><del>-span.toString : function() { return &quot;toString&quot; }
</del><ins>+span.toString : function () { return &quot;toString&quot; }
</ins><span class="cx"> span.toString() (cached in variable) : toString
</span><span class="cx"> span.toString() : toString
</span><span class="cx"> [span].toString() : toString
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> [span] : valueOf
</span><span class="cx"> String(span) : valueOf
</span><span class="cx"> String([span]) : valueOf
</span><del>-span.toString : function() { return new Object(); }
</del><ins>+span.toString : function () { return new Object(); }
</ins><span class="cx"> span.toString() (cached in variable) : [object Object]
</span><span class="cx"> span.toString() : [object Object]
</span><span class="cx"> [span].toString() : valueOf
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> [span] : toString
</span><span class="cx"> String(span) : toString
</span><span class="cx"> String([span]) : toString
</span><del>-span.toString : function() { return 'toString'; }
</del><ins>+span.toString : function () { return 'toString'; }
</ins><span class="cx"> span.toString() (cached in variable) : toString
</span><span class="cx"> span.toString() : toString
</span><span class="cx"> [span].toString() : toString
</span><span class="lines">@@ -51,7 +51,7 @@
</span><span class="cx"> TypeError: No default value
</span><span class="cx"> TypeError: No default value
</span><span class="cx"> TypeError: No default value
</span><del>-span.toString : function() { return new Object(); }
</del><ins>+span.toString : function () { return new Object(); }
</ins><span class="cx"> span.toString() (cached in variable) : [object Object]
</span><span class="cx"> span.toString() : [object Object]
</span><span class="cx"> TypeError: No default value
</span><span class="lines">@@ -63,7 +63,7 @@
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><del>-span.toString : function() { throw &quot;Exception&quot;; }
</del><ins>+span.toString : function () { throw &quot;Exception&quot;; }
</ins><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx"> [span] : toString
</span><span class="cx"> String(span) : toString
</span><span class="cx"> String([span]) : toString
</span><del>-span.toString : function() { return 'toString'; }
</del><ins>+span.toString : function () { return 'toString'; }
</ins><span class="cx"> span.toString() (cached in variable) : toString
</span><span class="cx"> span.toString() : toString
</span><span class="cx"> [span].toString() : toString
</span><span class="lines">@@ -87,7 +87,7 @@
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><del>-span.toString : function() { throw &quot;Exception&quot;; }
</del><ins>+span.toString : function () { throw &quot;Exception&quot;; }
</ins><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="lines">@@ -112,7 +112,7 @@
</span><span class="cx"> [window] : toString
</span><span class="cx"> String(window) : toString
</span><span class="cx"> String([window]) : toString
</span><del>-window.toString : function() { return &quot;toString&quot; }
</del><ins>+window.toString : function () { return &quot;toString&quot; }
</ins><span class="cx"> window.toString() (cached in variable) : toString
</span><span class="cx"> window.toString() : toString
</span><span class="cx"> [window].toString() : toString
</span><span class="lines">@@ -124,7 +124,7 @@
</span><span class="cx"> [window] : valueOf
</span><span class="cx"> String(window) : valueOf
</span><span class="cx"> String([window]) : valueOf
</span><del>-window.toString : function() { return new Object(); }
</del><ins>+window.toString : function () { return new Object(); }
</ins><span class="cx"> window.toString() (cached in variable) : [object Object]
</span><span class="cx"> window.toString() : [object Object]
</span><span class="cx"> [window].toString() : valueOf
</span><span class="lines">@@ -136,7 +136,7 @@
</span><span class="cx"> [window] : toString
</span><span class="cx"> String(window) : toString
</span><span class="cx"> String([window]) : toString
</span><del>-window.toString : function() { return 'toString'; }
</del><ins>+window.toString : function () { return 'toString'; }
</ins><span class="cx"> window.toString() (cached in variable) : toString
</span><span class="cx"> window.toString() : toString
</span><span class="cx"> [window].toString() : toString
</span><span class="lines">@@ -148,7 +148,7 @@
</span><span class="cx"> TypeError: No default value
</span><span class="cx"> TypeError: No default value
</span><span class="cx"> TypeError: No default value
</span><del>-window.toString : function() { return new Object(); }
</del><ins>+window.toString : function () { return new Object(); }
</ins><span class="cx"> window.toString() (cached in variable) : [object Object]
</span><span class="cx"> window.toString() : [object Object]
</span><span class="cx"> TypeError: No default value
</span><span class="lines">@@ -160,7 +160,7 @@
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><del>-window.toString : function() { throw &quot;Exception&quot;; }
</del><ins>+window.toString : function () { throw &quot;Exception&quot;; }
</ins><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="lines">@@ -172,7 +172,7 @@
</span><span class="cx"> [window] : toString
</span><span class="cx"> String(window) : toString
</span><span class="cx"> String([window]) : toString
</span><del>-window.toString : function() { return 'toString'; }
</del><ins>+window.toString : function () { return 'toString'; }
</ins><span class="cx"> window.toString() (cached in variable) : toString
</span><span class="cx"> window.toString() : toString
</span><span class="cx"> [window].toString() : toString
</span><span class="lines">@@ -184,7 +184,7 @@
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><del>-window.toString : function() { throw &quot;Exception&quot;; }
</del><ins>+window.toString : function () { throw &quot;Exception&quot;; }
</ins><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="lines">@@ -209,7 +209,7 @@
</span><span class="cx"> [Navigator] : toString
</span><span class="cx"> String(Navigator) : toString
</span><span class="cx"> String([Navigator]) : toString
</span><del>-Navigator.toString : function() { return &quot;toString&quot; }
</del><ins>+Navigator.toString : function () { return &quot;toString&quot; }
</ins><span class="cx"> Navigator.toString() (cached in variable) : toString
</span><span class="cx"> Navigator.toString() : toString
</span><span class="cx"> [Navigator].toString() : toString
</span><span class="lines">@@ -221,7 +221,7 @@
</span><span class="cx"> [Navigator] : valueOf
</span><span class="cx"> String(Navigator) : valueOf
</span><span class="cx"> String([Navigator]) : valueOf
</span><del>-Navigator.toString : function() { return new Object(); }
</del><ins>+Navigator.toString : function () { return new Object(); }
</ins><span class="cx"> Navigator.toString() (cached in variable) : [object Object]
</span><span class="cx"> Navigator.toString() : [object Object]
</span><span class="cx"> [Navigator].toString() : valueOf
</span><span class="lines">@@ -233,7 +233,7 @@
</span><span class="cx"> [Navigator] : toString
</span><span class="cx"> String(Navigator) : toString
</span><span class="cx"> String([Navigator]) : toString
</span><del>-Navigator.toString : function() { return 'toString'; }
</del><ins>+Navigator.toString : function () { return 'toString'; }
</ins><span class="cx"> Navigator.toString() (cached in variable) : toString
</span><span class="cx"> Navigator.toString() : toString
</span><span class="cx"> [Navigator].toString() : toString
</span><span class="lines">@@ -245,7 +245,7 @@
</span><span class="cx"> TypeError: No default value
</span><span class="cx"> TypeError: No default value
</span><span class="cx"> TypeError: No default value
</span><del>-Navigator.toString : function() { return new Object(); }
</del><ins>+Navigator.toString : function () { return new Object(); }
</ins><span class="cx"> Navigator.toString() (cached in variable) : [object Object]
</span><span class="cx"> Navigator.toString() : [object Object]
</span><span class="cx"> TypeError: No default value
</span><span class="lines">@@ -257,7 +257,7 @@
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><del>-Navigator.toString : function() { throw &quot;Exception&quot;; }
</del><ins>+Navigator.toString : function () { throw &quot;Exception&quot;; }
</ins><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="lines">@@ -269,7 +269,7 @@
</span><span class="cx"> [Navigator] : toString
</span><span class="cx"> String(Navigator) : toString
</span><span class="cx"> String([Navigator]) : toString
</span><del>-Navigator.toString : function() { return 'toString'; }
</del><ins>+Navigator.toString : function () { return 'toString'; }
</ins><span class="cx"> Navigator.toString() (cached in variable) : toString
</span><span class="cx"> Navigator.toString() : toString
</span><span class="cx"> [Navigator].toString() : toString
</span><span class="lines">@@ -281,7 +281,7 @@
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><del>-Navigator.toString : function() { throw &quot;Exception&quot;; }
</del><ins>+Navigator.toString : function () { throw &quot;Exception&quot;; }
</ins><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="lines">@@ -306,7 +306,7 @@
</span><span class="cx"> [History] : toString
</span><span class="cx"> String(History) : toString
</span><span class="cx"> String([History]) : toString
</span><del>-History.toString : function() { return &quot;toString&quot; }
</del><ins>+History.toString : function () { return &quot;toString&quot; }
</ins><span class="cx"> History.toString() (cached in variable) : toString
</span><span class="cx"> History.toString() : toString
</span><span class="cx"> [History].toString() : toString
</span><span class="lines">@@ -318,7 +318,7 @@
</span><span class="cx"> [History] : valueOf
</span><span class="cx"> String(History) : valueOf
</span><span class="cx"> String([History]) : valueOf
</span><del>-History.toString : function() { return new Object(); }
</del><ins>+History.toString : function () { return new Object(); }
</ins><span class="cx"> History.toString() (cached in variable) : [object Object]
</span><span class="cx"> History.toString() : [object Object]
</span><span class="cx"> [History].toString() : valueOf
</span><span class="lines">@@ -330,7 +330,7 @@
</span><span class="cx"> [History] : toString
</span><span class="cx"> String(History) : toString
</span><span class="cx"> String([History]) : toString
</span><del>-History.toString : function() { return 'toString'; }
</del><ins>+History.toString : function () { return 'toString'; }
</ins><span class="cx"> History.toString() (cached in variable) : toString
</span><span class="cx"> History.toString() : toString
</span><span class="cx"> [History].toString() : toString
</span><span class="lines">@@ -342,7 +342,7 @@
</span><span class="cx"> TypeError: No default value
</span><span class="cx"> TypeError: No default value
</span><span class="cx"> TypeError: No default value
</span><del>-History.toString : function() { return new Object(); }
</del><ins>+History.toString : function () { return new Object(); }
</ins><span class="cx"> History.toString() (cached in variable) : [object Object]
</span><span class="cx"> History.toString() : [object Object]
</span><span class="cx"> TypeError: No default value
</span><span class="lines">@@ -354,7 +354,7 @@
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><del>-History.toString : function() { throw &quot;Exception&quot;; }
</del><ins>+History.toString : function () { throw &quot;Exception&quot;; }
</ins><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="lines">@@ -366,7 +366,7 @@
</span><span class="cx"> [History] : toString
</span><span class="cx"> String(History) : toString
</span><span class="cx"> String([History]) : toString
</span><del>-History.toString : function() { return 'toString'; }
</del><ins>+History.toString : function () { return 'toString'; }
</ins><span class="cx"> History.toString() (cached in variable) : toString
</span><span class="cx"> History.toString() : toString
</span><span class="cx"> [History].toString() : toString
</span><span class="lines">@@ -378,7 +378,7 @@
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><del>-History.toString : function() { throw &quot;Exception&quot;; }
</del><ins>+History.toString : function () { throw &quot;Exception&quot;; }
</ins><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="lines">@@ -403,7 +403,7 @@
</span><span class="cx"> [Selection] : toString
</span><span class="cx"> String(Selection) : toString
</span><span class="cx"> String([Selection]) : toString
</span><del>-Selection.toString : function() { return &quot;toString&quot; }
</del><ins>+Selection.toString : function () { return &quot;toString&quot; }
</ins><span class="cx"> Selection.toString() (cached in variable) : toString
</span><span class="cx"> Selection.toString() : toString
</span><span class="cx"> [Selection].toString() : toString
</span><span class="lines">@@ -415,7 +415,7 @@
</span><span class="cx"> [Selection] : valueOf
</span><span class="cx"> String(Selection) : valueOf
</span><span class="cx"> String([Selection]) : valueOf
</span><del>-Selection.toString : function() { return new Object(); }
</del><ins>+Selection.toString : function () { return new Object(); }
</ins><span class="cx"> Selection.toString() (cached in variable) : [object Object]
</span><span class="cx"> Selection.toString() : [object Object]
</span><span class="cx"> [Selection].toString() : valueOf
</span><span class="lines">@@ -427,7 +427,7 @@
</span><span class="cx"> [Selection] : toString
</span><span class="cx"> String(Selection) : toString
</span><span class="cx"> String([Selection]) : toString
</span><del>-Selection.toString : function() { return 'toString'; }
</del><ins>+Selection.toString : function () { return 'toString'; }
</ins><span class="cx"> Selection.toString() (cached in variable) : toString
</span><span class="cx"> Selection.toString() : toString
</span><span class="cx"> [Selection].toString() : toString
</span><span class="lines">@@ -439,7 +439,7 @@
</span><span class="cx"> TypeError: No default value
</span><span class="cx"> TypeError: No default value
</span><span class="cx"> TypeError: No default value
</span><del>-Selection.toString : function() { return new Object(); }
</del><ins>+Selection.toString : function () { return new Object(); }
</ins><span class="cx"> Selection.toString() (cached in variable) : [object Object]
</span><span class="cx"> Selection.toString() : [object Object]
</span><span class="cx"> TypeError: No default value
</span><span class="lines">@@ -451,7 +451,7 @@
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><del>-Selection.toString : function() { throw &quot;Exception&quot;; }
</del><ins>+Selection.toString : function () { throw &quot;Exception&quot;; }
</ins><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="lines">@@ -463,7 +463,7 @@
</span><span class="cx"> [Selection] : toString
</span><span class="cx"> String(Selection) : toString
</span><span class="cx"> String([Selection]) : toString
</span><del>-Selection.toString : function() { return 'toString'; }
</del><ins>+Selection.toString : function () { return 'toString'; }
</ins><span class="cx"> Selection.toString() (cached in variable) : toString
</span><span class="cx"> Selection.toString() : toString
</span><span class="cx"> [Selection].toString() : toString
</span><span class="lines">@@ -475,7 +475,7 @@
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span><del>-Selection.toString : function() { throw &quot;Exception&quot;; }
</del><ins>+Selection.toString : function () { throw &quot;Exception&quot;; }
</ins><span class="cx"> Exception
</span><span class="cx"> Exception
</span><span class="cx"> Exception
</span></span></pre></div>
<a id="trunkLayoutTestsjskdelvalexceptionsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/kde/lval-exceptions-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/kde/lval-exceptions-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/kde/lval-exceptions-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -3,14 +3,14 @@
</span><span class="cx"> On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-PASS function() { a = x; } threw exception ReferenceError: Can't find variable: x.
-PASS function() { x += &quot;foo&quot;; } threw exception ReferenceError: Can't find variable: x.
-PASS function() { b = a.x; } did not throw an exception
-PASS function() { b = a['x']; } did not throw an exception
-PASS function() { a['x'] += 'baz'; } did not throw an exception
</del><ins>+PASS function () { a = x; } threw exception ReferenceError: Can't find variable: x.
+PASS function () { x += &quot;foo&quot;; } threw exception ReferenceError: Can't find variable: x.
+PASS function () { b = a.x; } did not throw an exception
+PASS function () { b = a['x']; } did not throw an exception
+PASS function () { a['x'] += 'baz'; } did not throw an exception
</ins><span class="cx"> PASS a['x'] is &quot;undefinedbaz&quot;
</span><del>-PASS function() { b = a.y; } did not throw an exception
-PASS function() { a.y += 'glarch'; } did not throw an exception
</del><ins>+PASS function () { b = a.y; } did not throw an exception
+PASS function () { a.y += 'glarch'; } did not throw an exception
</ins><span class="cx"> PASS a['y'] is &quot;undefinedglarch&quot;
</span><span class="cx"> PASS successfullyParsed is true
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsjsobjectliteralcomputedmethodsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/object-literal-computed-methods-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/object-literal-computed-methods-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/object-literal-computed-methods-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -8,7 +8,7 @@
</span><span class="cx"> PASS typeof o.foo is 'function'
</span><span class="cx"> PASS o.foo.length is 0
</span><span class="cx"> PASS o.foo.name is ''
</span><del>-FAIL o.foo.toString() should be function () { return 10; }. Was () { return 10; }.
</del><ins>+PASS o.foo.toString() is 'function () { return 10; }'
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(o, 'foo').value is o.foo
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(o, 'foo').enumerable is true
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(o, 'foo').configurable is true
</span><span class="lines">@@ -18,7 +18,7 @@
</span><span class="cx"> PASS typeof o.add is 'function'
</span><span class="cx"> PASS o.add.length is 2
</span><span class="cx"> PASS o.add.name is ''
</span><del>-FAIL o.add.toString() should be function (x, y) { return x + y; }. Was (x, y) { return x + y; }.
</del><ins>+PASS o.add.toString() is 'function (x, y) { return x + y; }'
</ins><span class="cx"> PASS o = { [ (function() { return 'method'; })() ](x, y) { return x + y; } }; did not throw exception.
</span><span class="cx"> PASS o.method(142, -10) is 132
</span><span class="cx"> PASS o = { [10*10]() { return 100; } }; did not throw exception.
</span></span></pre></div>
<a id="trunkLayoutTestsjsobjectliteralmethodsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/object-literal-methods-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/object-literal-methods-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/object-literal-methods-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -8,7 +8,7 @@
</span><span class="cx"> PASS typeof o.foo is 'function'
</span><span class="cx"> PASS o.foo.length is 0
</span><span class="cx"> PASS o.foo.name is 'foo'
</span><del>-FAIL o.foo.toString() should be function foo() { return 10; }. Was () { return 10; }.
</del><ins>+PASS o.foo.toString() is 'function foo() { return 10; }'
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(o, 'foo').value is o.foo
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(o, 'foo').enumerable is true
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(o, 'foo').configurable is true
</span><span class="lines">@@ -18,7 +18,7 @@
</span><span class="cx"> PASS typeof o.add is 'function'
</span><span class="cx"> PASS o.add.length is 2
</span><span class="cx"> PASS o.add.name is 'add'
</span><del>-FAIL o.add.toString() should be function add(x, y) { return x + y; }. Was (x, y) { return x + y; }.
</del><ins>+PASS o.add.toString() is 'function add(x, y) { return x + y; }'
</ins><span class="cx"> PASS o = { 'add'(a, b, c) { return a + b + c; } }; did not throw exception.
</span><span class="cx"> PASS o.add(1, 2, 3) is 6
</span><span class="cx"> PASS o = { 'a(d)d'(a, b, c) { return a + b + c; } }; did not throw exception.
</span></span></pre></div>
<a id="trunkLayoutTestsjsscripttestsdfgredundantloadofcapturedvariableprovenconstantjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/script-tests/dfg-redundant-load-of-captured-variable-proven-constant.js (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/script-tests/dfg-redundant-load-of-captured-variable-proven-constant.js        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/script-tests/dfg-redundant-load-of-captured-variable-proven-constant.js        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -18,8 +18,8 @@
</span><span class="cx"> for (var i = 0; i &lt; 100; ++i) {
</span><span class="cx">     var expected;
</span><span class="cx">     if (i % 2)
</span><del>-        expected = &quot;\&quot;function() { return x; }\&quot;&quot;;
</del><ins>+        expected = &quot;\&quot;function () { return x; }\&quot;&quot;;
</ins><span class="cx">     else
</span><del>-        expected = &quot;\&quot;function() { return 32; },function() { return 32; }\&quot;&quot;;
</del><ins>+        expected = &quot;\&quot;function () { return 32; },function () { return 32; }\&quot;&quot;;
</ins><span class="cx">     shouldBe(&quot;\&quot;\&quot; + foo(o, i % 2)&quot;, expected);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestsjsscripttestsdfgresolveglobalspecificdictionaryjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/script-tests/dfg-resolve-global-specific-dictionary.js (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/script-tests/dfg-resolve-global-specific-dictionary.js        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/js/script-tests/dfg-resolve-global-specific-dictionary.js        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -8,7 +8,7 @@
</span><span class="cx"> 
</span><span class="cx"> x = function() { };
</span><span class="cx"> 
</span><del>-var expected = &quot;\&quot;function() { }\&quot;&quot;;
</del><ins>+var expected = &quot;\&quot;function () { }\&quot;&quot;;
</ins><span class="cx"> 
</span><span class="cx"> for (var i = 0; i &lt; 1000; ++i) {
</span><span class="cx">     eval(&quot;i&quot; + i + &quot; = &quot; + i);
</span></span></pre></div>
<a id="trunkLayoutTestsstoragedomstoragelocalstoragestringconversionexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/storage/domstorage/localstorage/string-conversion-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/storage/domstorage/localstorage/string-conversion-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/storage/domstorage/localstorage/string-conversion-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -3,13 +3,13 @@
</span><span class="cx"> Testing implicit setters
</span><span class="cx"> Type/value for null is string/null
</span><span class="cx"> Type/value for 0 is string/0
</span><del>-Type/value for function(){} is string/function(){}
</del><ins>+Type/value for function(){} is string/function (){}
</ins><span class="cx"> Testing explicit setters
</span><span class="cx"> Type/value for null is string/null
</span><span class="cx"> Type/value for 0 is string/0
</span><del>-Type/value for function(){} is string/function(){}
</del><ins>+Type/value for function(){} is string/function (){}
</ins><span class="cx"> Testing index setters
</span><span class="cx"> Type/value for null is string/null
</span><span class="cx"> Type/value for 0 is string/0
</span><del>-Type/value for function(){} is string/function(){}
</del><ins>+Type/value for function(){} is string/function (){}
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsstoragedomstoragesessionstoragestringconversionexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/storage/domstorage/sessionstorage/string-conversion-expected.txt (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/storage/domstorage/sessionstorage/string-conversion-expected.txt        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/LayoutTests/storage/domstorage/sessionstorage/string-conversion-expected.txt        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -3,13 +3,13 @@
</span><span class="cx"> Testing implicit setters
</span><span class="cx"> Type/value for null is string/null
</span><span class="cx"> Type/value for 0 is string/0
</span><del>-Type/value for function(){} is string/function(){}
</del><ins>+Type/value for function(){} is string/function (){}
</ins><span class="cx"> Testing explicit setters
</span><span class="cx"> Type/value for null is string/null
</span><span class="cx"> Type/value for 0 is string/0
</span><del>-Type/value for function(){} is string/function(){}
</del><ins>+Type/value for function(){} is string/function (){}
</ins><span class="cx"> Testing index setters
</span><span class="cx"> Type/value for null is string/null
</span><span class="cx"> Type/value for 0 is string/0
</span><del>-Type/value for function(){} is string/function(){}
</del><ins>+Type/value for function(){} is string/function (){}
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/Source/JavaScriptCore/ChangeLog        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -1,3 +1,35 @@
</span><ins>+2015-03-24  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        ES6: Object Literal Methods toString is missing method name
+        https://bugs.webkit.org/show_bug.cgi?id=142992
+
+        Reviewed by Geoffrey Garen.
+
+        Always stringify functions in the pattern:
+
+          &quot;function &quot; + &lt;function name&gt; + &lt;text from opening parenthesis to closing brace&gt;.
+
+        * runtime/FunctionPrototype.cpp:
+        (JSC::functionProtoFuncToString):
+        Update the path that was not stringifying in this pattern.
+
+        * bytecode/UnlinkedCodeBlock.cpp:
+        (JSC::UnlinkedFunctionExecutable::UnlinkedFunctionExecutable):
+        * bytecode/UnlinkedCodeBlock.h:
+        (JSC::UnlinkedFunctionExecutable::parametersStartOffset):
+        * parser/Nodes.h:
+        * runtime/Executable.cpp:
+        (JSC::FunctionExecutable::FunctionExecutable):
+        * runtime/Executable.h:
+        (JSC::FunctionExecutable::parametersStartOffset):
+        Pass the already known function parameter opening parenthesis
+        start offset through to the FunctionExecutable. 
+
+        * tests/mozilla/js1_5/Scope/regress-185485.js:
+        (with.g):
+        Add back original space in this test that was removed by r181810
+        now that we have the space again in stringification.
+
</ins><span class="cx"> 2015-03-24  Michael Saboff  &lt;msaboff@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         REGRESSION (172175-172177): Change in for...in processing causes properties added in loop to be enumerated
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorebytecodeUnlinkedCodeBlockcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -102,6 +102,7 @@
</span><span class="cx">     , m_unlinkedBodyEndColumn(m_lineCount ? node-&gt;endColumn() : node-&gt;endColumn() - node-&gt;startColumn())
</span><span class="cx">     , m_startOffset(node-&gt;source().startOffset() - source.startOffset())
</span><span class="cx">     , m_sourceLength(node-&gt;source().length())
</span><ins>+    , m_parametersStartOffset(node-&gt;parametersStart())
</ins><span class="cx">     , m_typeProfilingStartOffset(node-&gt;functionKeywordStart())
</span><span class="cx">     , m_typeProfilingEndOffset(node-&gt;startStartOffset() + node-&gt;source().length() - 1)
</span><span class="cx">     , m_features(0)
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorebytecodeUnlinkedCodeBlockh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -128,6 +128,7 @@
</span><span class="cx">     unsigned unlinkedBodyEndColumn() const { return m_unlinkedBodyEndColumn; }
</span><span class="cx">     unsigned startOffset() const { return m_startOffset; }
</span><span class="cx">     unsigned sourceLength() { return m_sourceLength; }
</span><ins>+    unsigned parametersStartOffset() const { return m_parametersStartOffset; }
</ins><span class="cx">     unsigned typeProfilingStartOffset() const { return m_typeProfilingStartOffset; }
</span><span class="cx">     unsigned typeProfilingEndOffset() const { return m_typeProfilingEndOffset; }
</span><span class="cx"> 
</span><span class="lines">@@ -183,6 +184,7 @@
</span><span class="cx">     unsigned m_unlinkedBodyEndColumn;
</span><span class="cx">     unsigned m_startOffset;
</span><span class="cx">     unsigned m_sourceLength;
</span><ins>+    unsigned m_parametersStartOffset;
</ins><span class="cx">     unsigned m_typeProfilingStartOffset;
</span><span class="cx">     unsigned m_typeProfilingEndOffset;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreparserNodesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/parser/Nodes.h (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/parser/Nodes.h        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/Source/JavaScriptCore/parser/Nodes.h        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -1581,6 +1581,7 @@
</span><span class="cx"> 
</span><span class="cx">         int functionNameStart() const { return m_functionNameStart; }
</span><span class="cx">         int functionKeywordStart() const { return m_functionKeywordStart; }
</span><ins>+        int parametersStart() const { return m_parametersStart; }
</ins><span class="cx">         unsigned startColumn() const { return m_startColumn; }
</span><span class="cx">         unsigned endColumn() const { return m_endColumn; }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeExecutablecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/Executable.cpp (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/Executable.cpp        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/Source/JavaScriptCore/runtime/Executable.cpp        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -408,6 +408,7 @@
</span><span class="cx">     ASSERT(endColumn != UINT_MAX);
</span><span class="cx">     m_startColumn = startColumn;
</span><span class="cx">     m_endColumn = endColumn;
</span><ins>+    m_parametersStartOffset = unlinkedExecutable-&gt;parametersStartOffset();
</ins><span class="cx">     m_typeProfilingStartOffset = unlinkedExecutable-&gt;typeProfilingStartOffset();
</span><span class="cx">     m_typeProfilingEndOffset = unlinkedExecutable-&gt;typeProfilingEndOffset();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeExecutableh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/Executable.h (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/Executable.h        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/Source/JavaScriptCore/runtime/Executable.h        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -634,7 +634,9 @@
</span><span class="cx">     {
</span><span class="cx">         return Structure::create(vm, globalObject, proto, TypeInfo(FunctionExecutableType, StructureFlags), info());
</span><span class="cx">     }
</span><del>-        
</del><ins>+
+    unsigned parametersStartOffset() const { return m_parametersStartOffset; }
+
</ins><span class="cx">     DECLARE_INFO;
</span><span class="cx">         
</span><span class="cx">     void unlinkCalls();
</span><span class="lines">@@ -663,6 +665,7 @@
</span><span class="cx">     RefPtr&lt;FunctionCodeBlock&gt; m_codeBlockForCall;
</span><span class="cx">     RefPtr&lt;FunctionCodeBlock&gt; m_codeBlockForConstruct;
</span><span class="cx">     RefPtr&lt;TypeSet&gt; m_returnStatementTypeSet;
</span><ins>+    unsigned m_parametersStartOffset;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> inline void ExecutableBase::clearCodeVirtual(ExecutableBase* executable)
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeFunctionPrototypecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/FunctionPrototype.cpp (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/FunctionPrototype.cpp        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/Source/JavaScriptCore/runtime/FunctionPrototype.cpp        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -89,9 +89,9 @@
</span><span class="cx"> 
</span><span class="cx">         FunctionExecutable* executable = function-&gt;jsExecutable();
</span><span class="cx">         String source = executable-&gt;source().provider()-&gt;getRange(
</span><del>-            executable-&gt;typeProfilingStartOffset(),
</del><ins>+            executable-&gt;parametersStartOffset(),
</ins><span class="cx">             executable-&gt;typeProfilingEndOffset() + 1); // Type profiling end offset is the character before the '}'.
</span><del>-        return JSValue::encode(jsMakeNontrivialString(exec, source));
</del><ins>+        return JSValue::encode(jsMakeNontrivialString(exec, &quot;function &quot;, function-&gt;name(exec), source));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (thisValue.inherits(InternalFunction::info())) {
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoretestsmozillajs1_5Scoperegress185485js"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/tests/mozilla/js1_5/Scope/regress-185485.js (181900 => 181901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/tests/mozilla/js1_5/Scope/regress-185485.js        2015-03-24 19:56:34 UTC (rev 181900)
+++ trunk/Source/JavaScriptCore/tests/mozilla/js1_5/Scope/regress-185485.js        2015-03-24 20:07:26 UTC (rev 181901)
</span><span class="lines">@@ -119,7 +119,7 @@
</span><span class="cx">  */
</span><span class="cx"> with (x)
</span><span class="cx"> {
</span><del>-  var g = function () {}
</del><ins>+  var g = function() {}
</ins><span class="cx"> }
</span><span class="cx"> status = inSection(5);
</span><span class="cx"> actual = x.g.toString();
</span></span></pre>
</div>
</div>

</body>
</html>