Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1299)

Side by Side Diff: LayoutTests/fast/canvas/webgl/webgl-unprefixed-context-id.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 <script src="resources/webgl-test.js"></script> 5 <script src="resources/webgl-test.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <canvas id="c"></canvas> 8 <canvas id="c"></canvas>
9 <script> 9 <script>
10 description("This test checks to ensure that a webgl context can be created with the 'webgl' context ID"); 10 description("This test checks to ensure that a webgl context can be created with the 'webgl' context ID");
11 var c = document.getElementById("c"); 11 var c = document.getElementById("c");
12 var gl = c.getContext("webgl"); 12 var gl = c.getContext("webgl");
13 if (!gl) 13 if (!gl)
14 testFailed("context does not exist"); 14 testFailed("context does not exist");
15 else 15 else
16 testPassed("context exists"); 16 testPassed("context exists");
17 </script> 17 </script>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698