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

Unified Diff: LayoutTests/fast/canvas/2d.backingStorePixelRatio.html

Issue 215193002: Removing webkit-prefixed image data HD APIs from 2D canvas (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: cleaned up obsolete tests Created 6 years, 9 months 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 | « no previous file | LayoutTests/fast/canvas/2d.backingStorePixelRatio-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/canvas/2d.backingStorePixelRatio.html
diff --git a/LayoutTests/fast/canvas/2d.backingStorePixelRatio.html b/LayoutTests/fast/canvas/2d.backingStorePixelRatio.html
deleted file mode 100644
index 921cc3c33021f3de3b89d66337bf505aa13b4e2c..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/canvas/2d.backingStorePixelRatio.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<pre id="console"></pre>
-<script>
- function log(message)
- {
- document.getElementById("console").appendChild(document.createTextNode(message + "\n"));
- }
-
- if (window.testRunner) {
- testRunner.dumpAsText();
- var canvas1 = document.createElement("canvas");
- var context1 = canvas1.getContext("2d");
-
- testRunner.waitUntilDone();
- testRunner.setBackingScaleFactor(2, function() {
- var canvas2 = document.createElement("canvas");
- var context2 = canvas2.getContext("2d");
-
- log ("context1.webkitBackingStorePixelRatio is " + context1.webkitBackingStorePixelRatio);
- log ("context2.webkitBackingStorePixelRatio is " + context2.webkitBackingStorePixelRatio);
-
- testRunner.notifyDone();
- });
- } else {
- log ("When not run inside DumpRenderTree or WebKitTestRunner, this test just prints the value of");
- log ("backingStorePixelRatio. Please verify that it matches what you expect, based on the");
- log ("current configuration.\n");
- var canvas = document.createElement("canvas");
- var context = canvas.getContext("2d");
- log ("context.webkitBackingStorePixelRatio is " + context.webkitBackingStorePixelRatio);
- }
-</script>
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/2d.backingStorePixelRatio-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698