Index: third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/fill-and-stroke-styles/2d.fillStyle.get.transparent.worker.js |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/fill-and-stroke-styles/2d.fillStyle.get.transparent.worker.js b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/fill-and-stroke-styles/2d.fillStyle.get.transparent.worker.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3df91dd1a1c5dc1016b360f7bfc08b85fe031534 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/fill-and-stroke-styles/2d.fillStyle.get.transparent.worker.js |
@@ -0,0 +1,21 @@ |
+// DO NOT EDIT! This test has been generated by tools/gentest.py. |
+// OffscreenCanvas test in a worker:2d.fillStyle.get.transparent |
+// Description: |
+// Note: |
+ |
+importScripts("/resources/testharness.js"); |
+importScripts("/common/canvas-tests.js"); |
+ |
+var t = async_test(""); |
+t.step(function() { |
+ |
+var offscreenCanvas = new OffscreenCanvas(100, 50); |
+var ctx = offscreenCanvas.getContext('2d'); |
+ |
+ctx.fillStyle = 'rgba(0,0,0,0)'; |
+_assertSame(ctx.fillStyle, 'rgba(0, 0, 0, 0)', "ctx.fillStyle", "'rgba(0, 0, 0, 0)'"); |
+ |
+t.done(); |
+ |
+}); |
+done(); |