summaryrefslogtreecommitdiffstats
path: root/dom/worklet/tests/file_dump.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/worklet/tests/file_dump.html')
-rw-r--r--dom/worklet/tests/file_dump.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/dom/worklet/tests/file_dump.html b/dom/worklet/tests/file_dump.html
new file mode 100644
index 000000000..123a625a9
--- /dev/null
+++ b/dom/worklet/tests/file_dump.html
@@ -0,0 +1,22 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <title>Test for Worklet</title>
+ <script type="application/javascript" src="common.js"></script>
+</head>
+<body>
+
+<script type="application/javascript">
+
+setupTest();
+
+var worklet = window.createWorklet();
+ok(!!worklet, "We have a Worklet");
+worklet.import("worklet_dump.js")
+.then(() => {
+ SimpleTest.finish();
+});
+
+</script>
+</body>
+</html>