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

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: 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
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..5b491c81a2fc47fe9b27f67b36478f9129242e55
--- /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("Test to that atob() / btoa() functions are exposed to workers");
arv (Not doing code reviews) 2013/07/19 15:18:09 Test that (remove "to")
+
+shouldBeTrue("typeof atob === 'function'");
+shouldBeTrue("typeof btoa === 'function'");
+
+finishJSTest();
« no previous file with comments | « no previous file | LayoutTests/fast/workers/worker-base64.html » ('j') | LayoutTests/fast/workers/worker-base64.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698