Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Unified Diff: LayoutTests/fast/workers/resources/worker-base64.js

Issue 19749003: Expose atob() / btoa() to workers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/workers/worker-base64.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | LayoutTests/fast/workers/worker-base64.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698