Index: third_party/WebKit/LayoutTests/fast/canvas/OffScreenCanvas-constructor.html |
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/OffScreenCanvas-constructor.html b/third_party/WebKit/LayoutTests/fast/canvas/OffScreenCanvas-constructor.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1c2964d4b92a4bcd803b78212a77202429a678e1 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/canvas/OffScreenCanvas-constructor.html |
@@ -0,0 +1,10 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/js-test.js"></script> |
+<script> |
+jsTestIsAsync = true; |
Justin Novosad
2015/12/03 04:42:58
No need for this test to be async
xidachen
2015/12/03 04:54:46
Done.
|
+ |
+description("Tests that the constructor of the OffScreenCanvas can be called on the main thread"); |
+ |
+var aCanvas = new OffScreenCanvas(50, 50); |
+finishJSTest(); |
+</script> |