| 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 <link rel="stylesheet" href="../../js/resources/js-test-style.css"/> | |
| 7 <script src="../../js/resources/js-test-pre.js"></script> | 6 <script src="../../js/resources/js-test-pre.js"></script> |
| 8 <script src="resources/webgl-test.js"></script> | 7 <script src="resources/webgl-test.js"></script> |
| 9 </head> | 8 </head> |
| 10 <body> | 9 <body> |
| 11 <iframe id="host" style="width: 256px; height: 256px; border: 0;"></iframe> | 10 <iframe id="host" style="width: 256px; height: 256px; border: 0;"></iframe> |
| 12 <div id="description"></div> | 11 <div id="description"></div> |
| 13 <div id="console"></div> | 12 <div id="console"></div> |
| 14 <script> | 13 <script> |
| 15 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"); |
| 16 | 15 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 if(event.data == "Ready") { | 72 if(event.data == "Ready") { |
| 74 testContext(); | 73 testContext(); |
| 75 } | 74 } |
| 76 }); | 75 }); |
| 77 | 76 |
| 78 refreshFrame(); | 77 refreshFrame(); |
| 79 </script> | 78 </script> |
| 80 | 79 |
| 81 </body> | 80 </body> |
| 82 </html> | 81 </html> |
| OLD | NEW |