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

Side by Side Diff: chrome/test/data/gpu/feature_webgl.html

Issue 8510032: Add tests to make sure gpu blacklist actually block gpu features. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>GPU Feature Testing: WebGL</title>
6 <script>
7 function init() {
8 var canvas = document.createElement("canvas");
9 if (!canvas)
10 return null;
11 var context = null;
12 try {
13 context = canvas.getContext("webgl");
14 } catch(e) {}
15 if (!context) {
16 try {
17 context = canvas.getContext("experimental-webgl");
18 } catch(e) {}
19 }
20 return context;
21 }
22
23 function runTest() {
24 var gl = init();
25 domAutomationController.setAutomationId(1);
26 domAutomationController.send("FINISHED");
27 }
28 </script>
29 </head>
30 <body onload="runTest()">
31 WebGL should trigger GPU process launch if it is allowed.
32 </body>
33 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/gpu/feature_compositing.html ('k') | chrome/test/gpu/gpu_feature_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698