OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 #example { | 4 #example { |
5 width: 100%; | 5 width: 100%; |
6 height: 100%; | 6 height: 100%; |
7 } | 7 } |
8 </style> | 8 </style> |
9 <script src="../../js/resources/js-test-pre.js"></script> | 9 <script src="../../js/resources/js-test-pre.js"></script> |
10 <script src="resources/webgl-test-utils.js"> </script> | 10 <script src="resources/webgl-test-utils.js"> </script> |
(...skipping 19 matching lines...) Expand all Loading... |
30 <!-- Enable WebGL in the testing framework (without this we will fail to | 30 <!-- Enable WebGL in the testing framework (without this we will fail to |
31 create a GL context) --> | 31 create a GL context) --> |
32 | 32 |
33 <script> | 33 <script> |
34 if (window.testRunner) { | 34 if (window.testRunner) { |
35 testRunner.overridePreference("WebKitWebGLEnabled", "1"); | 35 testRunner.overridePreference("WebKitWebGLEnabled", "1"); |
36 } | 36 } |
37 </script> | 37 </script> |
38 | 38 |
39 <canvas id="example"></canvas> | 39 <canvas id="example"></canvas> |
40 <script src="../../js/resources/js-test-post.js"></script> | |
41 </body> | 40 </body> |
42 </html> | 41 </html> |
43 | 42 |
OLD | NEW |