| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
| 4 <script src="resources/webgl-test.js"></script> | 4 <script src="resources/webgl-test.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <div id="description"></div> | 7 <div id="description"></div> |
| 8 <div id="console"></div> | 8 <div id="console"></div> |
| 9 | 9 |
| 10 <script> | 10 <script> |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 134 |
| 135 buffer = new ArrayBuffer(40); | 135 buffer = new ArrayBuffer(40); |
| 136 ints = new Int32Array(buffer, 0, 10); | 136 ints = new Int32Array(buffer, 0, 10); |
| 137 floats = new Float32Array(buffer, 0, 10); | 137 floats = new Float32Array(buffer, 0, 10); |
| 138 // Plant a NaN into the buffer | 138 // Plant a NaN into the buffer |
| 139 ints[0]=-0x7ffff; | 139 ints[0]=-0x7ffff; |
| 140 // Read the NaN out as a float | 140 // Read the NaN out as a float |
| 141 shouldBeTrue("isNaN(floats[0])"); | 141 shouldBeTrue("isNaN(floats[0])"); |
| 142 | 142 |
| 143 </script> | 143 </script> |
| 144 <script src="../../js/resources/js-test-post.js"></script> | |
| 145 | 144 |
| 146 </body> | 145 </body> |
| 147 </html> | 146 </html> |
| OLD | NEW |