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

Unified Diff: third_party/WebKit/LayoutTests/printing/offscreencanvas-webgl-printing-expected.html

Issue 2493673002: Synchronize OffscreenCanvas content with the placeholder canvas (Closed)
Patch Set: fix obsolete test Created 4 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
Index: third_party/WebKit/LayoutTests/printing/offscreencanvas-webgl-printing-expected.html
diff --git a/third_party/WebKit/LayoutTests/printing/offscreencanvas-webgl-printing-expected.html b/third_party/WebKit/LayoutTests/printing/offscreencanvas-webgl-printing-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..995b356c049e88fe984bcf0224a95b1209035a49
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/printing/offscreencanvas-webgl-printing-expected.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<canvas id='c'></canvas>
+<script>
+var can = document.getElementById('c');
+can.width = can.height = 100;
+var ctx = can.getContext("webgl");
+ctx.clearColor(0, 1, 0, 1);
+ctx.clear(ctx.COLOR_BUFFER_BIT);
+if (window.testRunner) {
+ testRunner.setPrinting();
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698