<!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>[205932] 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/205932">205932</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2016-09-14 15:27:19 -0700 (Wed, 14 Sep 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>test262: TypedArray constructors length should be 3 and configurable
https://bugs.webkit.org/show_bug.cgi?id=161955

Patch by Joseph Pecoraro &lt;pecoraro@apple.com&gt; on 2016-09-14
Reviewed by Mark Lam.

JSTests:

* test262.yaml:

Source/JavaScriptCore:

https://tc39.github.io/ecma262/#sec-ecmascript-standard-built-in-objects
Unless otherwise specified, the length property of a built-in Function
object has the attributes:
{ [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.

* runtime/JSGenericTypedArrayViewConstructorInlines.h:
(JSC::JSGenericTypedArrayViewConstructor&lt;ViewClass&gt;::finishCreation):

LayoutTests:

* js/script-tests/typedarray-constructors.js:
* js/typedarray-constructors-expected.txt:
* js/dom/constructor-length.html:
* platform/efl/js/dom/constructor-length-expected.txt:
* platform/gtk/js/dom/constructor-length-expected.txt:
* platform/ios-simulator/js/dom/constructor-length-expected.txt:
* platform/mac/js/dom/constructor-length-expected.txt:
* platform/win/js/dom/constructor-length-expected.txt:</pre>

<h3>Modified Paths</h3>
<ul>
<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="#trunkLayoutTestsjsdomconstructorlengthhtml">trunk/LayoutTests/js/dom/constructor-length.html</a></li>
<li><a href="#trunkLayoutTestsjsscriptteststypedarrayconstructorsjs">trunk/LayoutTests/js/script-tests/typedarray-constructors.js</a></li>
<li><a href="#trunkLayoutTestsjstypedarrayconstructorsexpectedtxt">trunk/LayoutTests/js/typedarray-constructors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformefljsdomconstructorlengthexpectedtxt">trunk/LayoutTests/platform/efl/js/dom/constructor-length-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkjsdomconstructorlengthexpectedtxt">trunk/LayoutTests/platform/gtk/js/dom/constructor-length-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorjsdomconstructorlengthexpectedtxt">trunk/LayoutTests/platform/ios-simulator/js/dom/constructor-length-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacjsdomconstructorlengthexpectedtxt">trunk/LayoutTests/platform/mac/js/dom/constructor-length-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformwinjsdomconstructorlengthexpectedtxt">trunk/LayoutTests/platform/win/js/dom/constructor-length-expected.txt</a></li>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeJSGenericTypedArrayViewConstructorInlinesh">trunk/Source/JavaScriptCore/runtime/JSGenericTypedArrayViewConstructorInlines.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkJSTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/JSTests/ChangeLog (205931 => 205932)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/ChangeLog        2016-09-14 21:24:28 UTC (rev 205931)
+++ trunk/JSTests/ChangeLog        2016-09-14 22:27:19 UTC (rev 205932)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2016-09-14  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        test262: TypedArray constructors length should be 3 and configurable
+        https://bugs.webkit.org/show_bug.cgi?id=161955
+
+        Reviewed by Mark Lam.
+
+        * test262.yaml:
+
</ins><span class="cx"> 2016-09-14  Benjamin Poulain  &lt;bpoulain@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [JSC] Make the rounding-related nodes support any type
</span></span></pre></div>
<a id="trunkJSTeststest262yaml"></a>
<div class="modfile"><h4>Modified: trunk/JSTests/test262.yaml (205931 => 205932)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262.yaml        2016-09-14 21:24:28 UTC (rev 205931)
+++ trunk/JSTests/test262.yaml        2016-09-14 22:27:19 UTC (rev 205932)
</span><span class="lines">@@ -13570,9 +13570,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/instance-extensibility.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/propertyHelper.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/propertyHelper.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/propertyHelper.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/propertyHelper.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/name.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/propertyHelper.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/name.js
</span><span class="lines">@@ -47930,9 +47930,9 @@
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Float32Array/constructor.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Float32Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Float32Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Float32Array/name.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Float32Array/name.js
</span><span class="lines">@@ -47970,9 +47970,9 @@
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Float64Array/constructor.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Float64Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Float64Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Float64Array/name.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Float64Array/name.js
</span><span class="lines">@@ -48010,9 +48010,9 @@
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int16Array/constructor.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int16Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int16Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int16Array/name.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int16Array/name.js
</span><span class="lines">@@ -48050,9 +48050,9 @@
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int32Array/constructor.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int32Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int32Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int32Array/name.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int32Array/name.js
</span><span class="lines">@@ -48090,9 +48090,9 @@
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int8Array/constructor.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int8Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int8Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int8Array/name.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Int8Array/name.js
</span><span class="lines">@@ -48130,9 +48130,9 @@
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint16Array/constructor.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint16Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint16Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint16Array/name.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint16Array/name.js
</span><span class="lines">@@ -48170,9 +48170,9 @@
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint32Array/constructor.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint32Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint32Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint32Array/name.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint32Array/name.js
</span><span class="lines">@@ -48210,9 +48210,9 @@
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint8Array/constructor.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint8Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint8Array/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint8Array/name.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint8Array/name.js
</span><span class="lines">@@ -48250,9 +48250,9 @@
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint8ClampedArray/constructor.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint8ClampedArray/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint8ClampedArray/length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint8ClampedArray/name.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../harness/assert.js&quot;, &quot;../../../../harness/sta.js&quot;, &quot;../../../../harness/propertyHelper.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/Uint8ClampedArray/name.js
</span></span></pre></div>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (205931 => 205932)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-09-14 21:24:28 UTC (rev 205931)
+++ trunk/LayoutTests/ChangeLog        2016-09-14 22:27:19 UTC (rev 205932)
</span><span class="lines">@@ -1,3 +1,19 @@
</span><ins>+2016-09-14  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        test262: TypedArray constructors length should be 3 and configurable
+        https://bugs.webkit.org/show_bug.cgi?id=161955
+
+        Reviewed by Mark Lam.
+
+        * js/script-tests/typedarray-constructors.js:
+        * js/typedarray-constructors-expected.txt:
+        * js/dom/constructor-length.html:
+        * platform/efl/js/dom/constructor-length-expected.txt:
+        * platform/gtk/js/dom/constructor-length-expected.txt:
+        * platform/ios-simulator/js/dom/constructor-length-expected.txt:
+        * platform/mac/js/dom/constructor-length-expected.txt:
+        * platform/win/js/dom/constructor-length-expected.txt:
+
</ins><span class="cx"> 2016-09-14  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         input.type cannot be set to &quot;file&quot; after being set to another type
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomconstructorlengthhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/constructor-length.html (205931 => 205932)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/constructor-length.html        2016-09-14 21:24:28 UTC (rev 205931)
+++ trunk/LayoutTests/js/dom/constructor-length.html        2016-09-14 22:27:19 UTC (rev 205932)
</span><span class="lines">@@ -17,18 +17,18 @@
</span><span class="cx"> shouldBe('CustomEvent.length', '1');
</span><span class="cx"> shouldBe('DOMFormData.length', '0');
</span><span class="cx"> shouldBe('DOMParser.length', '0');
</span><del>-shouldBe('DataView.length', '0');
</del><ins>+shouldBe('DataView.length', '3');
</ins><span class="cx"> shouldBe('ErrorEvent.length', '1');
</span><span class="cx"> shouldBe('Event.length', '1');
</span><span class="cx"> shouldBe('EventSource.length', '1');
</span><del>-shouldBe('Float32Array.length', '0');
-shouldBe('Float64Array.length', '0');
</del><ins>+shouldBe('Float32Array.length', '3');
+shouldBe('Float64Array.length', '3');
</ins><span class="cx"> shouldBe('FileReader.length', '0');
</span><span class="cx"> shouldBe('FileReaderSync.length', '0');
</span><span class="cx"> shouldBe('HashChangeEvent.length', '1');
</span><del>-shouldBe('Int16Array.length', '0');
-shouldBe('Int32Array.length', '0');
-shouldBe('Int8Array.length', '0');
</del><ins>+shouldBe('Int16Array.length', '3');
+shouldBe('Int32Array.length', '3');
+shouldBe('Int8Array.length', '3');
</ins><span class="cx"> shouldBe('Intent.length', '3');
</span><span class="cx"> shouldBe('MediaController.length', '0');
</span><span class="cx"> shouldBe('MediaStream.length', '0');
</span><span class="lines">@@ -43,10 +43,10 @@
</span><span class="cx"> shouldBe('StorageEvent.length', '1');
</span><span class="cx"> shouldBe('TextTrackCue.length', '0');
</span><span class="cx"> shouldBe('TrackEvent.length', '1');
</span><del>-shouldBe('Uint16Array.length', '0');
-shouldBe('Uint32Array.length', '0');
-shouldBe('Uint8Array.length', '0');
-shouldBe('Uint8ClampedArray.length', '0');
</del><ins>+shouldBe('Uint16Array.length', '3');
+shouldBe('Uint32Array.length', '3');
+shouldBe('Uint8Array.length', '3');
+shouldBe('Uint8ClampedArray.length', '3');
</ins><span class="cx"> shouldBe('VTTCue.length', '3');
</span><span class="cx"> shouldBe('WebGLContextEvent.length', '1');
</span><span class="cx"> shouldBe('WebKitAnimationEvent.length', '1');
</span></span></pre></div>
<a id="trunkLayoutTestsjsscriptteststypedarrayconstructorsjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/script-tests/typedarray-constructors.js (205931 => 205932)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/script-tests/typedarray-constructors.js        2016-09-14 21:24:28 UTC (rev 205931)
+++ trunk/LayoutTests/js/script-tests/typedarray-constructors.js        2016-09-14 22:27:19 UTC (rev 205932)
</span><span class="lines">@@ -19,9 +19,9 @@
</span><span class="cx"> for (let arrayType of arrayTypes) {
</span><span class="cx">     shouldThrow(&quot;&quot; + arrayType.name + &quot;()&quot;);
</span><span class="cx">     shouldNotThrow(&quot;new &quot; + arrayType.name + &quot;()&quot;);
</span><del>-    shouldBe(&quot;&quot; + arrayType.name + &quot;.length&quot;, &quot;0&quot;);
</del><ins>+    shouldBe(&quot;&quot; + arrayType.name + &quot;.length&quot;, &quot;3&quot;);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> shouldThrow(&quot;DataView(new ArrayBuffer())&quot;);
</span><span class="cx"> shouldNotThrow(&quot;new DataView(new ArrayBuffer())&quot;);
</span><del>-shouldBe(&quot;DataView.length&quot;, &quot;0&quot;);
</del><ins>+shouldBe(&quot;DataView.length&quot;, &quot;3&quot;);
</ins></span></pre></div>
<a id="trunkLayoutTestsjstypedarrayconstructorsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/typedarray-constructors-expected.txt (205931 => 205932)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/typedarray-constructors-expected.txt        2016-09-14 21:24:28 UTC (rev 205931)
+++ trunk/LayoutTests/js/typedarray-constructors-expected.txt        2016-09-14 22:27:19 UTC (rev 205932)
</span><span class="lines">@@ -5,34 +5,34 @@
</span><span class="cx"> 
</span><span class="cx"> PASS Int8Array() threw exception TypeError: calling Int8Array constructor without new is invalid.
</span><span class="cx"> PASS new Int8Array() did not throw exception.
</span><del>-PASS Int8Array.length is 0
</del><ins>+PASS Int8Array.length is 3
</ins><span class="cx"> PASS Int16Array() threw exception TypeError: calling Int16Array constructor without new is invalid.
</span><span class="cx"> PASS new Int16Array() did not throw exception.
</span><del>-PASS Int16Array.length is 0
</del><ins>+PASS Int16Array.length is 3
</ins><span class="cx"> PASS Int32Array() threw exception TypeError: calling Int32Array constructor without new is invalid.
</span><span class="cx"> PASS new Int32Array() did not throw exception.
</span><del>-PASS Int32Array.length is 0
</del><ins>+PASS Int32Array.length is 3
</ins><span class="cx"> PASS Uint8Array() threw exception TypeError: calling Uint8Array constructor without new is invalid.
</span><span class="cx"> PASS new Uint8Array() did not throw exception.
</span><del>-PASS Uint8Array.length is 0
</del><ins>+PASS Uint8Array.length is 3
</ins><span class="cx"> PASS Uint8ClampedArray() threw exception TypeError: calling Uint8ClampedArray constructor without new is invalid.
</span><span class="cx"> PASS new Uint8ClampedArray() did not throw exception.
</span><del>-PASS Uint8ClampedArray.length is 0
</del><ins>+PASS Uint8ClampedArray.length is 3
</ins><span class="cx"> PASS Uint16Array() threw exception TypeError: calling Uint16Array constructor without new is invalid.
</span><span class="cx"> PASS new Uint16Array() did not throw exception.
</span><del>-PASS Uint16Array.length is 0
</del><ins>+PASS Uint16Array.length is 3
</ins><span class="cx"> PASS Uint32Array() threw exception TypeError: calling Uint32Array constructor without new is invalid.
</span><span class="cx"> PASS new Uint32Array() did not throw exception.
</span><del>-PASS Uint32Array.length is 0
</del><ins>+PASS Uint32Array.length is 3
</ins><span class="cx"> PASS Float32Array() threw exception TypeError: calling Float32Array constructor without new is invalid.
</span><span class="cx"> PASS new Float32Array() did not throw exception.
</span><del>-PASS Float32Array.length is 0
</del><ins>+PASS Float32Array.length is 3
</ins><span class="cx"> PASS Float64Array() threw exception TypeError: calling Float64Array constructor without new is invalid.
</span><span class="cx"> PASS new Float64Array() did not throw exception.
</span><del>-PASS Float64Array.length is 0
</del><ins>+PASS Float64Array.length is 3
</ins><span class="cx"> PASS DataView(new ArrayBuffer()) threw exception TypeError: calling DataView constructor without new is invalid.
</span><span class="cx"> PASS new DataView(new ArrayBuffer()) did not throw exception.
</span><del>-PASS DataView.length is 0
</del><ins>+PASS DataView.length is 3
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx"> 
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestsplatformefljsdomconstructorlengthexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl/js/dom/constructor-length-expected.txt (205931 => 205932)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/js/dom/constructor-length-expected.txt        2016-09-14 21:24:28 UTC (rev 205931)
+++ trunk/LayoutTests/platform/efl/js/dom/constructor-length-expected.txt        2016-09-14 22:27:19 UTC (rev 205932)
</span><span class="lines">@@ -13,18 +13,18 @@
</span><span class="cx"> PASS CustomEvent.length is 1
</span><span class="cx"> FAIL DOMFormData.length should be 0. Threw exception ReferenceError: Can't find variable: DOMFormData
</span><span class="cx"> PASS DOMParser.length is 0
</span><del>-PASS DataView.length is 0
</del><ins>+PASS DataView.length is 3
</ins><span class="cx"> PASS ErrorEvent.length is 1
</span><span class="cx"> PASS Event.length is 1
</span><span class="cx"> PASS EventSource.length is 1
</span><del>-PASS Float32Array.length is 0
-PASS Float64Array.length is 0
</del><ins>+PASS Float32Array.length is 3
+PASS Float64Array.length is 3
</ins><span class="cx"> PASS FileReader.length is 0
</span><span class="cx"> FAIL FileReaderSync.length should be 0. Threw exception ReferenceError: Can't find variable: FileReaderSync
</span><span class="cx"> PASS HashChangeEvent.length is 1
</span><del>-PASS Int16Array.length is 0
-PASS Int32Array.length is 0
-PASS Int8Array.length is 0
</del><ins>+PASS Int16Array.length is 3
+PASS Int32Array.length is 3
+PASS Int8Array.length is 3
</ins><span class="cx"> FAIL Intent.length should be 3. Threw exception ReferenceError: Can't find variable: Intent
</span><span class="cx"> PASS MediaController.length is 0
</span><span class="cx"> PASS MediaStream.length is 0
</span><span class="lines">@@ -39,10 +39,10 @@
</span><span class="cx"> PASS StorageEvent.length is 1
</span><span class="cx"> PASS TextTrackCue.length is 0
</span><span class="cx"> PASS TrackEvent.length is 1
</span><del>-PASS Uint16Array.length is 0
-PASS Uint32Array.length is 0
-PASS Uint8Array.length is 0
-PASS Uint8ClampedArray.length is 0
</del><ins>+PASS Uint16Array.length is 3
+PASS Uint32Array.length is 3
+PASS Uint8Array.length is 3
+PASS Uint8ClampedArray.length is 3
</ins><span class="cx"> PASS VTTCue.length is 3
</span><span class="cx"> PASS WebGLContextEvent.length is 1
</span><span class="cx"> PASS WebKitAnimationEvent.length is 1
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkjsdomconstructorlengthexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/js/dom/constructor-length-expected.txt (205931 => 205932)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/js/dom/constructor-length-expected.txt        2016-09-14 21:24:28 UTC (rev 205931)
+++ trunk/LayoutTests/platform/gtk/js/dom/constructor-length-expected.txt        2016-09-14 22:27:19 UTC (rev 205932)
</span><span class="lines">@@ -13,18 +13,18 @@
</span><span class="cx"> PASS CustomEvent.length is 1
</span><span class="cx"> FAIL DOMFormData.length should be 0. Threw exception ReferenceError: Can't find variable: DOMFormData
</span><span class="cx"> PASS DOMParser.length is 0
</span><del>-PASS DataView.length is 0
</del><ins>+PASS DataView.length is 3
</ins><span class="cx"> PASS ErrorEvent.length is 1
</span><span class="cx"> PASS Event.length is 1
</span><span class="cx"> PASS EventSource.length is 1
</span><del>-PASS Float32Array.length is 0
-PASS Float64Array.length is 0
</del><ins>+PASS Float32Array.length is 3
+PASS Float64Array.length is 3
</ins><span class="cx"> PASS FileReader.length is 0
</span><span class="cx"> FAIL FileReaderSync.length should be 0. Threw exception ReferenceError: Can't find variable: FileReaderSync
</span><span class="cx"> PASS HashChangeEvent.length is 1
</span><del>-PASS Int16Array.length is 0
-PASS Int32Array.length is 0
-PASS Int8Array.length is 0
</del><ins>+PASS Int16Array.length is 3
+PASS Int32Array.length is 3
+PASS Int8Array.length is 3
</ins><span class="cx"> FAIL Intent.length should be 3. Threw exception ReferenceError: Can't find variable: Intent
</span><span class="cx"> PASS MediaController.length is 0
</span><span class="cx"> FAIL MediaStream.length should be 0. Threw exception ReferenceError: Can't find variable: MediaStream
</span><span class="lines">@@ -39,10 +39,10 @@
</span><span class="cx"> PASS StorageEvent.length is 1
</span><span class="cx"> PASS TextTrackCue.length is 0
</span><span class="cx"> PASS TrackEvent.length is 1
</span><del>-PASS Uint16Array.length is 0
-PASS Uint32Array.length is 0
-PASS Uint8Array.length is 0
-PASS Uint8ClampedArray.length is 0
</del><ins>+PASS Uint16Array.length is 3
+PASS Uint32Array.length is 3
+PASS Uint8Array.length is 3
+PASS Uint8ClampedArray.length is 3
</ins><span class="cx"> PASS VTTCue.length is 3
</span><span class="cx"> PASS WebGLContextEvent.length is 1
</span><span class="cx"> PASS WebKitAnimationEvent.length is 1
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorjsdomconstructorlengthexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/js/dom/constructor-length-expected.txt (205931 => 205932)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/js/dom/constructor-length-expected.txt        2016-09-14 21:24:28 UTC (rev 205931)
+++ trunk/LayoutTests/platform/ios-simulator/js/dom/constructor-length-expected.txt        2016-09-14 22:27:19 UTC (rev 205932)
</span><span class="lines">@@ -13,18 +13,18 @@
</span><span class="cx"> PASS CustomEvent.length is 1
</span><span class="cx"> FAIL DOMFormData.length should be 0. Threw exception ReferenceError: Can't find variable: DOMFormData
</span><span class="cx"> PASS DOMParser.length is 0
</span><del>-PASS DataView.length is 0
</del><ins>+PASS DataView.length is 3
</ins><span class="cx"> PASS ErrorEvent.length is 1
</span><span class="cx"> PASS Event.length is 1
</span><span class="cx"> PASS EventSource.length is 1
</span><del>-PASS Float32Array.length is 0
-PASS Float64Array.length is 0
</del><ins>+PASS Float32Array.length is 3
+PASS Float64Array.length is 3
</ins><span class="cx"> PASS FileReader.length is 0
</span><span class="cx"> FAIL FileReaderSync.length should be 0. Threw exception ReferenceError: Can't find variable: FileReaderSync
</span><span class="cx"> PASS HashChangeEvent.length is 1
</span><del>-PASS Int16Array.length is 0
-PASS Int32Array.length is 0
-PASS Int8Array.length is 0
</del><ins>+PASS Int16Array.length is 3
+PASS Int32Array.length is 3
+PASS Int8Array.length is 3
</ins><span class="cx"> FAIL Intent.length should be 3. Threw exception ReferenceError: Can't find variable: Intent
</span><span class="cx"> PASS MediaController.length is 0
</span><span class="cx"> PASS MediaStream.length is 0
</span><span class="lines">@@ -39,10 +39,10 @@
</span><span class="cx"> PASS StorageEvent.length is 1
</span><span class="cx"> PASS TextTrackCue.length is 0
</span><span class="cx"> PASS TrackEvent.length is 1
</span><del>-PASS Uint16Array.length is 0
-PASS Uint32Array.length is 0
-PASS Uint8Array.length is 0
-PASS Uint8ClampedArray.length is 0
</del><ins>+PASS Uint16Array.length is 3
+PASS Uint32Array.length is 3
+PASS Uint8Array.length is 3
+PASS Uint8ClampedArray.length is 3
</ins><span class="cx"> PASS VTTCue.length is 3
</span><span class="cx"> PASS WebGLContextEvent.length is 1
</span><span class="cx"> PASS WebKitAnimationEvent.length is 1
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacjsdomconstructorlengthexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/js/dom/constructor-length-expected.txt (205931 => 205932)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/js/dom/constructor-length-expected.txt        2016-09-14 21:24:28 UTC (rev 205931)
+++ trunk/LayoutTests/platform/mac/js/dom/constructor-length-expected.txt        2016-09-14 22:27:19 UTC (rev 205932)
</span><span class="lines">@@ -13,18 +13,18 @@
</span><span class="cx"> PASS CustomEvent.length is 1
</span><span class="cx"> FAIL DOMFormData.length should be 0. Threw exception ReferenceError: Can't find variable: DOMFormData
</span><span class="cx"> PASS DOMParser.length is 0
</span><del>-PASS DataView.length is 0
</del><ins>+PASS DataView.length is 3
</ins><span class="cx"> PASS ErrorEvent.length is 1
</span><span class="cx"> PASS Event.length is 1
</span><span class="cx"> PASS EventSource.length is 1
</span><del>-PASS Float32Array.length is 0
-PASS Float64Array.length is 0
</del><ins>+PASS Float32Array.length is 3
+PASS Float64Array.length is 3
</ins><span class="cx"> PASS FileReader.length is 0
</span><span class="cx"> FAIL FileReaderSync.length should be 0. Threw exception ReferenceError: Can't find variable: FileReaderSync
</span><span class="cx"> PASS HashChangeEvent.length is 1
</span><del>-PASS Int16Array.length is 0
-PASS Int32Array.length is 0
-PASS Int8Array.length is 0
</del><ins>+PASS Int16Array.length is 3
+PASS Int32Array.length is 3
+PASS Int8Array.length is 3
</ins><span class="cx"> FAIL Intent.length should be 3. Threw exception ReferenceError: Can't find variable: Intent
</span><span class="cx"> PASS MediaController.length is 0
</span><span class="cx"> PASS MediaStream.length is 0
</span><span class="lines">@@ -39,10 +39,10 @@
</span><span class="cx"> PASS StorageEvent.length is 1
</span><span class="cx"> PASS TextTrackCue.length is 0
</span><span class="cx"> PASS TrackEvent.length is 1
</span><del>-PASS Uint16Array.length is 0
-PASS Uint32Array.length is 0
-PASS Uint8Array.length is 0
-PASS Uint8ClampedArray.length is 0
</del><ins>+PASS Uint16Array.length is 3
+PASS Uint32Array.length is 3
+PASS Uint8Array.length is 3
+PASS Uint8ClampedArray.length is 3
</ins><span class="cx"> PASS VTTCue.length is 3
</span><span class="cx"> PASS WebGLContextEvent.length is 1
</span><span class="cx"> PASS WebKitAnimationEvent.length is 1
</span></span></pre></div>
<a id="trunkLayoutTestsplatformwinjsdomconstructorlengthexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/win/js/dom/constructor-length-expected.txt (205931 => 205932)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/win/js/dom/constructor-length-expected.txt        2016-09-14 21:24:28 UTC (rev 205931)
+++ trunk/LayoutTests/platform/win/js/dom/constructor-length-expected.txt        2016-09-14 22:27:19 UTC (rev 205932)
</span><span class="lines">@@ -13,18 +13,18 @@
</span><span class="cx"> PASS CustomEvent.length is 1
</span><span class="cx"> FAIL DOMFormData.length should be 0. Threw exception ReferenceError: Can't find variable: DOMFormData
</span><span class="cx"> PASS DOMParser.length is 0
</span><del>-PASS DataView.length is 0
</del><ins>+PASS DataView.length is 3
</ins><span class="cx"> PASS ErrorEvent.length is 1
</span><span class="cx"> PASS Event.length is 1
</span><span class="cx"> PASS EventSource.length is 1
</span><del>-PASS Float32Array.length is 0
-PASS Float64Array.length is 0
</del><ins>+PASS Float32Array.length is 3
+PASS Float64Array.length is 3
</ins><span class="cx"> PASS FileReader.length is 0
</span><span class="cx"> FAIL FileReaderSync.length should be 0. Threw exception ReferenceError: Can't find variable: FileReaderSync
</span><span class="cx"> PASS HashChangeEvent.length is 1
</span><del>-PASS Int16Array.length is 0
-PASS Int32Array.length is 0
-PASS Int8Array.length is 0
</del><ins>+PASS Int16Array.length is 3
+PASS Int32Array.length is 3
+PASS Int8Array.length is 3
</ins><span class="cx"> FAIL Intent.length should be 3. Threw exception ReferenceError: Can't find variable: Intent
</span><span class="cx"> PASS MediaController.length is 0
</span><span class="cx"> FAIL MediaStream.length should be 0. Threw exception ReferenceError: Can't find variable: MediaStream
</span><span class="lines">@@ -39,10 +39,10 @@
</span><span class="cx"> PASS StorageEvent.length is 1
</span><span class="cx"> PASS TextTrackCue.length is 0
</span><span class="cx"> PASS TrackEvent.length is 1
</span><del>-PASS Uint16Array.length is 0
-PASS Uint32Array.length is 0
-PASS Uint8Array.length is 0
-PASS Uint8ClampedArray.length is 0
</del><ins>+PASS Uint16Array.length is 3
+PASS Uint32Array.length is 3
+PASS Uint8Array.length is 3
+PASS Uint8ClampedArray.length is 3
</ins><span class="cx"> PASS VTTCue.length is 3
</span><span class="cx"> FAIL WebGLContextEvent.length should be 1. Threw exception ReferenceError: Can't find variable: WebGLContextEvent
</span><span class="cx"> PASS WebKitAnimationEvent.length is 1
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (205931 => 205932)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2016-09-14 21:24:28 UTC (rev 205931)
+++ trunk/Source/JavaScriptCore/ChangeLog        2016-09-14 22:27:19 UTC (rev 205932)
</span><span class="lines">@@ -1,3 +1,18 @@
</span><ins>+2016-09-14  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        test262: TypedArray constructors length should be 3 and configurable
+        https://bugs.webkit.org/show_bug.cgi?id=161955
+
+        Reviewed by Mark Lam.
+
+        https://tc39.github.io/ecma262/#sec-ecmascript-standard-built-in-objects
+        Unless otherwise specified, the length property of a built-in Function
+        object has the attributes:
+        { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
+
+        * runtime/JSGenericTypedArrayViewConstructorInlines.h:
+        (JSC::JSGenericTypedArrayViewConstructor&lt;ViewClass&gt;::finishCreation):
+
</ins><span class="cx"> 2016-09-14  Benjamin Poulain  &lt;bpoulain@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [JSC] Make the rounding-related nodes support any type
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeJSGenericTypedArrayViewConstructorInlinesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/JSGenericTypedArrayViewConstructorInlines.h (205931 => 205932)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/JSGenericTypedArrayViewConstructorInlines.h        2016-09-14 21:24:28 UTC (rev 205931)
+++ trunk/Source/JavaScriptCore/runtime/JSGenericTypedArrayViewConstructorInlines.h        2016-09-14 22:27:19 UTC (rev 205932)
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm, name);
</span><span class="cx">     putDirectWithoutTransition(vm, vm.propertyNames-&gt;prototype, prototype, DontEnum | DontDelete | ReadOnly);
</span><del>-    putDirectWithoutTransition(vm, vm.propertyNames-&gt;length, jsNumber(0), DontEnum | DontDelete | ReadOnly);
</del><ins>+    putDirectWithoutTransition(vm, vm.propertyNames-&gt;length, jsNumber(3), DontEnum | ReadOnly);
</ins><span class="cx">     putDirectWithoutTransition(vm, vm.propertyNames-&gt;BYTES_PER_ELEMENT, jsNumber(ViewClass::elementSize), DontEnum | ReadOnly | DontDelete);
</span><span class="cx"> 
</span><span class="cx">     if (privateAllocator)
</span></span></pre>
</div>
</div>

</body>
</html>