OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <title>WebGL Context Release Test</title> | 5 <title>WebGL Context Release Test</title> |
6 <script src="../../js/resources/js-test-pre.js"></script> | 6 <script src="../../../resources/js-test.js"></script> |
7 <script src="resources/webgl-test.js"></script> | 7 <script src="resources/webgl-test.js"></script> |
8 </head> | 8 </head> |
9 <body> | 9 <body> |
10 <iframe id="host" style="width: 256px; height: 256px; border: 0;"></iframe> | 10 <iframe id="host" style="width: 256px; height: 256px; border: 0;"></iframe> |
11 <div id="description"></div> | 11 <div id="description"></div> |
12 <div id="console"></div> | 12 <div id="console"></div> |
13 <script> | 13 <script> |
14 description("This test ensures that WebGL contexts are released properly upon pa
ge reload"); | 14 description("This test ensures that WebGL contexts are released properly upon pa
ge reload"); |
15 | 15 |
16 window.jsTestIsAsync = true; | 16 window.jsTestIsAsync = true; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 if(event.data == "Ready") { | 72 if(event.data == "Ready") { |
73 testContext(); | 73 testContext(); |
74 } | 74 } |
75 }); | 75 }); |
76 | 76 |
77 refreshFrame(); | 77 refreshFrame(); |
78 </script> | 78 </script> |
79 | 79 |
80 </body> | 80 </body> |
81 </html> | 81 </html> |
OLD | NEW |