Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: LayoutTests/fast/canvas/webgl/data-view-test-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/canvas/webgl/data-view-test-expected.txt
diff --git a/LayoutTests/fast/canvas/webgl/data-view-test-expected.txt b/LayoutTests/fast/canvas/webgl/data-view-test-expected.txt
index 66c82ff2360c9b2057c88843d71165d800996661..3f15da464ffd56e33677af77559193825e715fa0 100644
--- a/LayoutTests/fast/canvas/webgl/data-view-test-expected.txt
+++ b/LayoutTests/fast/canvas/webgl/data-view-test-expected.txt
@@ -152,151 +152,151 @@ PASS view.getFloat64(10, false) is -NaN
Test for get methods that might read beyond range
PASS view.getInt8(0) is 0
-PASS view.getInt8(8) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt8(15) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getInt8(8) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt8(15) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getUint8(0) is 0
-PASS view.getUint8(8) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint8(15) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getUint8(8) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint8(15) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getInt16(0, true) is 256
-PASS view.getInt16(5, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt16(9, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt16(14, true) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getInt16(5, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt16(9, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt16(14, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getInt16(0) is 1
-PASS view.getInt16(5) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt16(9) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt16(14) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getInt16(5) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt16(9) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt16(14) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getUint16(0, true) is 256
-PASS view.getUint16(5, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint16(9, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint16(14, true) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getUint16(5, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint16(9, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint16(14, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getUint16(0) is 1
-PASS view.getUint16(5) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint16(9) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint16(14) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt32(0, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt32(3, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt32(6, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt32(9, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt32(12, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt32(0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt32(3) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt32(6) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt32(9) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt32(12) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint32(0, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint32(3, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint32(6, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint32(9, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint32(12, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint32(0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint32(3) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint32(6) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint32(9) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint32(12) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(0, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(3, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(7, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(10, true) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getUint16(5) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint16(9) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint16(14) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt32(0, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt32(3, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt32(6, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt32(9, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt32(12, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt32(0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt32(3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt32(6) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt32(9) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt32(12) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint32(0, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint32(3, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint32(6, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint32(9, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint32(12, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint32(0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint32(3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint32(6) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint32(9) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint32(12) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(0, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(3, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(7, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(10, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getFloat32(0, false) is 10
PASS view.getFloat32(3, false) is 10
PASS view.getFloat32(7, false) is 10
PASS view.getFloat32(10, false) is 10
-PASS view.getFloat32(0, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(3, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(7, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(10, true) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getFloat32(0, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(3, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(7, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(10, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getFloat32(0, false) is 1.2300000190734863
PASS view.getFloat32(3, false) is 1.2300000190734863
PASS view.getFloat32(7, false) is 1.2300000190734863
PASS view.getFloat32(10, false) is 1.2300000190734863
-PASS view.getFloat32(0, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(3, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(7, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(10, true) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getFloat32(0, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(3, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(7, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(10, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getFloat32(0, false) is -45621.37109375
PASS view.getFloat32(3, false) is -45621.37109375
PASS view.getFloat32(7, false) is -45621.37109375
PASS view.getFloat32(10, false) is -45621.37109375
-PASS view.getFloat32(0, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(3, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(7, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(10, true) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getFloat32(0, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(3, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(7, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(10, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getFloat32(0, false) is NaN
PASS view.getFloat32(3, false) is NaN
PASS view.getFloat32(7, false) is NaN
PASS view.getFloat32(10, false) is NaN
-PASS view.getFloat32(0, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(3, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(7, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(10, true) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getFloat32(0, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(3, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(7, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(10, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getFloat32(0, false) is -NaN
PASS view.getFloat32(3, false) is -NaN
PASS view.getFloat32(7, false) is -NaN
PASS view.getFloat32(10, false) is -NaN
-PASS view.getFloat64(0, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(3, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(7, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(10, true) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getFloat64(0, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(3, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(7, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(10, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getFloat64(0, false) is 10
PASS view.getFloat64(3, false) is 10
PASS view.getFloat64(7, false) is 10
PASS view.getFloat64(10, false) is 10
-PASS view.getFloat64(0, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(3, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(7, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(10, true) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getFloat64(0, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(3, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(7, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(10, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getFloat64(0, false) is 1.23
PASS view.getFloat64(3, false) is 1.23
PASS view.getFloat64(7, false) is 1.23
PASS view.getFloat64(10, false) is 1.23
-PASS view.getFloat64(0, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(3, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(7, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(10, true) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getFloat64(0, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(3, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(7, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(10, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getFloat64(0, false) is -6213576.4839
PASS view.getFloat64(3, false) is -6213576.4839
PASS view.getFloat64(7, false) is -6213576.4839
PASS view.getFloat64(10, false) is -6213576.4839
-PASS view.getFloat64(0, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(3, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(7, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(10, true) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getFloat64(0, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(3, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(7, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(10, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getFloat64(0, false) is NaN
PASS view.getFloat64(3, false) is NaN
PASS view.getFloat64(7, false) is NaN
PASS view.getFloat64(10, false) is NaN
-PASS view.getFloat64(0, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(3, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(7, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(10, true) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getFloat64(0, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(3, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(7, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(10, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.getFloat64(0, false) is -NaN
PASS view.getFloat64(3, false) is -NaN
PASS view.getFloat64(7, false) is -NaN
PASS view.getFloat64(10, false) is -NaN
Test for get methods that read from negative index
-PASS view.getInt8(-1) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt8(-2) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint8(-1) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint8(-2) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt16(-1) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt16(-2) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt16(-3) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint16(-1) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint16(-2) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint16(-3) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt32(-1) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt32(-3) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getInt32(-5) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint32(-1) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint32(-3) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getUint32(-5) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(-1) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(-3) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat32(-5) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(-1) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(-5) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.getFloat64(-9) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.getInt8(-1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt8(-2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint8(-1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint8(-2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt16(-1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt16(-2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt16(-3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint16(-1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint16(-2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint16(-3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt32(-1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt32(-3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getInt32(-5) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint32(-1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint32(-3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getUint32(-5) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(-1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(-3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat32(-5) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(-1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(-5) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.getFloat64(-9) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
Test for wrong arguments passed to get methods
PASS view.getInt8() threw exception TypeError: Not enough arguments.
@@ -557,52 +557,52 @@ PASS view.getFloat64(10, false) is -NaN
Test for set methods that might write beyond the range
PASS view.setInt8(0, 0) is undefined.
PASS view.getInt8(0) is 0
-PASS view.setInt8(8, -128) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt8(15, -1) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.setInt8(8, -128) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt8(15, -1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.setUint8(0, 0) is undefined.
PASS view.getUint8(0) is 0
-PASS view.setUint8(8, 128) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint8(15, 255) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.setUint8(8, 128) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint8(15, 255) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.setInt16(0, 256, true) is undefined.
PASS view.getInt16(0, true) is 256
-PASS view.setInt16(5, 26213, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt16(9, -32127, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt16(14, -2, true) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.setInt16(5, 26213, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt16(9, -32127, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt16(14, -2, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.setInt16(0, 1) is undefined.
PASS view.getInt16(0) is 1
-PASS view.setInt16(5, 25958) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt16(9, -32382) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt16(14, -257) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.setInt16(5, 25958) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt16(9, -32382) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt16(14, -257) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.setUint16(0, 256, true) is undefined.
PASS view.getUint16(0, true) is 256
-PASS view.setUint16(5, 26213, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint16(9, 33409, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint16(14, 65534, true) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.setUint16(5, 26213, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint16(9, 33409, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint16(14, 65534, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.setUint16(0, 1) is undefined.
PASS view.getUint16(0) is 1
-PASS view.setUint16(5, 25958) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint16(9, 33154) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint16(14, 65279) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt32(0, 50462976, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt32(3, 1717920771, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt32(6, -2122291354, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt32(9, -58490239, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt32(12, -66052, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt32(0, 66051) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt32(3, 56911206) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt32(6, 1718059137) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt32(9, -2122152964) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt32(12, -50462977) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint32(0, 50462976, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint32(3, 1717920771, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint32(6, 2172675942, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint32(9, 4236477057, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint32(12, 4294901244, true) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint32(0, 66051) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint32(3, 56911206) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint32(6, 1718059137) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint32(9, 2172814332) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint32(12, 4244504319) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.setUint16(5, 25958) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint16(9, 33154) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint16(14, 65279) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt32(0, 50462976, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt32(3, 1717920771, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt32(6, -2122291354, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt32(9, -58490239, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt32(12, -66052, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt32(0, 66051) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt32(3, 56911206) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt32(6, 1718059137) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt32(9, -2122152964) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt32(12, -50462977) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint32(0, 50462976, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint32(3, 1717920771, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint32(6, 2172675942, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint32(9, 4236477057, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint32(12, 4294901244, true) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint32(0, 66051) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint32(3, 56911206) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint32(6, 1718059137) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint32(9, 2172814332) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint32(12, 4244504319) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS view.setFloat32(0, 10, true) is undefined.
PASS view.getFloat32(0, true) is 10
PASS view.setFloat32(3, 10, true) is undefined.
@@ -765,28 +765,28 @@ PASS view.setFloat64(10, -NaN, false) is undefined.
PASS view.getFloat64(10, false) is -NaN
Test for set methods that write to negative index
-PASS view.setInt8(-1, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt8(-2, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint8(-1, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint8(-2, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt16(-1, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt16(-2, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt16(-3, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint16(-1, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint16(-2, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint16(-3, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt32(-1, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt32(-3, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setInt32(-5, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint32(-1, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint32(-3, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setUint32(-5, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setFloat32(-1, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setFloat32(-3, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setFloat32(-5, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setFloat64(-1, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setFloat64(-5, 0) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS view.setFloat64(-9, 0) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS view.setInt8(-1, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt8(-2, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint8(-1, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint8(-2, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt16(-1, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt16(-2, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt16(-3, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint16(-1, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint16(-2, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint16(-3, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt32(-1, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt32(-3, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setInt32(-5, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint32(-1, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint32(-3, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setUint32(-5, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setFloat32(-1, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setFloat32(-3, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setFloat32(-5, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setFloat64(-1, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setFloat64(-5, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS view.setFloat64(-9, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
Test for wrong arguments passed to set methods
PASS view.setInt8() threw exception TypeError: Not enough arguments.

Powered by Google App Engine
This is Rietveld 408576698