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

Unified Diff: chrome/test/data/gpu/feature_canvas2d.html

Issue 8510030: Revert 109328 - Add tests to make sure gpu blacklist actually block gpu features. (Closed) Base URL: svn://svn.chromium.org/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/gpu/feature_compositing.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/gpu/feature_canvas2d.html
===================================================================
--- chrome/test/data/gpu/feature_canvas2d.html (revision 109333)
+++ chrome/test/data/gpu/feature_canvas2d.html (working copy)
@@ -1,35 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<meta charset="utf-8">
-<title>GPU Feature Testing: Canvas2D</title>
-<script>
-function init() {
- var canvas = document.createElement("canvas");
- if (!canvas)
- return null;
- // Make sure canvas is large enough to trigger gpu acceleration.
- canvas.width = 500;
- canvas.height = 500;
- var context = null;
- try {
- context = canvas.getContext("2d");
- } catch(e) {}
- return context;
-}
-
-function runTest() {
- var c2d = init();
- if (c2d) {
- // Initialization was triggered lazily on the first draw.
- c2d.fillRect(0, 0, 1, 1);
- }
- domAutomationController.setAutomationId(1);
- domAutomationController.send("FINISHED");
-}
-</script>
-</head>
-<body onload="runTest()">
-Canvas2D should trigger GPU process launch if accelerated-2d-canvas is allowed.
-</body>
-</html>
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/gpu/feature_compositing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698