Bug 1935611 - Fix libyuv/libpng link failed for loongarch64. r=glandium,tnikkel,ng
[gecko.git] / js / xpconnect / crashtests / 977538.html
blob9bfaf084f7e5e3e2defc62fdb420b23983fd8bee
1 <script>
2 function f() {
3 var buffer = new Uint8Array(8);
5 for (var i=0; i<100; i++) {}
7 buffer[0] = 0xff;
8 buffer[1] = 0xff;
9 buffer[2] = 0xff;
10 buffer[3] = 0xff;
11 buffer[4] = 0xff;
12 buffer[5] = 0xff;
13 buffer[6] = 0x0f;
14 buffer[7] = 0x00;
16 var view = new DataView(buffer.buffer);
17 view.getFloat64(0);
19 f();
20 </script>