<!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>[215234] 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/215234">215234</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2017-04-11 09:38:43 -0700 (Tue, 11 Apr 2017)</dd>
</dl>
<h3>Log Message</h3>
<pre>test262: test262/test/built-ins/Array/S15.4.3_A2.2.js
https://bugs.webkit.org/show_bug.cgi?id=170652
Patch by Joseph Pecoraro <pecoraro@apple.com> on 2017-04-11
Reviewed by Michael Saboff.
JSTests:
* stress/native-constructors-length.js: Added.
(assertLengthDescriptorAttributes):
Add a quick test for the length properties of all native constructors.
* ChakraCore/test/es5/enumerable.baseline-jsc:
Rebaseline expectations for this test.
* test262.yaml:
Source/JavaScriptCore:
* runtime/ArrayConstructor.cpp:
(JSC::ArrayConstructor::finishCreation):
* runtime/BooleanConstructor.cpp:
(JSC::BooleanConstructor::finishCreation):
* runtime/DateConstructor.cpp:
(JSC::DateConstructor::finishCreation):
* runtime/FunctionConstructor.cpp:
(JSC::FunctionConstructor::finishCreation):
* runtime/JSArrayBufferConstructor.cpp:
(JSC::JSArrayBufferConstructor::finishCreation):
* runtime/NumberConstructor.cpp:
(JSC::NumberConstructor::finishCreation):
* runtime/ObjectConstructor.cpp:
(JSC::ObjectConstructor::finishCreation):
* runtime/RegExpConstructor.cpp:
(JSC::RegExpConstructor::finishCreation):
* runtime/StringConstructor.cpp:
(JSC::StringConstructor::finishCreation):
* runtime/SymbolConstructor.cpp:
(JSC::SymbolConstructor::finishCreation):
Ensure the "length" property on these native constructors is configurable (deletable).
LayoutTests:
* ietestcenter/Javascript/15.2.3.3-4-186-expected.txt:
* ietestcenter/Javascript/15.2.3.3-4-191-expected.txt:
* ietestcenter/Javascript/15.2.3.3-4-194-expected.txt:
* ietestcenter/Javascript/15.2.3.3-4-201-expected.txt:
* ietestcenter/Javascript/15.3.3.2-1-expected.txt:
* sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.3/S15.4.3_A2.2-expected.txt:
* sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.5/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T2-expected.txt:
These tests expected the opposite, they are now out of date.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkJSTestsChakraCoretestes5enumerablebaselinejsc">trunk/JSTests/ChakraCore/test/es5/enumerable.baseline-jsc</a></li>
<li><a href="#trunkJSTestsChangeLog">trunk/JSTests/ChangeLog</a></li>
<li><a href="#trunkJSTeststest262yaml">trunk/JSTests/test262.yaml</a></li>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsietestcenterJavascript152334186expectedtxt">trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-186-expected.txt</a></li>
<li><a href="#trunkLayoutTestsietestcenterJavascript152334191expectedtxt">trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-191-expected.txt</a></li>
<li><a href="#trunkLayoutTestsietestcenterJavascript152334194expectedtxt">trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-194-expected.txt</a></li>
<li><a href="#trunkLayoutTestsietestcenterJavascript152334201expectedtxt">trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-201-expected.txt</a></li>
<li><a href="#trunkLayoutTestsietestcenterJavascript153321expectedtxt">trunk/LayoutTests/ietestcenter/Javascript/15.3.3.2-1-expected.txt</a></li>
<li><a href="#trunkLayoutTestssputnikConformance15_Native_Objects154_Array1543S1543_A22expectedtxt">trunk/LayoutTests/sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.3/S15.4.3_A2.2-expected.txt</a></li>
<li><a href="#trunkLayoutTestssputnikConformance15_Native_Objects159_Date159515951_DateprototypeconstructorS15951_A3_T2expectedtxt">trunk/LayoutTests/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.5/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T2-expected.txt</a></li>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeArrayConstructorcpp">trunk/Source/JavaScriptCore/runtime/ArrayConstructor.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeAsyncFunctionConstructorcpp">trunk/Source/JavaScriptCore/runtime/AsyncFunctionConstructor.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeBooleanConstructorcpp">trunk/Source/JavaScriptCore/runtime/BooleanConstructor.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeDateConstructorcpp">trunk/Source/JavaScriptCore/runtime/DateConstructor.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeFunctionConstructorcpp">trunk/Source/JavaScriptCore/runtime/FunctionConstructor.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeGeneratorFunctionConstructorcpp">trunk/Source/JavaScriptCore/runtime/GeneratorFunctionConstructor.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeJSArrayBufferConstructorcpp">trunk/Source/JavaScriptCore/runtime/JSArrayBufferConstructor.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeNumberConstructorcpp">trunk/Source/JavaScriptCore/runtime/NumberConstructor.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeObjectConstructorcpp">trunk/Source/JavaScriptCore/runtime/ObjectConstructor.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeRegExpConstructorcpp">trunk/Source/JavaScriptCore/runtime/RegExpConstructor.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeStringConstructorcpp">trunk/Source/JavaScriptCore/runtime/StringConstructor.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeSymbolConstructorcpp">trunk/Source/JavaScriptCore/runtime/SymbolConstructor.cpp</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkJSTestsstressnativeconstructorslengthjs">trunk/JSTests/stress/native-constructors-length.js</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkJSTestsChakraCoretestes5enumerablebaselinejsc"></a>
<div class="modfile"><h4>Modified: trunk/JSTests/ChakraCore/test/es5/enumerable.baseline-jsc (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/ChakraCore/test/es5/enumerable.baseline-jsc        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/JSTests/ChakraCore/test/es5/enumerable.baseline-jsc        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -195,20 +195,20 @@
</span><span class="cx"> value:2
</span><span class="cx"> writable:false
</span><span class="cx"> enumerable:false
</span><del>-configurable:false
</del><ins>+configurable:true
</ins><span class="cx"> value:1
</span><span class="cx"> writable:false
</span><span class="cx"> enumerable:false
</span><del>-configurable:false
</del><ins>+configurable:true
</ins><span class="cx"> value:1
</span><span class="cx"> writable:false
</span><span class="cx"> enumerable:false
</span><del>-configurable:false
</del><ins>+configurable:true
</ins><span class="cx"> value:1
</span><span class="cx"> writable:false
</span><span class="cx"> enumerable:false
</span><del>-configurable:false
</del><ins>+configurable:true
</ins><span class="cx"> value:1
</span><span class="cx"> writable:false
</span><span class="cx"> enumerable:false
</span><del>-configurable:false
</del><ins>+configurable:true
</ins></span></pre></div>
<a id="trunkJSTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/JSTests/ChangeLog (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/ChangeLog        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/JSTests/ChangeLog        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -1,3 +1,19 @@
</span><ins>+2017-04-11 Joseph Pecoraro <pecoraro@apple.com>
+
+ test262: test262/test/built-ins/Array/S15.4.3_A2.2.js
+ https://bugs.webkit.org/show_bug.cgi?id=170652
+
+ Reviewed by Michael Saboff.
+
+ * stress/native-constructors-length.js: Added.
+ (assertLengthDescriptorAttributes):
+ Add a quick test for the length properties of all native constructors.
+
+ * ChakraCore/test/es5/enumerable.baseline-jsc:
+ Rebaseline expectations for this test.
+
+ * test262.yaml:
+
</ins><span class="cx"> 2017-04-10 Keith Miller <keith_miller@apple.com>
</span><span class="cx">
</span><span class="cx"> WebAssembly: Update spec tests
</span></span></pre></div>
<a id="trunkJSTestsstressnativeconstructorslengthjs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/stress/native-constructors-length.js (0 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/stress/native-constructors-length.js         (rev 0)
+++ trunk/JSTests/stress/native-constructors-length.js        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+function assert(b) {
+ if (!b)
+ throw new Error("Bad assertion");
+}
+
+function assertLengthDescriptorAttributes(ctor, lengthValue) {
+ let descriptor = Object.getOwnPropertyDescriptor(ctor, "length");
+
+ assert(descriptor.value === lengthValue);
+ assert(!descriptor.enumerable);
+ assert(!descriptor.writable);
+ assert(descriptor.configurable);
+}
+
+assertLengthDescriptorAttributes(Array, 1);
+assertLengthDescriptorAttributes(ArrayBuffer, 1);
+assertLengthDescriptorAttributes(Boolean, 1);
+assertLengthDescriptorAttributes(DataView, 3);
+assertLengthDescriptorAttributes(Date, 7);
+assertLengthDescriptorAttributes(Error, 1);
+assertLengthDescriptorAttributes(Function, 1);
+assertLengthDescriptorAttributes(Map, 0);
+assertLengthDescriptorAttributes(Number, 1);
+assertLengthDescriptorAttributes(Object, 1);
+assertLengthDescriptorAttributes(Promise, 1);
+assertLengthDescriptorAttributes(Proxy, 2);
+assertLengthDescriptorAttributes(RegExp, 2);
+assertLengthDescriptorAttributes(Set, 0);
+assertLengthDescriptorAttributes(String, 1);
+assertLengthDescriptorAttributes(Symbol, 0);
+assertLengthDescriptorAttributes(WeakMap, 0);
+assertLengthDescriptorAttributes(WeakSet, 0);
+
+assertLengthDescriptorAttributes(Int8Array, 3);
+assertLengthDescriptorAttributes(Uint8Array, 3);
+assertLengthDescriptorAttributes(Int16Array, 3);
+assertLengthDescriptorAttributes(Uint16Array, 3);
+assertLengthDescriptorAttributes(Int32Array, 3);
+assertLengthDescriptorAttributes(Uint32Array, 3);
+assertLengthDescriptorAttributes(Float32Array, 3);
+assertLengthDescriptorAttributes(Float64Array, 3);
</ins></span></pre></div>
<a id="trunkJSTeststest262yaml"></a>
<div class="modfile"><h4>Modified: trunk/JSTests/test262.yaml (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262.yaml        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/JSTests/test262.yaml        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -2570,9 +2570,9 @@
</span><span class="cx"> - path: test262/test/built-ins/Array/S15.4.3_A2.1.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/Array/S15.4.3_A2.2.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
</ins><span class="cx"> - path: test262/test/built-ins/Array/S15.4.3_A2.2.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/Array/S15.4.3_A2.3.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js", "../../../harness/propertyHelper.js"], []
</span><span class="cx"> - path: test262/test/built-ins/Array/S15.4.3_A2.3.js
</span><span class="lines">@@ -15494,9 +15494,9 @@
</span><span class="cx"> - path: test262/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T1.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js", "../../../../../harness/propertyHelper.js"], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T2.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], []
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], []
</ins><span class="cx"> - path: test262/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T2.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T3.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], []
</span><span class="cx"> - path: test262/test/built-ins/Date/prototype/constructor/S15.9.5.1_A3_T3.js
</span><span class="lines">@@ -17528,9 +17528,9 @@
</span><span class="cx"> - path: test262/test/built-ins/Function/instance-name.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js", "../../../harness/propertyHelper.js"], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/Function/length/15.3.3.2-1.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</ins><span class="cx"> - path: test262/test/built-ins/Function/length/15.3.3.2-1.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/Function/length/S15.3.5.1_A1_T1.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</span><span class="cx"> - path: test262/test/built-ins/Function/length/S15.3.5.1_A1_T1.js
</span><span class="lines">@@ -31870,9 +31870,9 @@
</span><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-185.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-186.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</ins><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-186.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-187.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</span><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-187.js
</span><span class="lines">@@ -31894,9 +31894,9 @@
</span><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-190.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-191.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</ins><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-191.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-192.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</span><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-192.js
</span><span class="lines">@@ -31906,9 +31906,9 @@
</span><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-193.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-194.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</ins><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-194.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-195.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</span><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-195.js
</span><span class="lines">@@ -31942,9 +31942,9 @@
</span><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-200.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-201.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</ins><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-201.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-202.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</span><span class="cx"> - path: test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-202.js
</span><span class="lines">@@ -60794,7 +60794,7 @@
</span><span class="cx"> - path: test262/test/language/expressions/delete/11.4.1-5-a-28-s.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], []
</span><span class="cx"> - path: test262/test/language/expressions/delete/11.4.1-5-a-28-s.js
</span><del>- cmd: runTest262 :fail, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</del><ins>+ cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</ins><span class="cx"> - path: test262/test/language/expressions/delete/11.4.1-5-a-3-s.js
</span><span class="cx"> cmd: runTest262 :normal, "NoException", ["../../../../harness/assert.js", "../../../../harness/sta.js"], [:strict]
</span><span class="cx"> - path: test262/test/language/expressions/delete/11.4.1-5-a-4-s.js
</span></span></pre></div>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/LayoutTests/ChangeLog        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -1,3 +1,19 @@
</span><ins>+2017-04-11 Joseph Pecoraro <pecoraro@apple.com>
+
+ test262: test262/test/built-ins/Array/S15.4.3_A2.2.js
+ https://bugs.webkit.org/show_bug.cgi?id=170652
+
+ Reviewed by Michael Saboff.
+
+ * ietestcenter/Javascript/15.2.3.3-4-186-expected.txt:
+ * ietestcenter/Javascript/15.2.3.3-4-191-expected.txt:
+ * ietestcenter/Javascript/15.2.3.3-4-194-expected.txt:
+ * ietestcenter/Javascript/15.2.3.3-4-201-expected.txt:
+ * ietestcenter/Javascript/15.3.3.2-1-expected.txt:
+ * sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.3/S15.4.3_A2.2-expected.txt:
+ * sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.5/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T2-expected.txt:
+ These tests expected the opposite, they are now out of date.
+
</ins><span class="cx"> 2017-04-11 Yoav Weiss <yoav@yoav.ws>
</span><span class="cx">
</span><span class="cx"> [link preload] Double downloads of preloaded content when it's in MemoryCache
</span></span></pre></div>
<a id="trunkLayoutTestsietestcenterJavascript152334186expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-186-expected.txt (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-186-expected.txt        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-186-expected.txt        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> PASS ES5Harness.preconditionPassed is true
</span><del>-PASS ES5Harness.testPassed is true
</del><ins>+FAIL ES5Harness.testPassed should be true (of type boolean). Was undefined (of type undefined).
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestsietestcenterJavascript152334191expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-191-expected.txt (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-191-expected.txt        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-191-expected.txt        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> PASS ES5Harness.preconditionPassed is true
</span><del>-PASS ES5Harness.testPassed is true
</del><ins>+FAIL ES5Harness.testPassed should be true (of type boolean). Was undefined (of type undefined).
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestsietestcenterJavascript152334194expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-194-expected.txt (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-194-expected.txt        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-194-expected.txt        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> PASS ES5Harness.preconditionPassed is true
</span><del>-PASS ES5Harness.testPassed is true
</del><ins>+FAIL ES5Harness.testPassed should be true (of type boolean). Was undefined (of type undefined).
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestsietestcenterJavascript152334201expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-201-expected.txt (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-201-expected.txt        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/LayoutTests/ietestcenter/Javascript/15.2.3.3-4-201-expected.txt        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> PASS ES5Harness.preconditionPassed is true
</span><del>-PASS ES5Harness.testPassed is true
</del><ins>+FAIL ES5Harness.testPassed should be true (of type boolean). Was undefined (of type undefined).
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestsietestcenterJavascript153321expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ietestcenter/Javascript/15.3.3.2-1-expected.txt (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ietestcenter/Javascript/15.3.3.2-1-expected.txt        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/LayoutTests/ietestcenter/Javascript/15.3.3.2-1-expected.txt        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> PASS ES5Harness.preconditionPassed is true
</span><del>-PASS ES5Harness.testPassed is true
</del><ins>+FAIL ES5Harness.testPassed should be true (of type boolean). Was undefined (of type undefined).
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestssputnikConformance15_Native_Objects154_Array1543S1543_A22expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.3/S15.4.3_A2.2-expected.txt (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.3/S15.4.3_A2.2-expected.txt        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/LayoutTests/sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.3/S15.4.3_A2.2-expected.txt        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> S15.4.3_A2.2
</span><span class="cx">
</span><del>-PASS
</del><ins>+FAIL SputnikError: #2: delete Array.length; Array.hasOwnProperty('length') === true. Actual: false
</ins><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestssputnikConformance15_Native_Objects159_Date159515951_DateprototypeconstructorS15951_A3_T2expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.5/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T2-expected.txt (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.5/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T2-expected.txt        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/LayoutTests/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.5/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T2-expected.txt        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> S15.9.5.1_A3_T2
</span><span class="cx">
</span><del>-PASS
</del><ins>+FAIL SputnikError: #1: The Date.prototype.constructor.length property has the attributes DontDelete
</ins><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/Source/JavaScriptCore/ChangeLog        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -1,3 +1,32 @@
</span><ins>+2017-04-11 Joseph Pecoraro <pecoraro@apple.com>
+
+ test262: test262/test/built-ins/Array/S15.4.3_A2.2.js
+ https://bugs.webkit.org/show_bug.cgi?id=170652
+
+ Reviewed by Michael Saboff.
+
+ * runtime/ArrayConstructor.cpp:
+ (JSC::ArrayConstructor::finishCreation):
+ * runtime/BooleanConstructor.cpp:
+ (JSC::BooleanConstructor::finishCreation):
+ * runtime/DateConstructor.cpp:
+ (JSC::DateConstructor::finishCreation):
+ * runtime/FunctionConstructor.cpp:
+ (JSC::FunctionConstructor::finishCreation):
+ * runtime/JSArrayBufferConstructor.cpp:
+ (JSC::JSArrayBufferConstructor::finishCreation):
+ * runtime/NumberConstructor.cpp:
+ (JSC::NumberConstructor::finishCreation):
+ * runtime/ObjectConstructor.cpp:
+ (JSC::ObjectConstructor::finishCreation):
+ * runtime/RegExpConstructor.cpp:
+ (JSC::RegExpConstructor::finishCreation):
+ * runtime/StringConstructor.cpp:
+ (JSC::StringConstructor::finishCreation):
+ * runtime/SymbolConstructor.cpp:
+ (JSC::SymbolConstructor::finishCreation):
+ Ensure the "length" property on these native constructors is configurable (deletable).
+
</ins><span class="cx"> 2017-04-11 Yusuke Suzuki <utatane.tea@gmail.com>
</span><span class="cx">
</span><span class="cx"> Unreviewed, build fix for Windows after r215228 part 2
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeArrayConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/ArrayConstructor.cpp (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/ArrayConstructor.cpp        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/Source/JavaScriptCore/runtime/ArrayConstructor.cpp        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm, arrayPrototype->classInfo(vm)->className);
</span><span class="cx"> putDirectWithoutTransition(vm, vm.propertyNames->prototype, arrayPrototype, DontEnum | DontDelete | ReadOnly);
</span><del>- putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), ReadOnly | DontEnum | DontDelete);
</del><ins>+ putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), ReadOnly | DontEnum);
</ins><span class="cx"> putDirectNonIndexAccessor(vm, vm.propertyNames->speciesSymbol, speciesSymbol, Accessor | ReadOnly | DontEnum);
</span><span class="cx"> JSC_BUILTIN_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->isArray, arrayConstructorIsArrayCodeGenerator, DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeAsyncFunctionConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/AsyncFunctionConstructor.cpp (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/AsyncFunctionConstructor.cpp        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/Source/JavaScriptCore/runtime/AsyncFunctionConstructor.cpp        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -45,8 +45,6 @@
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm, "AsyncFunction");
</span><span class="cx"> putDirectWithoutTransition(vm, vm.propertyNames->prototype, prototype, DontEnum | DontDelete | ReadOnly);
</span><del>-
- // Number of arguments for constructor
</del><span class="cx"> putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), ReadOnly | DontEnum);
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeBooleanConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/BooleanConstructor.cpp (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/BooleanConstructor.cpp        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/Source/JavaScriptCore/runtime/BooleanConstructor.cpp        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -40,9 +40,7 @@
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm, booleanPrototype->classInfo()->className);
</span><span class="cx"> putDirectWithoutTransition(vm, vm.propertyNames->prototype, booleanPrototype, DontEnum | DontDelete | ReadOnly);
</span><del>-
- // no. of arguments for constructor
- putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), ReadOnly | DontDelete | DontEnum);
</del><ins>+ putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), ReadOnly | DontEnum);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // ECMA 15.6.2
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeDateConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/DateConstructor.cpp (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/DateConstructor.cpp        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/Source/JavaScriptCore/runtime/DateConstructor.cpp        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -104,7 +104,7 @@
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm, "Date");
</span><span class="cx"> putDirectWithoutTransition(vm, vm.propertyNames->prototype, datePrototype, DontEnum | DontDelete | ReadOnly);
</span><del>- putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(7), ReadOnly | DontEnum | DontDelete);
</del><ins>+ putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(7), ReadOnly | DontEnum);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static double millisecondsFromComponents(ExecState* exec, const ArgList& args, WTF::TimeType timeType)
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeFunctionConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/FunctionConstructor.cpp (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/FunctionConstructor.cpp        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/Source/JavaScriptCore/runtime/FunctionConstructor.cpp        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -45,9 +45,7 @@
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm, functionPrototype->classInfo()->className);
</span><span class="cx"> putDirectWithoutTransition(vm, vm.propertyNames->prototype, functionPrototype, DontEnum | DontDelete | ReadOnly);
</span><del>-
- // Number of arguments for constructor
- putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), ReadOnly | DontDelete | DontEnum);
</del><ins>+ putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), ReadOnly | DontEnum);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static EncodedJSValue JSC_HOST_CALL constructWithFunctionConstructor(ExecState* exec)
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeGeneratorFunctionConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/GeneratorFunctionConstructor.cpp (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/GeneratorFunctionConstructor.cpp        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/Source/JavaScriptCore/runtime/GeneratorFunctionConstructor.cpp        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -45,8 +45,6 @@
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm, "GeneratorFunction");
</span><span class="cx"> putDirectWithoutTransition(vm, vm.propertyNames->prototype, generatorFunctionPrototype, DontEnum | DontDelete | ReadOnly);
</span><del>-
- // Number of arguments for constructor
</del><span class="cx"> putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), ReadOnly | DontEnum);
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeJSArrayBufferConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/JSArrayBufferConstructor.cpp (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/JSArrayBufferConstructor.cpp        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/Source/JavaScriptCore/runtime/JSArrayBufferConstructor.cpp        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -54,7 +54,7 @@
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm, ASCIILiteral(arrayBufferSharingModeName(m_sharingMode)));
</span><span class="cx"> putDirectWithoutTransition(vm, vm.propertyNames->prototype, prototype, DontEnum | DontDelete | ReadOnly);
</span><del>- putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), DontEnum | DontDelete | ReadOnly);
</del><ins>+ putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), DontEnum | ReadOnly);
</ins><span class="cx"> putDirectNonIndexAccessor(vm, vm.propertyNames->speciesSymbol, speciesSymbol, Accessor | ReadOnly | DontEnum);
</span><span class="cx">
</span><span class="cx"> if (m_sharingMode == ArrayBufferSharingMode::Default) {
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeNumberConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/NumberConstructor.cpp (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/NumberConstructor.cpp        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/Source/JavaScriptCore/runtime/NumberConstructor.cpp        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -64,12 +64,9 @@
</span><span class="cx"> Base::finishCreation(vm, NumberPrototype::info()->className);
</span><span class="cx"> ASSERT(inherits(vm, info()));
</span><span class="cx">
</span><del>- // Number.Prototype
</del><span class="cx"> putDirectWithoutTransition(vm, vm.propertyNames->prototype, numberPrototype, DontEnum | DontDelete | ReadOnly);
</span><ins>+ putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), ReadOnly | DontEnum);
</ins><span class="cx">
</span><del>- // no. of arguments for constructor
- putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), ReadOnly | DontEnum | DontDelete);
-
</del><span class="cx"> putDirectWithoutTransition(vm, Identifier::fromString(&vm, "EPSILON"), jsDoubleNumber(std::numeric_limits<double>::epsilon()), DontDelete | DontEnum | ReadOnly);
</span><span class="cx"> putDirectWithoutTransition(vm, Identifier::fromString(&vm, "MAX_VALUE"), jsDoubleNumber(1.7976931348623157E+308), DontDelete | DontEnum | ReadOnly);
</span><span class="cx"> putDirectWithoutTransition(vm, Identifier::fromString(&vm, "MIN_VALUE"), jsDoubleNumber(5E-324), DontDelete | DontEnum | ReadOnly);
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeObjectConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/ObjectConstructor.cpp (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/ObjectConstructor.cpp        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/Source/JavaScriptCore/runtime/ObjectConstructor.cpp        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -96,10 +96,9 @@
</span><span class="cx"> void ObjectConstructor::finishCreation(VM& vm, JSGlobalObject* globalObject, ObjectPrototype* objectPrototype)
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm, objectPrototype->classInfo(vm)->className);
</span><del>- // ECMA 15.2.3.1
</del><ins>+
</ins><span class="cx"> putDirectWithoutTransition(vm, vm.propertyNames->prototype, objectPrototype, DontEnum | DontDelete | ReadOnly);
</span><del>- // no. of arguments for constructor
- putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), ReadOnly | DontEnum | DontDelete);
</del><ins>+ putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), ReadOnly | DontEnum);
</ins><span class="cx">
</span><span class="cx"> JSC_NATIVE_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->builtinNames().createPrivateName(), objectConstructorCreate, DontEnum, 2);
</span><span class="cx"> JSC_NATIVE_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->builtinNames().definePropertyPrivateName(), objectConstructorDefineProperty, DontEnum, 3);
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeRegExpConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/RegExpConstructor.cpp (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/RegExpConstructor.cpp        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/Source/JavaScriptCore/runtime/RegExpConstructor.cpp        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -89,10 +89,8 @@
</span><span class="cx"> ASSERT(inherits(vm, info()));
</span><span class="cx">
</span><span class="cx"> putDirectWithoutTransition(vm, vm.propertyNames->prototype, regExpPrototype, DontEnum | DontDelete | ReadOnly);
</span><ins>+ putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(2), ReadOnly | DontEnum);
</ins><span class="cx">
</span><del>- // no. of arguments for constructor
- putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(2), ReadOnly | DontDelete | DontEnum);
-
</del><span class="cx"> putDirectNonIndexAccessor(vm, vm.propertyNames->speciesSymbol, speciesSymbol, Accessor | ReadOnly | DontEnum);
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeStringConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/StringConstructor.cpp (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/StringConstructor.cpp        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/Source/JavaScriptCore/runtime/StringConstructor.cpp        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm, stringPrototype->classInfo()->className);
</span><span class="cx"> putDirectWithoutTransition(vm, vm.propertyNames->prototype, stringPrototype, ReadOnly | DontEnum | DontDelete);
</span><del>- putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), ReadOnly | DontEnum | DontDelete);
</del><ins>+ putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), ReadOnly | DontEnum);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // ------------------------------ Functions --------------------------------
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeSymbolConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/SymbolConstructor.cpp (215233 => 215234)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/SymbolConstructor.cpp        2017-04-11 16:26:21 UTC (rev 215233)
+++ trunk/Source/JavaScriptCore/runtime/SymbolConstructor.cpp        2017-04-11 16:38:43 UTC (rev 215234)
</span><span class="lines">@@ -68,7 +68,7 @@
</span><span class="cx"> {
</span><span class="cx"> Base::finishCreation(vm, prototype->classInfo(vm)->className);
</span><span class="cx"> putDirectWithoutTransition(vm, vm.propertyNames->prototype, prototype, DontEnum | DontDelete | ReadOnly);
</span><del>- putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(0), DontDelete | ReadOnly | DontEnum);
</del><ins>+ putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(0), ReadOnly | DontEnum);
</ins><span class="cx">
</span><span class="cx"> JSC_COMMON_PRIVATE_IDENTIFIERS_EACH_WELL_KNOWN_SYMBOL(INITIALIZE_WELL_KNOWN_SYMBOLS)
</span><span class="cx"> }
</span></span></pre>
</div>
</div>
</body>
</html>