Index: LayoutTests/fast/workers/resources/worker-base64.js |
diff --git a/LayoutTests/fast/workers/resources/worker-base64.js b/LayoutTests/fast/workers/resources/worker-base64.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..61e980f431d39b05bf14a64ee5b2d6c019a61257 |
--- /dev/null |
+++ b/LayoutTests/fast/workers/resources/worker-base64.js |
@@ -0,0 +1,9 @@ |
+if (this.importScripts) |
+ importScripts('../../js/resources/js-test-pre.js'); |
+ |
+description("Tests that atob() / btoa() functions are exposed to workers"); |
+ |
+shouldBeTrue("typeof atob === 'function'"); |
+shouldBeTrue("typeof btoa === 'function'"); |
+ |
+finishJSTest(); |