OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../../resources/js-test.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 <script> | 7 <script> |
8 if (window.initNonKhronosFramework) { | 8 if (window.initNonKhronosFramework) { |
9 window.initNonKhronosFramework(false); | 9 window.initNonKhronosFramework(false); |
10 } | 10 } |
11 </script> | 11 </script> |
12 <script> | 12 <script> |
13 description('This test verifies that the internal conversion from UTF16 to UTF8
is robust to invalid inputs. Any DOM entry point which converts an incoming stri
ng to UTF8 could be used for this test.'); | 13 description('This test verifies that the internal conversion from UTF16 to UTF8
is robust to invalid inputs. Any DOM entry point which converts an incoming stri
ng to UTF8 could be used for this test.'); |
(...skipping 14 matching lines...) Expand all Loading... |
28 // true. The second seems to sanitize the form's input before | 28 // true. The second seems to sanitize the form's input before |
29 // converting it to a UTF8 string. | 29 // converting it to a UTF8 string. |
30 | 30 |
31 var gl = create3DContext(null); | 31 var gl = create3DContext(null); |
32 var program = gl.createProgram(); | 32 var program = gl.createProgram(); |
33 gl.bindAttribLocation(program, 0, string); | 33 gl.bindAttribLocation(program, 0, string); |
34 testPassed("bindAttribLocation with invalid UTF-16 did not crash"); | 34 testPassed("bindAttribLocation with invalid UTF-16 did not crash"); |
35 </script> | 35 </script> |
36 </body> | 36 </body> |
37 </html> | 37 </html> |
OLD | NEW |