3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Test for constructor not called as a function
7 PASS DataView(new ArrayBuffer) threw exception
9 Test for constructor taking 1 argument
10 PASS view = new DataView(arayBuffer) is defined.
11 PASS view.byteOffset is 0
12 PASS view.byteLength is 2
14 Test for constructor taking 2 arguments
15 PASS view = new DataView(arayBuffer, 1) is defined.
16 PASS view.byteOffset is 1
17 PASS view.byteLength is 1
19 Test for constructor taking 3 arguments
20 PASS view = new DataView(arayBuffer, 0, 1) is defined.
21 PASS view.byteOffset is 0
22 PASS view.byteLength is 1
24 Test for constructor throwing exception
25 PASS view = new DataView(arayBuffer, 0, 3) threw exception RangeError: Invalid data view length.
26 PASS view = new DataView(arayBuffer, 1, 2) threw exception RangeError: Invalid data view length.
27 PASS view = new DataView(arayBuffer, 2, 1) threw exception RangeError: Invalid data view length.
29 Test for get methods that work
30 PASS view.getInt8(0) is 0
31 PASS view.getInt8(8) is -128
32 PASS view.getInt8(15) is -1
33 PASS view.getUint8(0) is 0
34 PASS view.getUint8(8) is 128
35 PASS view.getUint8(15) is 255
36 PASS view.getInt16(0, true) is 256
37 PASS view.getInt16(5, true) is 26213
38 PASS view.getInt16(9, true) is -32127
39 PASS view.getInt16(14, true) is -2
40 PASS view.getInt16(0) is 1
41 PASS view.getInt16(5) is 25958
42 PASS view.getInt16(9) is -32382
43 PASS view.getInt16(14) is -257
44 PASS view.getUint16(0, true) is 256
45 PASS view.getUint16(5, true) is 26213
46 PASS view.getUint16(9, true) is 33409
47 PASS view.getUint16(14, true) is 65534
48 PASS view.getUint16(0) is 1
49 PASS view.getUint16(5) is 25958
50 PASS view.getUint16(9) is 33154
51 PASS view.getUint16(14) is 65279
52 PASS view.getInt32(0, true) is 50462976
53 PASS view.getInt32(3, true) is 1717920771
54 PASS view.getInt32(6, true) is -2122291354
55 PASS view.getInt32(9, true) is -58490239
56 PASS view.getInt32(12, true) is -66052
57 PASS view.getInt32(0) is 66051
58 PASS view.getInt32(3) is 56911206
59 PASS view.getInt32(6) is 1718059137
60 PASS view.getInt32(9) is -2122152964
61 PASS view.getInt32(12) is -50462977
62 PASS view.getUint32(0, true) is 50462976
63 PASS view.getUint32(3, true) is 1717920771
64 PASS view.getUint32(6, true) is 2172675942
65 PASS view.getUint32(9, true) is 4236477057
66 PASS view.getUint32(12, true) is 4294901244
67 PASS view.getUint32(0) is 66051
68 PASS view.getUint32(3) is 56911206
69 PASS view.getUint32(6) is 1718059137
70 PASS view.getUint32(9) is 2172814332
71 PASS view.getUint32(12) is 4244504319
72 PASS view.getFloat32(0, true) is 10
73 PASS view.getFloat32(3, true) is 10
74 PASS view.getFloat32(7, true) is 10
75 PASS view.getFloat32(10, true) is 10
76 PASS view.getFloat32(0, false) is 10
77 PASS view.getFloat32(3, false) is 10
78 PASS view.getFloat32(7, false) is 10
79 PASS view.getFloat32(10, false) is 10
80 PASS view.getFloat32(0, true) is 1.2300000190734863
81 PASS view.getFloat32(3, true) is 1.2300000190734863
82 PASS view.getFloat32(7, true) is 1.2300000190734863
83 PASS view.getFloat32(10, true) is 1.2300000190734863
84 PASS view.getFloat32(0, false) is 1.2300000190734863
85 PASS view.getFloat32(3, false) is 1.2300000190734863
86 PASS view.getFloat32(7, false) is 1.2300000190734863
87 PASS view.getFloat32(10, false) is 1.2300000190734863
88 PASS view.getFloat32(0, true) is -45621.37109375
89 PASS view.getFloat32(3, true) is -45621.37109375
90 PASS view.getFloat32(7, true) is -45621.37109375
91 PASS view.getFloat32(10, true) is -45621.37109375
92 PASS view.getFloat32(0, false) is -45621.37109375
93 PASS view.getFloat32(3, false) is -45621.37109375
94 PASS view.getFloat32(7, false) is -45621.37109375
95 PASS view.getFloat32(10, false) is -45621.37109375
96 PASS view.getFloat32(0, true) is NaN
97 PASS view.getFloat32(3, true) is NaN
98 PASS view.getFloat32(7, true) is NaN
99 PASS view.getFloat32(10, true) is NaN
100 PASS view.getFloat32(0, false) is NaN
101 PASS view.getFloat32(3, false) is NaN
102 PASS view.getFloat32(7, false) is NaN
103 PASS view.getFloat32(10, false) is NaN
104 PASS view.getFloat32(0, true) is -NaN
105 PASS view.getFloat32(3, true) is -NaN
106 PASS view.getFloat32(7, true) is -NaN
107 PASS view.getFloat32(10, true) is -NaN
108 PASS view.getFloat32(0, false) is -NaN
109 PASS view.getFloat32(3, false) is -NaN
110 PASS view.getFloat32(7, false) is -NaN
111 PASS view.getFloat32(10, false) is -NaN
112 PASS view.getFloat64(0, true) is 10
113 PASS view.getFloat64(3, true) is 10
114 PASS view.getFloat64(7, true) is 10
115 PASS view.getFloat64(10, true) is 10
116 PASS view.getFloat64(0, false) is 10
117 PASS view.getFloat64(3, false) is 10
118 PASS view.getFloat64(7, false) is 10
119 PASS view.getFloat64(10, false) is 10
120 PASS view.getFloat64(0, true) is 1.23
121 PASS view.getFloat64(3, true) is 1.23
122 PASS view.getFloat64(7, true) is 1.23
123 PASS view.getFloat64(10, true) is 1.23
124 PASS view.getFloat64(0, false) is 1.23
125 PASS view.getFloat64(3, false) is 1.23
126 PASS view.getFloat64(7, false) is 1.23
127 PASS view.getFloat64(10, false) is 1.23
128 PASS view.getFloat64(0, true) is -6213576.4839
129 PASS view.getFloat64(3, true) is -6213576.4839
130 PASS view.getFloat64(7, true) is -6213576.4839
131 PASS view.getFloat64(10, true) is -6213576.4839
132 PASS view.getFloat64(0, false) is -6213576.4839
133 PASS view.getFloat64(3, false) is -6213576.4839
134 PASS view.getFloat64(7, false) is -6213576.4839
135 PASS view.getFloat64(10, false) is -6213576.4839
136 PASS view.getFloat64(0, true) is NaN
137 PASS view.getFloat64(3, true) is NaN
138 PASS view.getFloat64(7, true) is NaN
139 PASS view.getFloat64(10, true) is NaN
140 PASS view.getFloat64(0, false) is NaN
141 PASS view.getFloat64(3, false) is NaN
142 PASS view.getFloat64(7, false) is NaN
143 PASS view.getFloat64(10, false) is NaN
144 PASS view.getFloat64(0, true) is -NaN
145 PASS view.getFloat64(3, true) is -NaN
146 PASS view.getFloat64(7, true) is -NaN
147 PASS view.getFloat64(10, true) is -NaN
148 PASS view.getFloat64(0, false) is -NaN
149 PASS view.getFloat64(3, false) is -NaN
150 PASS view.getFloat64(7, false) is -NaN
151 PASS view.getFloat64(10, false) is -NaN
153 Test for get methods that might read beyond range
154 PASS view.getInt8(0) is 0
155 PASS view.getInt8(8) threw exception RangeError: Offset is outside the bounds of the DataView.
156 PASS view.getInt8(15) threw exception RangeError: Offset is outside the bounds of the DataView.
157 PASS view.getUint8(0) is 0
158 PASS view.getUint8(8) threw exception RangeError: Offset is outside the bounds of the DataView.
159 PASS view.getUint8(15) threw exception RangeError: Offset is outside the bounds of the DataView.
160 PASS view.getInt16(0, true) is 256
161 PASS view.getInt16(5, true) threw exception RangeError: Offset is outside the bounds of the DataView.
162 PASS view.getInt16(9, true) threw exception RangeError: Offset is outside the bounds of the DataView.
163 PASS view.getInt16(14, true) threw exception RangeError: Offset is outside the bounds of the DataView.
164 PASS view.getInt16(0) is 1
165 PASS view.getInt16(5) threw exception RangeError: Offset is outside the bounds of the DataView.
166 PASS view.getInt16(9) threw exception RangeError: Offset is outside the bounds of the DataView.
167 PASS view.getInt16(14) threw exception RangeError: Offset is outside the bounds of the DataView.
168 PASS view.getUint16(0, true) is 256
169 PASS view.getUint16(5, true) threw exception RangeError: Offset is outside the bounds of the DataView.
170 PASS view.getUint16(9, true) threw exception RangeError: Offset is outside the bounds of the DataView.
171 PASS view.getUint16(14, true) threw exception RangeError: Offset is outside the bounds of the DataView.
172 PASS view.getUint16(0) is 1
173 PASS view.getUint16(5) threw exception RangeError: Offset is outside the bounds of the DataView.
174 PASS view.getUint16(9) threw exception RangeError: Offset is outside the bounds of the DataView.
175 PASS view.getUint16(14) threw exception RangeError: Offset is outside the bounds of the DataView.
176 PASS view.getInt32(0, true) threw exception RangeError: Offset is outside the bounds of the DataView.
177 PASS view.getInt32(3, true) threw exception RangeError: Offset is outside the bounds of the DataView.
178 PASS view.getInt32(6, true) threw exception RangeError: Offset is outside the bounds of the DataView.
179 PASS view.getInt32(9, true) threw exception RangeError: Offset is outside the bounds of the DataView.
180 PASS view.getInt32(12, true) threw exception RangeError: Offset is outside the bounds of the DataView.
181 PASS view.getInt32(0) threw exception RangeError: Offset is outside the bounds of the DataView.
182 PASS view.getInt32(3) threw exception RangeError: Offset is outside the bounds of the DataView.
183 PASS view.getInt32(6) threw exception RangeError: Offset is outside the bounds of the DataView.
184 PASS view.getInt32(9) threw exception RangeError: Offset is outside the bounds of the DataView.
185 PASS view.getInt32(12) threw exception RangeError: Offset is outside the bounds of the DataView.
186 PASS view.getUint32(0, true) threw exception RangeError: Offset is outside the bounds of the DataView.
187 PASS view.getUint32(3, true) threw exception RangeError: Offset is outside the bounds of the DataView.
188 PASS view.getUint32(6, true) threw exception RangeError: Offset is outside the bounds of the DataView.
189 PASS view.getUint32(9, true) threw exception RangeError: Offset is outside the bounds of the DataView.
190 PASS view.getUint32(12, true) threw exception RangeError: Offset is outside the bounds of the DataView.
191 PASS view.getUint32(0) threw exception RangeError: Offset is outside the bounds of the DataView.
192 PASS view.getUint32(3) threw exception RangeError: Offset is outside the bounds of the DataView.
193 PASS view.getUint32(6) threw exception RangeError: Offset is outside the bounds of the DataView.
194 PASS view.getUint32(9) threw exception RangeError: Offset is outside the bounds of the DataView.
195 PASS view.getUint32(12) threw exception RangeError: Offset is outside the bounds of the DataView.
196 PASS view.getFloat32(0, true) threw exception RangeError: Offset is outside the bounds of the DataView.
197 PASS view.getFloat32(3, true) threw exception RangeError: Offset is outside the bounds of the DataView.
198 PASS view.getFloat32(7, true) threw exception RangeError: Offset is outside the bounds of the DataView.
199 PASS view.getFloat32(10, true) threw exception RangeError: Offset is outside the bounds of the DataView.
200 PASS view.getFloat32(0, false) is 10
201 PASS view.getFloat32(3, false) is 10
202 PASS view.getFloat32(7, false) is 10
203 PASS view.getFloat32(10, false) is 10
204 PASS view.getFloat32(0, true) threw exception RangeError: Offset is outside the bounds of the DataView.
205 PASS view.getFloat32(3, true) threw exception RangeError: Offset is outside the bounds of the DataView.
206 PASS view.getFloat32(7, true) threw exception RangeError: Offset is outside the bounds of the DataView.
207 PASS view.getFloat32(10, true) threw exception RangeError: Offset is outside the bounds of the DataView.
208 PASS view.getFloat32(0, false) is 1.2300000190734863
209 PASS view.getFloat32(3, false) is 1.2300000190734863
210 PASS view.getFloat32(7, false) is 1.2300000190734863
211 PASS view.getFloat32(10, false) is 1.2300000190734863
212 PASS view.getFloat32(0, true) threw exception RangeError: Offset is outside the bounds of the DataView.
213 PASS view.getFloat32(3, true) threw exception RangeError: Offset is outside the bounds of the DataView.
214 PASS view.getFloat32(7, true) threw exception RangeError: Offset is outside the bounds of the DataView.
215 PASS view.getFloat32(10, true) threw exception RangeError: Offset is outside the bounds of the DataView.
216 PASS view.getFloat32(0, false) is -45621.37109375
217 PASS view.getFloat32(3, false) is -45621.37109375
218 PASS view.getFloat32(7, false) is -45621.37109375
219 PASS view.getFloat32(10, false) is -45621.37109375
220 PASS view.getFloat32(0, true) threw exception RangeError: Offset is outside the bounds of the DataView.
221 PASS view.getFloat32(3, true) threw exception RangeError: Offset is outside the bounds of the DataView.
222 PASS view.getFloat32(7, true) threw exception RangeError: Offset is outside the bounds of the DataView.
223 PASS view.getFloat32(10, true) threw exception RangeError: Offset is outside the bounds of the DataView.
224 PASS view.getFloat32(0, false) is NaN
225 PASS view.getFloat32(3, false) is NaN
226 PASS view.getFloat32(7, false) is NaN
227 PASS view.getFloat32(10, false) is NaN
228 PASS view.getFloat32(0, true) threw exception RangeError: Offset is outside the bounds of the DataView.
229 PASS view.getFloat32(3, true) threw exception RangeError: Offset is outside the bounds of the DataView.
230 PASS view.getFloat32(7, true) threw exception RangeError: Offset is outside the bounds of the DataView.
231 PASS view.getFloat32(10, true) threw exception RangeError: Offset is outside the bounds of the DataView.
232 PASS view.getFloat32(0, false) is -NaN
233 PASS view.getFloat32(3, false) is -NaN
234 PASS view.getFloat32(7, false) is -NaN
235 PASS view.getFloat32(10, false) is -NaN
236 PASS view.getFloat64(0, true) threw exception RangeError: Offset is outside the bounds of the DataView.
237 PASS view.getFloat64(3, true) threw exception RangeError: Offset is outside the bounds of the DataView.
238 PASS view.getFloat64(7, true) threw exception RangeError: Offset is outside the bounds of the DataView.
239 PASS view.getFloat64(10, true) threw exception RangeError: Offset is outside the bounds of the DataView.
240 PASS view.getFloat64(0, false) is 10
241 PASS view.getFloat64(3, false) is 10
242 PASS view.getFloat64(7, false) is 10
243 PASS view.getFloat64(10, false) is 10
244 PASS view.getFloat64(0, true) threw exception RangeError: Offset is outside the bounds of the DataView.
245 PASS view.getFloat64(3, true) threw exception RangeError: Offset is outside the bounds of the DataView.
246 PASS view.getFloat64(7, true) threw exception RangeError: Offset is outside the bounds of the DataView.
247 PASS view.getFloat64(10, true) threw exception RangeError: Offset is outside the bounds of the DataView.
248 PASS view.getFloat64(0, false) is 1.23
249 PASS view.getFloat64(3, false) is 1.23
250 PASS view.getFloat64(7, false) is 1.23
251 PASS view.getFloat64(10, false) is 1.23
252 PASS view.getFloat64(0, true) threw exception RangeError: Offset is outside the bounds of the DataView.
253 PASS view.getFloat64(3, true) threw exception RangeError: Offset is outside the bounds of the DataView.
254 PASS view.getFloat64(7, true) threw exception RangeError: Offset is outside the bounds of the DataView.
255 PASS view.getFloat64(10, true) threw exception RangeError: Offset is outside the bounds of the DataView.
256 PASS view.getFloat64(0, false) is -6213576.4839
257 PASS view.getFloat64(3, false) is -6213576.4839
258 PASS view.getFloat64(7, false) is -6213576.4839
259 PASS view.getFloat64(10, false) is -6213576.4839
260 PASS view.getFloat64(0, true) threw exception RangeError: Offset is outside the bounds of the DataView.
261 PASS view.getFloat64(3, true) threw exception RangeError: Offset is outside the bounds of the DataView.
262 PASS view.getFloat64(7, true) threw exception RangeError: Offset is outside the bounds of the DataView.
263 PASS view.getFloat64(10, true) threw exception RangeError: Offset is outside the bounds of the DataView.
264 PASS view.getFloat64(0, false) is NaN
265 PASS view.getFloat64(3, false) is NaN
266 PASS view.getFloat64(7, false) is NaN
267 PASS view.getFloat64(10, false) is NaN
268 PASS view.getFloat64(0, true) threw exception RangeError: Offset is outside the bounds of the DataView.
269 PASS view.getFloat64(3, true) threw exception RangeError: Offset is outside the bounds of the DataView.
270 PASS view.getFloat64(7, true) threw exception RangeError: Offset is outside the bounds of the DataView.
271 PASS view.getFloat64(10, true) threw exception RangeError: Offset is outside the bounds of the DataView.
272 PASS view.getFloat64(0, false) is -NaN
273 PASS view.getFloat64(3, false) is -NaN
274 PASS view.getFloat64(7, false) is -NaN
275 PASS view.getFloat64(10, false) is -NaN
277 Test for get methods that read from negative index
278 PASS view.getInt8(-1) threw exception RangeError: Offset is outside the bounds of the DataView.
279 PASS view.getInt8(-2) threw exception RangeError: Offset is outside the bounds of the DataView.
280 PASS view.getUint8(-1) threw exception RangeError: Offset is outside the bounds of the DataView.
281 PASS view.getUint8(-2) threw exception RangeError: Offset is outside the bounds of the DataView.
282 PASS view.getInt16(-1) threw exception RangeError: Offset is outside the bounds of the DataView.
283 PASS view.getInt16(-2) threw exception RangeError: Offset is outside the bounds of the DataView.
284 PASS view.getInt16(-3) threw exception RangeError: Offset is outside the bounds of the DataView.
285 PASS view.getUint16(-1) threw exception RangeError: Offset is outside the bounds of the DataView.
286 PASS view.getUint16(-2) threw exception RangeError: Offset is outside the bounds of the DataView.
287 PASS view.getUint16(-3) threw exception RangeError: Offset is outside the bounds of the DataView.
288 PASS view.getInt32(-1) threw exception RangeError: Offset is outside the bounds of the DataView.
289 PASS view.getInt32(-3) threw exception RangeError: Offset is outside the bounds of the DataView.
290 PASS view.getInt32(-5) threw exception RangeError: Offset is outside the bounds of the DataView.
291 PASS view.getUint32(-1) threw exception RangeError: Offset is outside the bounds of the DataView.
292 PASS view.getUint32(-3) threw exception RangeError: Offset is outside the bounds of the DataView.
293 PASS view.getUint32(-5) threw exception RangeError: Offset is outside the bounds of the DataView.
294 PASS view.getFloat32(-1) threw exception RangeError: Offset is outside the bounds of the DataView.
295 PASS view.getFloat32(-3) threw exception RangeError: Offset is outside the bounds of the DataView.
296 PASS view.getFloat32(-5) threw exception RangeError: Offset is outside the bounds of the DataView.
297 PASS view.getFloat64(-1) threw exception RangeError: Offset is outside the bounds of the DataView.
298 PASS view.getFloat64(-5) threw exception RangeError: Offset is outside the bounds of the DataView.
299 PASS view.getFloat64(-9) threw exception RangeError: Offset is outside the bounds of the DataView.
301 Test for wrong arguments passed to get methods
302 PASS view.getInt8() threw exception TypeError: invalid_argument.
303 PASS view.getUint8() threw exception TypeError: invalid_argument.
304 PASS view.getInt16() threw exception TypeError: invalid_argument.
305 PASS view.getUint16() threw exception TypeError: invalid_argument.
306 PASS view.getInt32() threw exception TypeError: invalid_argument.
307 PASS view.getUint32() threw exception TypeError: invalid_argument.
308 PASS view.getFloat32() threw exception TypeError: invalid_argument.
309 PASS view.getFloat64() threw exception TypeError: invalid_argument.
311 Test for set methods that work
312 PASS view.setInt8(0, 0) is undefined.
313 PASS view.getInt8(0) is 0
314 PASS view.setInt8(8, -128) is undefined.
315 PASS view.getInt8(8) is -128
316 PASS view.setInt8(15, -1) is undefined.
317 PASS view.getInt8(15) is -1
318 PASS view.setUint8(0, 0) is undefined.
319 PASS view.getUint8(0) is 0
320 PASS view.setUint8(8, 128) is undefined.
321 PASS view.getUint8(8) is 128
322 PASS view.setUint8(15, 255) is undefined.
323 PASS view.getUint8(15) is 255
324 PASS view.setInt16(0, 256, true) is undefined.
325 PASS view.getInt16(0, true) is 256
326 PASS view.setInt16(5, 26213, true) is undefined.
327 PASS view.getInt16(5, true) is 26213
328 PASS view.setInt16(9, -32127, true) is undefined.
329 PASS view.getInt16(9, true) is -32127
330 PASS view.setInt16(14, -2, true) is undefined.
331 PASS view.getInt16(14, true) is -2
332 PASS view.setInt16(0, 1) is undefined.
333 PASS view.getInt16(0) is 1
334 PASS view.setInt16(5, 25958) is undefined.
335 PASS view.getInt16(5) is 25958
336 PASS view.setInt16(9, -32382) is undefined.
337 PASS view.getInt16(9) is -32382
338 PASS view.setInt16(14, -257) is undefined.
339 PASS view.getInt16(14) is -257
340 PASS view.setUint16(0, 256, true) is undefined.
341 PASS view.getUint16(0, true) is 256
342 PASS view.setUint16(5, 26213, true) is undefined.
343 PASS view.getUint16(5, true) is 26213
344 PASS view.setUint16(9, 33409, true) is undefined.
345 PASS view.getUint16(9, true) is 33409
346 PASS view.setUint16(14, 65534, true) is undefined.
347 PASS view.getUint16(14, true) is 65534
348 PASS view.setUint16(0, 1) is undefined.
349 PASS view.getUint16(0) is 1
350 PASS view.setUint16(5, 25958) is undefined.
351 PASS view.getUint16(5) is 25958
352 PASS view.setUint16(9, 33154) is undefined.
353 PASS view.getUint16(9) is 33154
354 PASS view.setUint16(14, 65279) is undefined.
355 PASS view.getUint16(14) is 65279
356 PASS view.setInt32(0, 50462976, true) is undefined.
357 PASS view.getInt32(0, true) is 50462976
358 PASS view.setInt32(3, 1717920771, true) is undefined.
359 PASS view.getInt32(3, true) is 1717920771
360 PASS view.setInt32(6, -2122291354, true) is undefined.
361 PASS view.getInt32(6, true) is -2122291354
362 PASS view.setInt32(9, -58490239, true) is undefined.
363 PASS view.getInt32(9, true) is -58490239
364 PASS view.setInt32(12, -66052, true) is undefined.
365 PASS view.getInt32(12, true) is -66052
366 PASS view.setInt32(0, 66051) is undefined.
367 PASS view.getInt32(0) is 66051
368 PASS view.setInt32(3, 56911206) is undefined.
369 PASS view.getInt32(3) is 56911206
370 PASS view.setInt32(6, 1718059137) is undefined.
371 PASS view.getInt32(6) is 1718059137
372 PASS view.setInt32(9, -2122152964) is undefined.
373 PASS view.getInt32(9) is -2122152964
374 PASS view.setInt32(12, -50462977) is undefined.
375 PASS view.getInt32(12) is -50462977
376 PASS view.setUint32(0, 50462976, true) is undefined.
377 PASS view.getUint32(0, true) is 50462976
378 PASS view.setUint32(3, 1717920771, true) is undefined.
379 PASS view.getUint32(3, true) is 1717920771
380 PASS view.setUint32(6, 2172675942, true) is undefined.
381 PASS view.getUint32(6, true) is 2172675942
382 PASS view.setUint32(9, 4236477057, true) is undefined.
383 PASS view.getUint32(9, true) is 4236477057
384 PASS view.setUint32(12, 4294901244, true) is undefined.
385 PASS view.getUint32(12, true) is 4294901244
386 PASS view.setUint32(0, 66051) is undefined.
387 PASS view.getUint32(0) is 66051
388 PASS view.setUint32(3, 56911206) is undefined.
389 PASS view.getUint32(3) is 56911206
390 PASS view.setUint32(6, 1718059137) is undefined.
391 PASS view.getUint32(6) is 1718059137
392 PASS view.setUint32(9, 2172814332) is undefined.
393 PASS view.getUint32(9) is 2172814332
394 PASS view.setUint32(12, 4244504319) is undefined.
395 PASS view.getUint32(12) is 4244504319
396 PASS view.setFloat32(0, 10, true) is undefined.
397 PASS view.getFloat32(0, true) is 10
398 PASS view.setFloat32(3, 10, true) is undefined.
399 PASS view.getFloat32(3, true) is 10
400 PASS view.setFloat32(7, 10, true) is undefined.
401 PASS view.getFloat32(7, true) is 10
402 PASS view.setFloat32(10, 10, true) is undefined.
403 PASS view.getFloat32(10, true) is 10
404 PASS view.setFloat32(0, 10, false) is undefined.
405 PASS view.getFloat32(0, false) is 10
406 PASS view.setFloat32(3, 10, false) is undefined.
407 PASS view.getFloat32(3, false) is 10
408 PASS view.setFloat32(7, 10, false) is undefined.
409 PASS view.getFloat32(7, false) is 10
410 PASS view.setFloat32(10, 10, false) is undefined.
411 PASS view.getFloat32(10, false) is 10
412 PASS view.setFloat32(0, 1.2300000190734863, true) is undefined.
413 PASS view.getFloat32(0, true) is 1.2300000190734863
414 PASS view.setFloat32(3, 1.2300000190734863, true) is undefined.
415 PASS view.getFloat32(3, true) is 1.2300000190734863
416 PASS view.setFloat32(7, 1.2300000190734863, true) is undefined.
417 PASS view.getFloat32(7, true) is 1.2300000190734863
418 PASS view.setFloat32(10, 1.2300000190734863, true) is undefined.
419 PASS view.getFloat32(10, true) is 1.2300000190734863
420 PASS view.setFloat32(0, 1.2300000190734863, false) is undefined.
421 PASS view.getFloat32(0, false) is 1.2300000190734863
422 PASS view.setFloat32(3, 1.2300000190734863, false) is undefined.
423 PASS view.getFloat32(3, false) is 1.2300000190734863
424 PASS view.setFloat32(7, 1.2300000190734863, false) is undefined.
425 PASS view.getFloat32(7, false) is 1.2300000190734863
426 PASS view.setFloat32(10, 1.2300000190734863, false) is undefined.
427 PASS view.getFloat32(10, false) is 1.2300000190734863
428 PASS view.setFloat32(0, -45621.37109375, true) is undefined.
429 PASS view.getFloat32(0, true) is -45621.37109375
430 PASS view.setFloat32(3, -45621.37109375, true) is undefined.
431 PASS view.getFloat32(3, true) is -45621.37109375
432 PASS view.setFloat32(7, -45621.37109375, true) is undefined.
433 PASS view.getFloat32(7, true) is -45621.37109375
434 PASS view.setFloat32(10, -45621.37109375, true) is undefined.
435 PASS view.getFloat32(10, true) is -45621.37109375
436 PASS view.setFloat32(0, -45621.37109375, false) is undefined.
437 PASS view.getFloat32(0, false) is -45621.37109375
438 PASS view.setFloat32(3, -45621.37109375, false) is undefined.
439 PASS view.getFloat32(3, false) is -45621.37109375
440 PASS view.setFloat32(7, -45621.37109375, false) is undefined.
441 PASS view.getFloat32(7, false) is -45621.37109375
442 PASS view.setFloat32(10, -45621.37109375, false) is undefined.
443 PASS view.getFloat32(10, false) is -45621.37109375
444 PASS view.setFloat32(0, NaN, true) is undefined.
445 PASS view.getFloat32(0, true) is NaN
446 PASS view.setFloat32(3, NaN, true) is undefined.
447 PASS view.getFloat32(3, true) is NaN
448 PASS view.setFloat32(7, NaN, true) is undefined.
449 PASS view.getFloat32(7, true) is NaN
450 PASS view.setFloat32(10, NaN, true) is undefined.
451 PASS view.getFloat32(10, true) is NaN
452 PASS view.setFloat32(0, NaN, false) is undefined.
453 PASS view.getFloat32(0, false) is NaN
454 PASS view.setFloat32(3, NaN, false) is undefined.
455 PASS view.getFloat32(3, false) is NaN
456 PASS view.setFloat32(7, NaN, false) is undefined.
457 PASS view.getFloat32(7, false) is NaN
458 PASS view.setFloat32(10, NaN, false) is undefined.
459 PASS view.getFloat32(10, false) is NaN
460 PASS view.setFloat32(0, -NaN, true) is undefined.
461 PASS view.getFloat32(0, true) is -NaN
462 PASS view.setFloat32(3, -NaN, true) is undefined.
463 PASS view.getFloat32(3, true) is -NaN
464 PASS view.setFloat32(7, -NaN, true) is undefined.
465 PASS view.getFloat32(7, true) is -NaN
466 PASS view.setFloat32(10, -NaN, true) is undefined.
467 PASS view.getFloat32(10, true) is -NaN
468 PASS view.setFloat32(0, -NaN, false) is undefined.
469 PASS view.getFloat32(0, false) is -NaN
470 PASS view.setFloat32(3, -NaN, false) is undefined.
471 PASS view.getFloat32(3, false) is -NaN
472 PASS view.setFloat32(7, -NaN, false) is undefined.
473 PASS view.getFloat32(7, false) is -NaN
474 PASS view.setFloat32(10, -NaN, false) is undefined.
475 PASS view.getFloat32(10, false) is -NaN
476 PASS view.setFloat64(0, 10, true) is undefined.
477 PASS view.getFloat64(0, true) is 10
478 PASS view.setFloat64(3, 10, true) is undefined.
479 PASS view.getFloat64(3, true) is 10
480 PASS view.setFloat64(7, 10, true) is undefined.
481 PASS view.getFloat64(7, true) is 10
482 PASS view.setFloat64(10, 10, true) is undefined.
483 PASS view.getFloat64(10, true) is 10
484 PASS view.setFloat64(0, 10, false) is undefined.
485 PASS view.getFloat64(0, false) is 10
486 PASS view.setFloat64(3, 10, false) is undefined.
487 PASS view.getFloat64(3, false) is 10
488 PASS view.setFloat64(7, 10, false) is undefined.
489 PASS view.getFloat64(7, false) is 10
490 PASS view.setFloat64(10, 10, false) is undefined.
491 PASS view.getFloat64(10, false) is 10
492 PASS view.setFloat64(0, 1.23, true) is undefined.
493 PASS view.getFloat64(0, true) is 1.23
494 PASS view.setFloat64(3, 1.23, true) is undefined.
495 PASS view.getFloat64(3, true) is 1.23
496 PASS view.setFloat64(7, 1.23, true) is undefined.
497 PASS view.getFloat64(7, true) is 1.23
498 PASS view.setFloat64(10, 1.23, true) is undefined.
499 PASS view.getFloat64(10, true) is 1.23
500 PASS view.setFloat64(0, 1.23, false) is undefined.
501 PASS view.getFloat64(0, false) is 1.23
502 PASS view.setFloat64(3, 1.23, false) is undefined.
503 PASS view.getFloat64(3, false) is 1.23
504 PASS view.setFloat64(7, 1.23, false) is undefined.
505 PASS view.getFloat64(7, false) is 1.23
506 PASS view.setFloat64(10, 1.23, false) is undefined.
507 PASS view.getFloat64(10, false) is 1.23
508 PASS view.setFloat64(0, -6213576.4839, true) is undefined.
509 PASS view.getFloat64(0, true) is -6213576.4839
510 PASS view.setFloat64(3, -6213576.4839, true) is undefined.
511 PASS view.getFloat64(3, true) is -6213576.4839
512 PASS view.setFloat64(7, -6213576.4839, true) is undefined.
513 PASS view.getFloat64(7, true) is -6213576.4839
514 PASS view.setFloat64(10, -6213576.4839, true) is undefined.
515 PASS view.getFloat64(10, true) is -6213576.4839
516 PASS view.setFloat64(0, -6213576.4839, false) is undefined.
517 PASS view.getFloat64(0, false) is -6213576.4839
518 PASS view.setFloat64(3, -6213576.4839, false) is undefined.
519 PASS view.getFloat64(3, false) is -6213576.4839
520 PASS view.setFloat64(7, -6213576.4839, false) is undefined.
521 PASS view.getFloat64(7, false) is -6213576.4839
522 PASS view.setFloat64(10, -6213576.4839, false) is undefined.
523 PASS view.getFloat64(10, false) is -6213576.4839
524 PASS view.setFloat64(0, NaN, true) is undefined.
525 PASS view.getFloat64(0, true) is NaN
526 PASS view.setFloat64(3, NaN, true) is undefined.
527 PASS view.getFloat64(3, true) is NaN
528 PASS view.setFloat64(7, NaN, true) is undefined.
529 PASS view.getFloat64(7, true) is NaN
530 PASS view.setFloat64(10, NaN, true) is undefined.
531 PASS view.getFloat64(10, true) is NaN
532 PASS view.setFloat64(0, NaN, false) is undefined.
533 PASS view.getFloat64(0, false) is NaN
534 PASS view.setFloat64(3, NaN, false) is undefined.
535 PASS view.getFloat64(3, false) is NaN
536 PASS view.setFloat64(7, NaN, false) is undefined.
537 PASS view.getFloat64(7, false) is NaN
538 PASS view.setFloat64(10, NaN, false) is undefined.
539 PASS view.getFloat64(10, false) is NaN
540 PASS view.setFloat64(0, -NaN, true) is undefined.
541 PASS view.getFloat64(0, true) is -NaN
542 PASS view.setFloat64(3, -NaN, true) is undefined.
543 PASS view.getFloat64(3, true) is -NaN
544 PASS view.setFloat64(7, -NaN, true) is undefined.
545 PASS view.getFloat64(7, true) is -NaN
546 PASS view.setFloat64(10, -NaN, true) is undefined.
547 PASS view.getFloat64(10, true) is -NaN
548 PASS view.setFloat64(0, -NaN, false) is undefined.
549 PASS view.getFloat64(0, false) is -NaN
550 PASS view.setFloat64(3, -NaN, false) is undefined.
551 PASS view.getFloat64(3, false) is -NaN
552 PASS view.setFloat64(7, -NaN, false) is undefined.
553 PASS view.getFloat64(7, false) is -NaN
554 PASS view.setFloat64(10, -NaN, false) is undefined.
555 PASS view.getFloat64(10, false) is -NaN
557 Test for set methods that might write beyond the range
558 PASS view.setInt8(0, 0) is undefined.
559 PASS view.getInt8(0) is 0
560 PASS view.setInt8(8, -128) threw exception RangeError: Offset is outside the bounds of the DataView.
561 PASS view.setInt8(15, -1) threw exception RangeError: Offset is outside the bounds of the DataView.
562 PASS view.setUint8(0, 0) is undefined.
563 PASS view.getUint8(0) is 0
564 PASS view.setUint8(8, 128) threw exception RangeError: Offset is outside the bounds of the DataView.
565 PASS view.setUint8(15, 255) threw exception RangeError: Offset is outside the bounds of the DataView.
566 PASS view.setInt16(0, 256, true) is undefined.
567 PASS view.getInt16(0, true) is 256
568 PASS view.setInt16(5, 26213, true) threw exception RangeError: Offset is outside the bounds of the DataView.
569 PASS view.setInt16(9, -32127, true) threw exception RangeError: Offset is outside the bounds of the DataView.
570 PASS view.setInt16(14, -2, true) threw exception RangeError: Offset is outside the bounds of the DataView.
571 PASS view.setInt16(0, 1) is undefined.
572 PASS view.getInt16(0) is 1
573 PASS view.setInt16(5, 25958) threw exception RangeError: Offset is outside the bounds of the DataView.
574 PASS view.setInt16(9, -32382) threw exception RangeError: Offset is outside the bounds of the DataView.
575 PASS view.setInt16(14, -257) threw exception RangeError: Offset is outside the bounds of the DataView.
576 PASS view.setUint16(0, 256, true) is undefined.
577 PASS view.getUint16(0, true) is 256
578 PASS view.setUint16(5, 26213, true) threw exception RangeError: Offset is outside the bounds of the DataView.
579 PASS view.setUint16(9, 33409, true) threw exception RangeError: Offset is outside the bounds of the DataView.
580 PASS view.setUint16(14, 65534, true) threw exception RangeError: Offset is outside the bounds of the DataView.
581 PASS view.setUint16(0, 1) is undefined.
582 PASS view.getUint16(0) is 1
583 PASS view.setUint16(5, 25958) threw exception RangeError: Offset is outside the bounds of the DataView.
584 PASS view.setUint16(9, 33154) threw exception RangeError: Offset is outside the bounds of the DataView.
585 PASS view.setUint16(14, 65279) threw exception RangeError: Offset is outside the bounds of the DataView.
586 PASS view.setInt32(0, 50462976, true) threw exception RangeError: Offset is outside the bounds of the DataView.
587 PASS view.setInt32(3, 1717920771, true) threw exception RangeError: Offset is outside the bounds of the DataView.
588 PASS view.setInt32(6, -2122291354, true) threw exception RangeError: Offset is outside the bounds of the DataView.
589 PASS view.setInt32(9, -58490239, true) threw exception RangeError: Offset is outside the bounds of the DataView.
590 PASS view.setInt32(12, -66052, true) threw exception RangeError: Offset is outside the bounds of the DataView.
591 PASS view.setInt32(0, 66051) threw exception RangeError: Offset is outside the bounds of the DataView.
592 PASS view.setInt32(3, 56911206) threw exception RangeError: Offset is outside the bounds of the DataView.
593 PASS view.setInt32(6, 1718059137) threw exception RangeError: Offset is outside the bounds of the DataView.
594 PASS view.setInt32(9, -2122152964) threw exception RangeError: Offset is outside the bounds of the DataView.
595 PASS view.setInt32(12, -50462977) threw exception RangeError: Offset is outside the bounds of the DataView.
596 PASS view.setUint32(0, 50462976, true) threw exception RangeError: Offset is outside the bounds of the DataView.
597 PASS view.setUint32(3, 1717920771, true) threw exception RangeError: Offset is outside the bounds of the DataView.
598 PASS view.setUint32(6, 2172675942, true) threw exception RangeError: Offset is outside the bounds of the DataView.
599 PASS view.setUint32(9, 4236477057, true) threw exception RangeError: Offset is outside the bounds of the DataView.
600 PASS view.setUint32(12, 4294901244, true) threw exception RangeError: Offset is outside the bounds of the DataView.
601 PASS view.setUint32(0, 66051) threw exception RangeError: Offset is outside the bounds of the DataView.
602 PASS view.setUint32(3, 56911206) threw exception RangeError: Offset is outside the bounds of the DataView.
603 PASS view.setUint32(6, 1718059137) threw exception RangeError: Offset is outside the bounds of the DataView.
604 PASS view.setUint32(9, 2172814332) threw exception RangeError: Offset is outside the bounds of the DataView.
605 PASS view.setUint32(12, 4244504319) threw exception RangeError: Offset is outside the bounds of the DataView.
606 PASS view.setFloat32(0, 10, true) is undefined.
607 PASS view.getFloat32(0, true) is 10
608 PASS view.setFloat32(3, 10, true) is undefined.
609 PASS view.getFloat32(3, true) is 10
610 PASS view.setFloat32(7, 10, true) is undefined.
611 PASS view.getFloat32(7, true) is 10
612 PASS view.setFloat32(10, 10, true) is undefined.
613 PASS view.getFloat32(10, true) is 10
614 PASS view.setFloat32(0, 10, false) is undefined.
615 PASS view.getFloat32(0, false) is 10
616 PASS view.setFloat32(3, 10, false) is undefined.
617 PASS view.getFloat32(3, false) is 10
618 PASS view.setFloat32(7, 10, false) is undefined.
619 PASS view.getFloat32(7, false) is 10
620 PASS view.setFloat32(10, 10, false) is undefined.
621 PASS view.getFloat32(10, false) is 10
622 PASS view.setFloat32(0, 1.2300000190734863, true) is undefined.
623 PASS view.getFloat32(0, true) is 1.2300000190734863
624 PASS view.setFloat32(3, 1.2300000190734863, true) is undefined.
625 PASS view.getFloat32(3, true) is 1.2300000190734863
626 PASS view.setFloat32(7, 1.2300000190734863, true) is undefined.
627 PASS view.getFloat32(7, true) is 1.2300000190734863
628 PASS view.setFloat32(10, 1.2300000190734863, true) is undefined.
629 PASS view.getFloat32(10, true) is 1.2300000190734863
630 PASS view.setFloat32(0, 1.2300000190734863, false) is undefined.
631 PASS view.getFloat32(0, false) is 1.2300000190734863
632 PASS view.setFloat32(3, 1.2300000190734863, false) is undefined.
633 PASS view.getFloat32(3, false) is 1.2300000190734863
634 PASS view.setFloat32(7, 1.2300000190734863, false) is undefined.
635 PASS view.getFloat32(7, false) is 1.2300000190734863
636 PASS view.setFloat32(10, 1.2300000190734863, false) is undefined.
637 PASS view.getFloat32(10, false) is 1.2300000190734863
638 PASS view.setFloat32(0, -45621.37109375, true) is undefined.
639 PASS view.getFloat32(0, true) is -45621.37109375
640 PASS view.setFloat32(3, -45621.37109375, true) is undefined.
641 PASS view.getFloat32(3, true) is -45621.37109375
642 PASS view.setFloat32(7, -45621.37109375, true) is undefined.
643 PASS view.getFloat32(7, true) is -45621.37109375
644 PASS view.setFloat32(10, -45621.37109375, true) is undefined.
645 PASS view.getFloat32(10, true) is -45621.37109375
646 PASS view.setFloat32(0, -45621.37109375, false) is undefined.
647 PASS view.getFloat32(0, false) is -45621.37109375
648 PASS view.setFloat32(3, -45621.37109375, false) is undefined.
649 PASS view.getFloat32(3, false) is -45621.37109375
650 PASS view.setFloat32(7, -45621.37109375, false) is undefined.
651 PASS view.getFloat32(7, false) is -45621.37109375
652 PASS view.setFloat32(10, -45621.37109375, false) is undefined.
653 PASS view.getFloat32(10, false) is -45621.37109375
654 PASS view.setFloat32(0, NaN, true) is undefined.
655 PASS view.getFloat32(0, true) is NaN
656 PASS view.setFloat32(3, NaN, true) is undefined.
657 PASS view.getFloat32(3, true) is NaN
658 PASS view.setFloat32(7, NaN, true) is undefined.
659 PASS view.getFloat32(7, true) is NaN
660 PASS view.setFloat32(10, NaN, true) is undefined.
661 PASS view.getFloat32(10, true) is NaN
662 PASS view.setFloat32(0, NaN, false) is undefined.
663 PASS view.getFloat32(0, false) is NaN
664 PASS view.setFloat32(3, NaN, false) is undefined.
665 PASS view.getFloat32(3, false) is NaN
666 PASS view.setFloat32(7, NaN, false) is undefined.
667 PASS view.getFloat32(7, false) is NaN
668 PASS view.setFloat32(10, NaN, false) is undefined.
669 PASS view.getFloat32(10, false) is NaN
670 PASS view.setFloat32(0, -NaN, true) is undefined.
671 PASS view.getFloat32(0, true) is -NaN
672 PASS view.setFloat32(3, -NaN, true) is undefined.
673 PASS view.getFloat32(3, true) is -NaN
674 PASS view.setFloat32(7, -NaN, true) is undefined.
675 PASS view.getFloat32(7, true) is -NaN
676 PASS view.setFloat32(10, -NaN, true) is undefined.
677 PASS view.getFloat32(10, true) is -NaN
678 PASS view.setFloat32(0, -NaN, false) is undefined.
679 PASS view.getFloat32(0, false) is -NaN
680 PASS view.setFloat32(3, -NaN, false) is undefined.
681 PASS view.getFloat32(3, false) is -NaN
682 PASS view.setFloat32(7, -NaN, false) is undefined.
683 PASS view.getFloat32(7, false) is -NaN
684 PASS view.setFloat32(10, -NaN, false) is undefined.
685 PASS view.getFloat32(10, false) is -NaN
686 PASS view.setFloat64(0, 10, true) is undefined.
687 PASS view.getFloat64(0, true) is 10
688 PASS view.setFloat64(3, 10, true) is undefined.
689 PASS view.getFloat64(3, true) is 10
690 PASS view.setFloat64(7, 10, true) is undefined.
691 PASS view.getFloat64(7, true) is 10
692 PASS view.setFloat64(10, 10, true) is undefined.
693 PASS view.getFloat64(10, true) is 10
694 PASS view.setFloat64(0, 10, false) is undefined.
695 PASS view.getFloat64(0, false) is 10
696 PASS view.setFloat64(3, 10, false) is undefined.
697 PASS view.getFloat64(3, false) is 10
698 PASS view.setFloat64(7, 10, false) is undefined.
699 PASS view.getFloat64(7, false) is 10
700 PASS view.setFloat64(10, 10, false) is undefined.
701 PASS view.getFloat64(10, false) is 10
702 PASS view.setFloat64(0, 1.23, true) is undefined.
703 PASS view.getFloat64(0, true) is 1.23
704 PASS view.setFloat64(3, 1.23, true) is undefined.
705 PASS view.getFloat64(3, true) is 1.23
706 PASS view.setFloat64(7, 1.23, true) is undefined.
707 PASS view.getFloat64(7, true) is 1.23
708 PASS view.setFloat64(10, 1.23, true) is undefined.
709 PASS view.getFloat64(10, true) is 1.23
710 PASS view.setFloat64(0, 1.23, false) is undefined.
711 PASS view.getFloat64(0, false) is 1.23
712 PASS view.setFloat64(3, 1.23, false) is undefined.
713 PASS view.getFloat64(3, false) is 1.23
714 PASS view.setFloat64(7, 1.23, false) is undefined.
715 PASS view.getFloat64(7, false) is 1.23
716 PASS view.setFloat64(10, 1.23, false) is undefined.
717 PASS view.getFloat64(10, false) is 1.23
718 PASS view.setFloat64(0, -6213576.4839, true) is undefined.
719 PASS view.getFloat64(0, true) is -6213576.4839
720 PASS view.setFloat64(3, -6213576.4839, true) is undefined.
721 PASS view.getFloat64(3, true) is -6213576.4839
722 PASS view.setFloat64(7, -6213576.4839, true) is undefined.
723 PASS view.getFloat64(7, true) is -6213576.4839
724 PASS view.setFloat64(10, -6213576.4839, true) is undefined.
725 PASS view.getFloat64(10, true) is -6213576.4839
726 PASS view.setFloat64(0, -6213576.4839, false) is undefined.
727 PASS view.getFloat64(0, false) is -6213576.4839
728 PASS view.setFloat64(3, -6213576.4839, false) is undefined.
729 PASS view.getFloat64(3, false) is -6213576.4839
730 PASS view.setFloat64(7, -6213576.4839, false) is undefined.
731 PASS view.getFloat64(7, false) is -6213576.4839
732 PASS view.setFloat64(10, -6213576.4839, false) is undefined.
733 PASS view.getFloat64(10, false) is -6213576.4839
734 PASS view.setFloat64(0, NaN, true) is undefined.
735 PASS view.getFloat64(0, true) is NaN
736 PASS view.setFloat64(3, NaN, true) is undefined.
737 PASS view.getFloat64(3, true) is NaN
738 PASS view.setFloat64(7, NaN, true) is undefined.
739 PASS view.getFloat64(7, true) is NaN
740 PASS view.setFloat64(10, NaN, true) is undefined.
741 PASS view.getFloat64(10, true) is NaN
742 PASS view.setFloat64(0, NaN, false) is undefined.
743 PASS view.getFloat64(0, false) is NaN
744 PASS view.setFloat64(3, NaN, false) is undefined.
745 PASS view.getFloat64(3, false) is NaN
746 PASS view.setFloat64(7, NaN, false) is undefined.
747 PASS view.getFloat64(7, false) is NaN
748 PASS view.setFloat64(10, NaN, false) is undefined.
749 PASS view.getFloat64(10, false) is NaN
750 PASS view.setFloat64(0, -NaN, true) is undefined.
751 PASS view.getFloat64(0, true) is -NaN
752 PASS view.setFloat64(3, -NaN, true) is undefined.
753 PASS view.getFloat64(3, true) is -NaN
754 PASS view.setFloat64(7, -NaN, true) is undefined.
755 PASS view.getFloat64(7, true) is -NaN
756 PASS view.setFloat64(10, -NaN, true) is undefined.
757 PASS view.getFloat64(10, true) is -NaN
758 PASS view.setFloat64(0, -NaN, false) is undefined.
759 PASS view.getFloat64(0, false) is -NaN
760 PASS view.setFloat64(3, -NaN, false) is undefined.
761 PASS view.getFloat64(3, false) is -NaN
762 PASS view.setFloat64(7, -NaN, false) is undefined.
763 PASS view.getFloat64(7, false) is -NaN
764 PASS view.setFloat64(10, -NaN, false) is undefined.
765 PASS view.getFloat64(10, false) is -NaN
767 Test for set methods that write to negative index
768 PASS view.setInt8(-1, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
769 PASS view.setInt8(-2, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
770 PASS view.setUint8(-1, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
771 PASS view.setUint8(-2, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
772 PASS view.setInt16(-1, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
773 PASS view.setInt16(-2, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
774 PASS view.setInt16(-3, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
775 PASS view.setUint16(-1, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
776 PASS view.setUint16(-2, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
777 PASS view.setUint16(-3, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
778 PASS view.setInt32(-1, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
779 PASS view.setInt32(-3, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
780 PASS view.setInt32(-5, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
781 PASS view.setUint32(-1, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
782 PASS view.setUint32(-3, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
783 PASS view.setUint32(-5, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
784 PASS view.setFloat32(-1, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
785 PASS view.setFloat32(-3, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
786 PASS view.setFloat32(-5, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
787 PASS view.setFloat64(-1, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
788 PASS view.setFloat64(-5, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
789 PASS view.setFloat64(-9, 0) threw exception RangeError: Offset is outside the bounds of the DataView.
791 Test for wrong arguments passed to set methods
792 PASS view.setInt8() threw exception TypeError: invalid_argument.
793 PASS view.setUint8() threw exception TypeError: invalid_argument.
794 PASS view.setInt16() threw exception TypeError: invalid_argument.
795 PASS view.setUint16() threw exception TypeError: invalid_argument.
796 PASS view.setInt32() threw exception TypeError: invalid_argument.
797 PASS view.setUint32() threw exception TypeError: invalid_argument.
798 PASS view.setFloat32() threw exception TypeError: invalid_argument.
799 PASS view.setFloat64() threw exception TypeError: invalid_argument.
800 PASS view.setInt8(1) threw exception TypeError: invalid_argument.
801 PASS view.setUint8(1) threw exception TypeError: invalid_argument.
802 PASS view.setInt16(1) threw exception TypeError: invalid_argument.
803 PASS view.setUint16(1) threw exception TypeError: invalid_argument.
804 PASS view.setInt32(1) threw exception TypeError: invalid_argument.
805 PASS view.setUint32(1) threw exception TypeError: invalid_argument.
806 PASS view.setFloat32(1) threw exception TypeError: invalid_argument.
807 PASS view.setFloat64(1) threw exception TypeError: invalid_argument.
809 Test for indexing that should not work
810 PASS view[0] is undefined.
811 PASS view[0] = 3 is defined.
812 PASS view.getUint8(0) is 1
813 PASS successfullyParsed is true