Index: third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/initial.reset.different.worker.js |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/initial.reset.different.worker.js b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/initial.reset.different.worker.js |
deleted file mode 100644 |
index 8bf57849d7821e39e68a15a5f071ff8cf7426057..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/the-offscreen-canvas/initial.reset.different.worker.js |
+++ /dev/null |
@@ -1,24 +0,0 @@ |
-// DO NOT EDIT! This test has been generated by tools/gentest.py. |
-// OffscreenCanvas test in a worker:initial.reset.different |
-// Description:Changing size resets canvas to transparent black |
-// Note: |
- |
-importScripts("/resources/testharness.js"); |
-importScripts("/common/canvas-tests.js"); |
- |
-var t = async_test("Changing size resets canvas to transparent black"); |
-t.step(function() { |
- |
-var offscreenCanvas = new OffscreenCanvas(100, 50); |
-var ctx = offscreenCanvas.getContext('2d'); |
- |
-ctx.fillStyle = '#f00'; |
-ctx.fillRect(0, 0, 50, 50); |
-_assertPixel(offscreenCanvas, 20,20, 255,0,0,255, "20,20", "255,0,0,255"); |
-offscreenCanvas.width = 50; |
-_assertPixel(offscreenCanvas, 20,20, 0,0,0,0, "20,20", "0,0,0,0"); |
- |
-t.done(); |
- |
-}); |
-done(); |