| 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 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 source = {length: 10}; | 24 source = {length: 10}; |
| 25 target = new Uint8Array(source); | 25 target = new Uint8Array(source); |
| 26 shouldBe(target.length.toString(), source.length.toString()) | 26 shouldBe(target.length.toString(), source.length.toString()) |
| 27 for (idx = 0; idx < target.length; idx++) { | 27 for (idx = 0; idx < target.length; idx++) { |
| 28 shouldBeZero(target[idx].toString()); | 28 shouldBeZero(target[idx].toString()); |
| 29 } | 29 } |
| 30 | 30 |
| 31 </script> | 31 </script> |
| 32 | 32 |
| 33 <script src="../../js/resources/js-test-post.js"></script> | |
| 34 </body> | 33 </body> |
| 35 </html> | 34 </html> |
| 36 | 35 |
| OLD | NEW |