<!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>[208564] 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/208564">208564</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2016-11-10 14:03:24 -0800 (Thu, 10 Nov 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>test262: DataView / TypedArray methods should throw RangeErrors for negative numbers (ToIndex)
https://bugs.webkit.org/show_bug.cgi?id=164450

Patch by Joseph Pecoraro &lt;pecoraro@apple.com&gt; on 2016-11-10
Reviewed by Darin Adler.

JSTests:

* stress/dataview-typedarray-toindex.js: Added.
Tests for all cases where ToIndex should be used.

* test262.yaml:
New passing tests.

Source/JavaScriptCore:

* runtime/JSCJSValue.h:
* runtime/JSCJSValueInlines.h:
(JSC::JSValue::toIndex):
Introduce a method for toIndex, which is used by DataView and TypedArrays
to convert an argument to a number with the possibility of throwing
RangeErrors for negative values. We also throw RangeErrors for large
values, because wherever this is used we expect an unsigned.

* runtime/JSArrayBufferConstructor.cpp:
(JSC::constructArrayBuffer):
* runtime/JSDataViewPrototype.cpp:
(JSC::getData):
(JSC::setData):
* runtime/JSGenericTypedArrayViewConstructorInlines.h:
(JSC::constructGenericTypedArrayViewWithArguments):
(JSC::constructGenericTypedArrayView):
Use toIndex instead of toUint32 where required.

LayoutTests:

* fast/canvas/webgl/data-view-crash-expected.txt:
* fast/canvas/webgl/data-view-test-expected.txt:
Better error message.</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="#trunkLayoutTestsfastcanvaswebgldataviewcrashexpectedtxt">trunk/LayoutTests/fast/canvas/webgl/data-view-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebgldataviewtestexpectedtxt">trunk/LayoutTests/fast/canvas/webgl/data-view-test-expected.txt</a></li>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeJSArrayBufferConstructorcpp">trunk/Source/JavaScriptCore/runtime/JSArrayBufferConstructor.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeJSCJSValueh">trunk/Source/JavaScriptCore/runtime/JSCJSValue.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeJSCJSValueInlinesh">trunk/Source/JavaScriptCore/runtime/JSCJSValueInlines.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeJSDataViewPrototypecpp">trunk/Source/JavaScriptCore/runtime/JSDataViewPrototype.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeJSGenericTypedArrayViewConstructorInlinesh">trunk/Source/JavaScriptCore/runtime/JSGenericTypedArrayViewConstructorInlines.h</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkJSTestsstressdataviewtypedarraytoindexjs">trunk/JSTests/stress/dataview-typedarray-toindex.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkJSTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/JSTests/ChangeLog (208563 => 208564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/ChangeLog        2016-11-10 21:42:33 UTC (rev 208563)
+++ trunk/JSTests/ChangeLog        2016-11-10 22:03:24 UTC (rev 208564)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2016-11-10  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        test262: DataView / TypedArray methods should throw RangeErrors for negative numbers (ToIndex)
+        https://bugs.webkit.org/show_bug.cgi?id=164450
+
+        Reviewed by Darin Adler.
+
+        * stress/dataview-typedarray-toindex.js: Added.
+        Tests for all cases where ToIndex should be used.
+
+        * test262.yaml:
+        New passing tests.
+
</ins><span class="cx"> 2016-11-10  Mark Lam  &lt;mark.lam@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Graph::methodOfGettingAValueProfileFor() should be returning the profile for the operand node.
</span></span></pre></div>
<a id="trunkJSTestsstressdataviewtypedarraytoindexjs"></a>
<div class="addfile"><h4>Added: trunk/JSTests/stress/dataview-typedarray-toindex.js (0 => 208564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/stress/dataview-typedarray-toindex.js                                (rev 0)
+++ trunk/JSTests/stress/dataview-typedarray-toindex.js        2016-11-10 22:03:24 UTC (rev 208564)
</span><span class="lines">@@ -0,0 +1,121 @@
</span><ins>+function assert(condition) {
+    if (!condition)
+        throw new Error(&quot;Bad assertion&quot;);
+}
+
+function shouldThrowRangeError(func) {
+    var errorThrown = false;
+    var error = null;
+    try {
+        func();
+    } catch (e) {
+        errorThrown = true;
+        error = e;
+    }
+    if (!errorThrown)
+        throw new Error('not thrown');
+    if (!(error instanceof RangeError))
+        throw new Error(`bad error: ${String(error)}`);
+}
+
+// ToIndex (value) https://tc39.github.io/ecma262/#sec-toindex
+// - Convert undefined to 0.
+// - Convert value to Integer, and throws a RangeError if negative.
+// - JavaScriptCore also throws a TypeError for Infinity because that would convert tp 2^53 - 1 which is too large for all cases.
+
+let buffer = new ArrayBuffer(128);
+let dataView = new DataView(buffer);    
+let rangeErrorValues = [-1, -Infinity, Infinity];
+let typedArrays = [Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array];
+
+// ArrayBuffer(length*) https://tc39.github.io/ecma262/#sec-arraybuffer-length
+assert((new ArrayBuffer).byteLength === 0);
+assert((new ArrayBuffer(undefined)).byteLength === 0);
+assert((new ArrayBuffer(-0.9)).byteLength === 0);
+assert((new ArrayBuffer(2.5)).byteLength === 2);
+for (let badValue of rangeErrorValues)
+    shouldThrowRangeError(() =&gt; { new ArrayBuffer(badValue); });
+
+// TypedArray(length*) https://tc39.github.io/ecma262/#sec-typedarray-length
+// TypedArray(buffer, byteOffset*, length*) https://tc39.github.io/ecma262/#sec-typedarray-buffer-byteoffset-length
+for (let typedArray of typedArrays) {
+    assert((new typedArray).length === 0);
+    assert((new typedArray(2.5)).length === 2);
+    assert((new typedArray(-0.9)).length === 0);
+    assert((new typedArray(buffer, typedArray.BYTES_PER_ELEMENT + 0.5)).byteOffset === typedArray.BYTES_PER_ELEMENT);
+    assert((new typedArray(buffer, 0, typedArray.BYTES_PER_ELEMENT + 0.5)).byteLength / typedArray.BYTES_PER_ELEMENT === typedArray.BYTES_PER_ELEMENT);
+
+    for (let badValue of rangeErrorValues) {
+        shouldThrowRangeError(() =&gt; { new typedArray(badValue); });
+        shouldThrowRangeError(() =&gt; { new typedArray(buffer, badValue); });
+        shouldThrowRangeError(() =&gt; { new typedArray(buffer, 0, badValue); });
+    }
+}
+
+// DataView(buffer, byteOffset*, byteLength*) https://tc39.github.io/ecma262/#sec-dataview-buffer-byteoffset-bytelength
+assert((new DataView(buffer)).byteOffset === 0);
+assert((new DataView(buffer, undefined)).byteOffset === 0);
+assert((new DataView(buffer, 2.5)).byteOffset === 2);
+assert((new DataView(buffer, -0.9)).byteOffset === 0);
+assert((new DataView(buffer, 0, 4.5)).byteLength === 4);
+for (let badValue of rangeErrorValues) {
+    shouldThrowRangeError(() =&gt; { new DataView(buffer, badValue); });
+    shouldThrowRangeError(() =&gt; { new DataView(buffer, 0, badValue); });
+}
+
+// GetViewValue(view, index*, ...) https://tc39.github.io/ecma262/#sec-getviewvalue
+// SetViewValue(view, index*, ...) https://tc39.github.io/ecma262/#sec-setviewvalue
+dataView.setInt8(undefined, 42);
+assert(dataView.getInt8(0) === 42);
+dataView.setInt16(undefined, 42);
+assert(dataView.getInt16(0) === 42);
+dataView.setInt32(undefined, 42);
+assert(dataView.getInt32(0) === 42);
+dataView.setUint8(undefined, 42);
+assert(dataView.getUint8(0) === 42);
+dataView.setUint16(undefined, 42);
+assert(dataView.getUint16(0) === 42);
+dataView.setUint32(undefined, 42);
+assert(dataView.getUint32(0) === 42);
+dataView.setFloat32(undefined, 42);
+assert(dataView.getFloat32(0) === 42);
+dataView.setFloat64(undefined, 42);
+assert(dataView.getFloat64(0) === 42);
+
+dataView.setInt8(2.5, 42);
+assert(dataView.getInt8(2) === 42);
+dataView.setInt16(2.5, 42);
+assert(dataView.getInt16(2) === 42);
+dataView.setInt32(2.5, 42);
+assert(dataView.getInt32(2) === 42);
+dataView.setUint8(2.5, 42);
+assert(dataView.getUint8(2) === 42);
+dataView.setUint16(2.5, 42);
+assert(dataView.getUint16(2) === 42);
+dataView.setUint32(2.5, 42);
+assert(dataView.getUint32(2) === 42);
+dataView.setFloat32(2.5, 42);
+assert(dataView.getFloat32(2) === 42);
+dataView.setFloat64(2.5, 42);
+assert(dataView.getFloat64(2) === 42);
+
+for (let badValue of rangeErrorValues) {
+    shouldThrowRangeError(() =&gt; { new DataView(buffer, badValue); });
+    shouldThrowRangeError(() =&gt; { new DataView(buffer, 0, badValue); });
+    shouldThrowRangeError(() =&gt; { dataView.getInt8(badValue); });
+    shouldThrowRangeError(() =&gt; { dataView.getInt16(badValue); });
+    shouldThrowRangeError(() =&gt; { dataView.getInt32(badValue); });
+    shouldThrowRangeError(() =&gt; { dataView.getUint8(badValue); });
+    shouldThrowRangeError(() =&gt; { dataView.getUint16(badValue); });
+    shouldThrowRangeError(() =&gt; { dataView.getUint32(badValue); });
+    shouldThrowRangeError(() =&gt; { dataView.getFloat32(badValue); });
+    shouldThrowRangeError(() =&gt; { dataView.getFloat64(badValue); });
+    shouldThrowRangeError(() =&gt; { dataView.setInt8(badValue, 42); });
+    shouldThrowRangeError(() =&gt; { dataView.setInt16(badValue, 42); });
+    shouldThrowRangeError(() =&gt; { dataView.setInt32(badValue, 42); });
+    shouldThrowRangeError(() =&gt; { dataView.setUint8(badValue, 42); });
+    shouldThrowRangeError(() =&gt; { dataView.setUint16(badValue, 42); });
+    shouldThrowRangeError(() =&gt; { dataView.setUint32(badValue, 42); });
+    shouldThrowRangeError(() =&gt; { dataView.setFloat32(badValue, 42); });
+    shouldThrowRangeError(() =&gt; { dataView.setFloat64(badValue, 42); });
+}
</ins></span></pre></div>
<a id="trunkJSTeststest262yaml"></a>
<div class="modfile"><h4>Modified: trunk/JSTests/test262.yaml (208563 => 208564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/JSTests/test262.yaml        2016-11-10 21:42:33 UTC (rev 208563)
+++ trunk/JSTests/test262.yaml        2016-11-10 22:03:24 UTC (rev 208564)
</span><span class="lines">@@ -12886,9 +12886,9 @@
</span><span class="cx"> - path: test262/test/built-ins/ArrayBuffer/Symbol.species/symbol-species.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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/ArrayBuffer/allocation-limit.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/ArrayBuffer/allocation-limit.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/ArrayBuffer/data-allocation-after-object-creation.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/ArrayBuffer/data-allocation-after-object-creation.js
</span><span class="lines">@@ -12966,13 +12966,13 @@
</span><span class="cx"> - path: test262/test/built-ins/ArrayBuffer/length-is-absent.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/ArrayBuffer/length-is-too-large-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/ArrayBuffer/length-is-too-large-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/ArrayBuffer/negative-length-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/ArrayBuffer/negative-length-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/ArrayBuffer/newtarget-prototype-is-not-object.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/ArrayBuffer/newtarget-prototype-is-not-object.js
</span><span class="lines">@@ -13514,9 +13514,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/buffer-reference.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/byteoffset-is-negative-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/byteoffset-is-negative-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/constructor.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/constructor.js
</span><span class="lines">@@ -13554,13 +13554,13 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/excessive-bytelength-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/excessive-bytelength-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/excessive-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/excessive-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/extensibility.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/extensibility.js
</span><span class="lines">@@ -13578,13 +13578,13 @@
</span><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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/negative-bytelength-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/negative-bytelength-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/newtarget-undefined-throws.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/newtarget-undefined-throws.js
</span><span class="lines">@@ -13718,9 +13718,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat32/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat32/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat32/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat32/length.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/prototype/getFloat32/length.js
</span><span class="lines">@@ -13734,9 +13734,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat32/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat32/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat32/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat32/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat32/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="lines">@@ -13794,9 +13794,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat64/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat64/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat64/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat64/length.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/prototype/getFloat64/length.js
</span><span class="lines">@@ -13810,9 +13810,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat64/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat64/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat64/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat64/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getFloat64/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="lines">@@ -13870,9 +13870,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt16/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt16/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt16/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt16/length.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/prototype/getInt16/length.js
</span><span class="lines">@@ -13882,9 +13882,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt16/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt16/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt16/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt16/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt16/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="lines">@@ -13934,9 +13934,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt32/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt32/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt32/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt32/length.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/prototype/getInt32/length.js
</span><span class="lines">@@ -13946,9 +13946,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt32/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt32/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt32/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt32/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt32/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="lines">@@ -13998,9 +13998,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt8/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt8/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt8/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt8/length.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/prototype/getInt8/length.js
</span><span class="lines">@@ -14010,9 +14010,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt8/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt8/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt8/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt8/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getInt8/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="lines">@@ -14058,9 +14058,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint16/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint16/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint16/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint16/length.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/prototype/getUint16/length.js
</span><span class="lines">@@ -14070,9 +14070,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint16/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint16/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint16/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint16/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint16/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="lines">@@ -14122,9 +14122,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint32/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint32/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint32/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint32/length.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/prototype/getUint32/length.js
</span><span class="lines">@@ -14134,9 +14134,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint32/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint32/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint32/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint32/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint32/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="lines">@@ -14186,9 +14186,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint8/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint8/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint8/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint8/length.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/prototype/getUint8/length.js
</span><span class="lines">@@ -14198,9 +14198,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint8/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint8/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint8/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint8/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/getUint8/return-abrupt-from-tonumber-byteoffset-symbol.js
</span><span class="lines">@@ -14250,13 +14250,13 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat32/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat32/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat32/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat32/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat32/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat32/length.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/prototype/setFloat32/length.js
</span><span class="lines">@@ -14266,9 +14266,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat32/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat32/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat32/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat32/no-value-arg.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat32/no-value-arg.js
</span><span class="lines">@@ -14334,13 +14334,13 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat64/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat64/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat64/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat64/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat64/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat64/length.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/prototype/setFloat64/length.js
</span><span class="lines">@@ -14350,9 +14350,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat64/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat64/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat64/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat64/no-value-arg.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setFloat64/no-value-arg.js
</span><span class="lines">@@ -14418,13 +14418,13 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt16/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt16/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt16/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt16/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt16/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt16/length.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/prototype/setInt16/length.js
</span><span class="lines">@@ -14434,9 +14434,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt16/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt16/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt16/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt16/no-value-arg.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt16/no-value-arg.js
</span><span class="lines">@@ -14502,13 +14502,13 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt32/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt32/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt32/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt32/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt32/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt32/length.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/prototype/setInt32/length.js
</span><span class="lines">@@ -14518,9 +14518,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt32/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt32/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt32/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt32/no-value-arg.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt32/no-value-arg.js
</span><span class="lines">@@ -14586,13 +14586,13 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt8/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt8/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt8/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt8/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt8/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt8/length.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/prototype/setInt8/length.js
</span><span class="lines">@@ -14602,9 +14602,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt8/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt8/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt8/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt8/no-value-arg.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setInt8/no-value-arg.js
</span><span class="lines">@@ -14662,13 +14662,13 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint16/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint16/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint16/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint16/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint16/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint16/length.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/prototype/setUint16/length.js
</span><span class="lines">@@ -14678,9 +14678,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint16/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint16/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint16/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint16/no-value-arg.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint16/no-value-arg.js
</span><span class="lines">@@ -14746,13 +14746,13 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint32/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint32/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint32/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint32/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint32/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint32/length.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/prototype/setUint32/length.js
</span><span class="lines">@@ -14762,9 +14762,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint32/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint32/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint32/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint32/no-value-arg.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint32/no-value-arg.js
</span><span class="lines">@@ -14830,13 +14830,13 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint8/detached-buffer.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;, &quot;../../../../../harness/detachArrayBuffer.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint8/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint8/index-check-before-value-conversion.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint8/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint8/index-is-out-of-range.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint8/length.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/prototype/setUint8/length.js
</span><span class="lines">@@ -14846,9 +14846,9 @@
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint8/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;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint8/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint8/negative-byteoffset-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint8/no-value-arg.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../../../harness/assert.js&quot;, &quot;../../../../../harness/sta.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/DataView/prototype/setUint8/no-value-arg.js
</span><span class="lines">@@ -48286,9 +48286,9 @@
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/buffer-arg-bufferbyteoffset-throws-from-modulo-element-size.js
</span><span class="cx">   cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/buffer-arg-byteoffset-is-negative-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/buffer-arg-byteoffset-is-negative-throws.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/buffer-arg-byteoffset-is-negative-zero.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/buffer-arg-byteoffset-is-negative-zero.js
</span><span class="lines">@@ -48318,9 +48318,9 @@
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/buffer-arg-defined-length.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/buffer-arg-defined-negative-length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/buffer-arg-defined-negative-length.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/buffer-arg-defined-offset.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/buffer-arg-defined-offset.js
</span><span class="lines">@@ -48786,13 +48786,13 @@
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/length-arg-init-zeros.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], [:strict]
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/length-arg-is-infinity-throws-rangeerror.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/length-arg-is-infinity-throws-rangeerror.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/length-arg-is-negative-integer-throws-rangeerror.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], []
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], []
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/length-arg-is-negative-integer-throws-rangeerror.js
</span><del>-  cmd: runTest262 :fail, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], [:strict]
</del><ins>+  cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], [:strict]
</ins><span class="cx"> - path: test262/test/built-ins/TypedArrays/length-arg-is-symbol-throws.js
</span><span class="cx">   cmd: runTest262 :normal, &quot;NoException&quot;, [&quot;../../../harness/assert.js&quot;, &quot;../../../harness/sta.js&quot;, &quot;../../../harness/testTypedArray.js&quot;], []
</span><span class="cx"> - path: test262/test/built-ins/TypedArrays/length-arg-is-symbol-throws.js
</span></span></pre></div>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (208563 => 208564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-11-10 21:42:33 UTC (rev 208563)
+++ trunk/LayoutTests/ChangeLog        2016-11-10 22:03:24 UTC (rev 208564)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2016-11-10  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        test262: DataView / TypedArray methods should throw RangeErrors for negative numbers (ToIndex)
+        https://bugs.webkit.org/show_bug.cgi?id=164450
+
+        Reviewed by Darin Adler.
+
+        * fast/canvas/webgl/data-view-crash-expected.txt:
+        * fast/canvas/webgl/data-view-test-expected.txt:
+        Better error message.
+
</ins><span class="cx"> 2016-11-10  Eric Carlson  &lt;eric.carlson@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [MediaStream] apply constraints passed to getUserMedia()
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebgldataviewcrashexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/data-view-crash-expected.txt (208563 => 208564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/data-view-crash-expected.txt        2016-11-10 21:42:33 UTC (rev 208563)
+++ trunk/LayoutTests/fast/canvas/webgl/data-view-crash-expected.txt        2016-11-10 22:03:24 UTC (rev 208564)
</span><span class="lines">@@ -2,8 +2,8 @@
</span><span class="cx"> 
</span><span class="cx"> On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</span><span class="cx"> 
</span><del>-PASS view = new DataView(array.buffer, -4500000000) threw exception RangeError: Length out of range of buffer.
-PASS view = new DataView(array.buffer, -4500000000, 4500000000) threw exception RangeError: Length out of range of buffer.
</del><ins>+PASS view = new DataView(array.buffer, -4500000000) threw exception RangeError: byteOffset cannot be negative.
+PASS view = new DataView(array.buffer, -4500000000, 4500000000) threw exception RangeError: byteOffset cannot be negative.
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx"> 
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebgldataviewtestexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/data-view-test-expected.txt (208563 => 208564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/data-view-test-expected.txt        2016-11-10 21:42:33 UTC (rev 208563)
+++ trunk/LayoutTests/fast/canvas/webgl/data-view-test-expected.txt        2016-11-10 22:03:24 UTC (rev 208564)
</span><span class="lines">@@ -281,28 +281,28 @@
</span><span class="cx"> PASS view.getFloat64(10, false) is -NaN
</span><span class="cx"> 
</span><span class="cx"> Test for get methods that read from negative index
</span><del>-PASS view.getInt8(-1) threw exception RangeError: Out of bounds access.
-PASS view.getInt8(-2) threw exception RangeError: Out of bounds access.
-PASS view.getUint8(-1) threw exception RangeError: Out of bounds access.
-PASS view.getUint8(-2) threw exception RangeError: Out of bounds access.
-PASS view.getInt16(-1) threw exception RangeError: Out of bounds access.
-PASS view.getInt16(-2) threw exception RangeError: Out of bounds access.
-PASS view.getInt16(-3) threw exception RangeError: Out of bounds access.
-PASS view.getUint16(-1) threw exception RangeError: Out of bounds access.
-PASS view.getUint16(-2) threw exception RangeError: Out of bounds access.
-PASS view.getUint16(-3) threw exception RangeError: Out of bounds access.
-PASS view.getInt32(-1) threw exception RangeError: Out of bounds access.
-PASS view.getInt32(-3) threw exception RangeError: Out of bounds access.
-PASS view.getInt32(-5) threw exception RangeError: Out of bounds access.
-PASS view.getUint32(-1) threw exception RangeError: Out of bounds access.
-PASS view.getUint32(-3) threw exception RangeError: Out of bounds access.
-PASS view.getUint32(-5) threw exception RangeError: Out of bounds access.
-PASS view.getFloat32(-1) threw exception RangeError: Out of bounds access.
-PASS view.getFloat32(-3) threw exception RangeError: Out of bounds access.
-PASS view.getFloat32(-5) threw exception RangeError: Out of bounds access.
-PASS view.getFloat64(-1) threw exception RangeError: Out of bounds access.
-PASS view.getFloat64(-5) threw exception RangeError: Out of bounds access.
-PASS view.getFloat64(-9) threw exception RangeError: Out of bounds access.
</del><ins>+PASS view.getInt8(-1) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getInt8(-2) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getUint8(-1) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getUint8(-2) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getInt16(-1) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getInt16(-2) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getInt16(-3) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getUint16(-1) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getUint16(-2) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getUint16(-3) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getInt32(-1) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getInt32(-3) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getInt32(-5) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getUint32(-1) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getUint32(-3) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getUint32(-5) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getFloat32(-1) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getFloat32(-3) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getFloat32(-5) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getFloat64(-1) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getFloat64(-5) threw exception RangeError: byteOffset cannot be negative.
+PASS view.getFloat64(-9) threw exception RangeError: byteOffset cannot be negative.
</ins><span class="cx"> 
</span><span class="cx"> Test for wrong arguments passed to get methods
</span><span class="cx"> PASS view.getInt8() threw exception TypeError: Need at least one argument (the byteOffset).
</span><span class="lines">@@ -771,28 +771,28 @@
</span><span class="cx"> PASS view.getFloat64(10, false) is -NaN
</span><span class="cx"> 
</span><span class="cx"> Test for set methods that write to negative index
</span><del>-PASS view.setInt8(-1, 0) threw exception RangeError: Out of bounds access.
-PASS view.setInt8(-2, 0) threw exception RangeError: Out of bounds access.
-PASS view.setUint8(-1, 0) threw exception RangeError: Out of bounds access.
-PASS view.setUint8(-2, 0) threw exception RangeError: Out of bounds access.
-PASS view.setInt16(-1, 0) threw exception RangeError: Out of bounds access.
-PASS view.setInt16(-2, 0) threw exception RangeError: Out of bounds access.
-PASS view.setInt16(-3, 0) threw exception RangeError: Out of bounds access.
-PASS view.setUint16(-1, 0) threw exception RangeError: Out of bounds access.
-PASS view.setUint16(-2, 0) threw exception RangeError: Out of bounds access.
-PASS view.setUint16(-3, 0) threw exception RangeError: Out of bounds access.
-PASS view.setInt32(-1, 0) threw exception RangeError: Out of bounds access.
-PASS view.setInt32(-3, 0) threw exception RangeError: Out of bounds access.
-PASS view.setInt32(-5, 0) threw exception RangeError: Out of bounds access.
-PASS view.setUint32(-1, 0) threw exception RangeError: Out of bounds access.
-PASS view.setUint32(-3, 0) threw exception RangeError: Out of bounds access.
-PASS view.setUint32(-5, 0) threw exception RangeError: Out of bounds access.
-PASS view.setFloat32(-1, 0) threw exception RangeError: Out of bounds access.
-PASS view.setFloat32(-3, 0) threw exception RangeError: Out of bounds access.
-PASS view.setFloat32(-5, 0) threw exception RangeError: Out of bounds access.
-PASS view.setFloat64(-1, 0) threw exception RangeError: Out of bounds access.
-PASS view.setFloat64(-5, 0) threw exception RangeError: Out of bounds access.
-PASS view.setFloat64(-9, 0) threw exception RangeError: Out of bounds access.
</del><ins>+PASS view.setInt8(-1, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setInt8(-2, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setUint8(-1, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setUint8(-2, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setInt16(-1, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setInt16(-2, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setInt16(-3, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setUint16(-1, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setUint16(-2, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setUint16(-3, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setInt32(-1, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setInt32(-3, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setInt32(-5, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setUint32(-1, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setUint32(-3, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setUint32(-5, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setFloat32(-1, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setFloat32(-3, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setFloat32(-5, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setFloat64(-1, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setFloat64(-5, 0) threw exception RangeError: byteOffset cannot be negative.
+PASS view.setFloat64(-9, 0) threw exception RangeError: byteOffset cannot be negative.
</ins><span class="cx"> 
</span><span class="cx"> Test for wrong arguments passed to set methods
</span><span class="cx"> PASS view.setInt8() threw exception TypeError: Need at least two argument (the byteOffset and value).
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (208563 => 208564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2016-11-10 21:42:33 UTC (rev 208563)
+++ trunk/Source/JavaScriptCore/ChangeLog        2016-11-10 22:03:24 UTC (rev 208564)
</span><span class="lines">@@ -1,3 +1,28 @@
</span><ins>+2016-11-10  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        test262: DataView / TypedArray methods should throw RangeErrors for negative numbers (ToIndex)
+        https://bugs.webkit.org/show_bug.cgi?id=164450
+
+        Reviewed by Darin Adler.
+
+        * runtime/JSCJSValue.h:
+        * runtime/JSCJSValueInlines.h:
+        (JSC::JSValue::toIndex):
+        Introduce a method for toIndex, which is used by DataView and TypedArrays
+        to convert an argument to a number with the possibility of throwing
+        RangeErrors for negative values. We also throw RangeErrors for large
+        values, because wherever this is used we expect an unsigned.
+
+        * runtime/JSArrayBufferConstructor.cpp:
+        (JSC::constructArrayBuffer):
+        * runtime/JSDataViewPrototype.cpp:
+        (JSC::getData):
+        (JSC::setData):
+        * runtime/JSGenericTypedArrayViewConstructorInlines.h:
+        (JSC::constructGenericTypedArrayViewWithArguments):
+        (JSC::constructGenericTypedArrayView):
+        Use toIndex instead of toUint32 where required.
+
</ins><span class="cx"> 2016-11-10  Mark Lam  &lt;mark.lam@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         A few bits of minor code clean up.
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeJSArrayBufferConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/JSArrayBufferConstructor.cpp (208563 => 208564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/JSArrayBufferConstructor.cpp        2016-11-10 21:42:33 UTC (rev 208563)
+++ trunk/Source/JavaScriptCore/runtime/JSArrayBufferConstructor.cpp        2016-11-10 22:03:24 UTC (rev 208564)
</span><span class="lines">@@ -90,7 +90,7 @@
</span><span class="cx">     
</span><span class="cx">     unsigned length;
</span><span class="cx">     if (exec-&gt;argumentCount()) {
</span><del>-        length = exec-&gt;uncheckedArgument(0).toUInt32(exec);
</del><ins>+        length = exec-&gt;uncheckedArgument(0).toIndex(exec, &quot;length&quot;);
</ins><span class="cx">         RETURN_IF_EXCEPTION(scope, encodedJSValue());
</span><span class="cx">     } else {
</span><span class="cx">         // Although the documentation doesn't say so, it is in fact correct to say
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeJSCJSValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/JSCJSValue.h (208563 => 208564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/JSCJSValue.h        2016-11-10 21:42:33 UTC (rev 208563)
+++ trunk/Source/JavaScriptCore/runtime/JSCJSValue.h        2016-11-10 22:03:24 UTC (rev 208564)
</span><span class="lines">@@ -265,6 +265,7 @@
</span><span class="cx">     JS_EXPORT_PRIVATE double toIntegerPreserveNaN(ExecState*) const;
</span><span class="cx">     int32_t toInt32(ExecState*) const;
</span><span class="cx">     uint32_t toUInt32(ExecState*) const;
</span><ins>+    uint32_t toIndex(ExecState*, const char* errorName) const;
</ins><span class="cx">     double toLength(ExecState*) const;
</span><span class="cx"> 
</span><span class="cx">     // Floating point conversions (this is a convenience function for WebCore;
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeJSCJSValueInlinesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/JSCJSValueInlines.h (208563 => 208564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/JSCJSValueInlines.h        2016-11-10 21:42:33 UTC (rev 208563)
+++ trunk/Source/JavaScriptCore/runtime/JSCJSValueInlines.h        2016-11-10 22:03:24 UTC (rev 208564)
</span><span class="lines">@@ -25,13 +25,14 @@
</span><span class="cx"> 
</span><span class="cx"> #pragma once
</span><span class="cx"> 
</span><ins>+#include &quot;Error.h&quot;
</ins><span class="cx"> #include &quot;ExceptionHelpers.h&quot;
</span><span class="cx"> #include &quot;Identifier.h&quot;
</span><span class="cx"> #include &quot;InternalFunction.h&quot;
</span><span class="cx"> #include &quot;JSCJSValue.h&quot;
</span><span class="cx"> #include &quot;JSCellInlines.h&quot;
</span><ins>+#include &quot;JSFunction.h&quot;
</ins><span class="cx"> #include &quot;JSObject.h&quot;
</span><del>-#include &quot;JSFunction.h&quot;
</del><span class="cx"> #include &quot;JSStringInlines.h&quot;
</span><span class="cx"> #include &quot;MathCommon.h&quot;
</span><span class="cx"> #include &lt;wtf/text/StringImpl.h&gt;
</span><span class="lines">@@ -51,6 +52,27 @@
</span><span class="cx">     return toInt32(exec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+inline uint32_t JSValue::toIndex(ExecState* exec, const char* errorName) const
+{
+    VM&amp; vm = exec-&gt;vm();
+    auto scope = DECLARE_THROW_SCOPE(vm);
+
+    double d = toNumber(exec);
+
+    if (d &lt;= -1) {
+        throwException(exec, scope, createRangeError(exec, makeString(errorName, &quot; cannot be negative&quot;)));
+        return 0;
+    }
+    if (d &gt; std::numeric_limits&lt;unsigned&gt;::max()) {
+        throwException(exec, scope, createRangeError(exec, makeString(errorName, &quot; too large&quot;)));
+        return 0;
+    }
+
+    if (isInt32())
+        return asInt32();
+    return JSC::toInt32(d);
+}
+
</ins><span class="cx"> inline bool JSValue::isUInt32() const
</span><span class="cx"> {
</span><span class="cx">     return isInt32() &amp;&amp; asInt32() &gt;= 0;
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeJSDataViewPrototypecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/JSDataViewPrototype.cpp (208563 => 208564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/JSDataViewPrototype.cpp        2016-11-10 21:42:33 UTC (rev 208563)
+++ trunk/Source/JavaScriptCore/runtime/JSDataViewPrototype.cpp        2016-11-10 22:03:24 UTC (rev 208564)
</span><span class="lines">@@ -132,7 +132,7 @@
</span><span class="cx">     if (!exec-&gt;argumentCount())
</span><span class="cx">         return throwVMTypeError(exec, scope, ASCIILiteral(&quot;Need at least one argument (the byteOffset)&quot;));
</span><span class="cx">     
</span><del>-    unsigned byteOffset = exec-&gt;uncheckedArgument(0).toUInt32(exec);
</del><ins>+    unsigned byteOffset = exec-&gt;uncheckedArgument(0).toIndex(exec, &quot;byteOffset&quot;);
</ins><span class="cx">     RETURN_IF_EXCEPTION(scope, encodedJSValue());
</span><span class="cx">     
</span><span class="cx">     bool littleEndian = false;
</span><span class="lines">@@ -178,7 +178,7 @@
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 2)
</span><span class="cx">         return throwVMTypeError(exec, scope, ASCIILiteral(&quot;Need at least two argument (the byteOffset and value)&quot;));
</span><span class="cx">     
</span><del>-    unsigned byteOffset = exec-&gt;uncheckedArgument(0).toUInt32(exec);
</del><ins>+    unsigned byteOffset = exec-&gt;uncheckedArgument(0).toIndex(exec, &quot;byteOffset&quot;);
</ins><span class="cx">     RETURN_IF_EXCEPTION(scope, encodedJSValue());
</span><span class="cx"> 
</span><span class="cx">     const unsigned dataSize = sizeof(typename Adaptor::Type);
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeJSGenericTypedArrayViewConstructorInlinesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/JSGenericTypedArrayViewConstructorInlines.h (208563 => 208564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/JSGenericTypedArrayViewConstructorInlines.h        2016-11-10 21:42:33 UTC (rev 208563)
+++ trunk/Source/JavaScriptCore/runtime/JSGenericTypedArrayViewConstructorInlines.h        2016-11-10 22:03:24 UTC (rev 208564)
</span><span class="lines">@@ -129,9 +129,8 @@
</span><span class="cx">             length = lengthOpt.value();
</span><span class="cx">         else {
</span><span class="cx">             if ((buffer-&gt;byteLength() - offset) % ViewClass::elementSize)
</span><del>-                return throwRangeError(exec, scope, &quot;ArrayBuffer length minus the byteOffset is not a multiple of the element size&quot;);
</del><ins>+                return throwRangeError(exec, scope, ASCIILiteral(&quot;ArrayBuffer length minus the byteOffset is not a multiple of the element size&quot;));
</ins><span class="cx">             length = (buffer-&gt;byteLength() - offset) / ViewClass::elementSize;
</span><del>-
</del><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         return ViewClass::create(exec, structure, buffer, offset, length);
</span><span class="lines">@@ -198,20 +197,12 @@
</span><span class="cx">         
</span><span class="cx">         return result;
</span><span class="cx">     }
</span><del>-    
-    int length;
-    if (firstValue.isInt32())
-        length = firstValue.asInt32();
-    else if (!firstValue.isNumber())
</del><ins>+
+    if (!firstValue.isNumber())
</ins><span class="cx">         return throwTypeError(exec, scope, ASCIILiteral(&quot;Invalid array length argument&quot;));
</span><del>-    else {
-        length = static_cast&lt;int&gt;(firstValue.asNumber());
-        if (length != firstValue.asNumber())
-            return throwTypeError(exec, scope, ASCIILiteral(&quot;Invalid array length argument (fractional lengths not allowed)&quot;));
-    }
</del><span class="cx"> 
</span><del>-    if (length &lt; 0)
-        return throwRangeError(exec, scope, &quot;Requested length is negative&quot;);
</del><ins>+    unsigned length = firstValue.toIndex(exec, &quot;length&quot;);
+    RETURN_IF_EXCEPTION(scope, nullptr);
</ins><span class="cx">     return ViewClass::create(exec, structure, length);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -242,14 +233,13 @@
</span><span class="cx">     unsigned offset = 0;
</span><span class="cx">     Optional&lt;unsigned&gt; length = Nullopt;
</span><span class="cx">     if (jsDynamicCast&lt;JSArrayBuffer*&gt;(firstValue) &amp;&amp; argCount &gt; 1) {
</span><del>-        offset = exec-&gt;uncheckedArgument(1).toUInt32(exec);
</del><ins>+        offset = exec-&gt;uncheckedArgument(1).toIndex(exec, &quot;byteOffset&quot;);
</ins><span class="cx">         RETURN_IF_EXCEPTION(scope, encodedJSValue());
</span><span class="cx"> 
</span><span class="cx">         if (argCount &gt; 2) {
</span><del>-            length = exec-&gt;uncheckedArgument(2).toUInt32(exec);
</del><ins>+            length = exec-&gt;uncheckedArgument(2).toIndex(exec, ViewClass::TypedArrayStorageType == TypeDataView ? &quot;byteLength&quot; : &quot;length&quot;);
</ins><span class="cx">             RETURN_IF_EXCEPTION(scope, encodedJSValue());
</span><span class="cx">         }
</span><del>-
</del><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     return JSValue::encode(constructGenericTypedArrayViewWithArguments&lt;ViewClass&gt;(exec, structure, JSValue::encode(firstValue), offset, length));
</span></span></pre>
</div>
</div>

</body>
</html>