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

Unified Diff: third_party/WebKit/LayoutTests/fast/domurl/resources/urlsearchparams-worker.js

Issue 1442643008: Implement 'URLSearchParams' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test. Created 5 years, 1 month 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 | third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/domurl/resources/urlsearchparams-worker.js
diff --git a/third_party/WebKit/LayoutTests/fast/domurl/resources/urlsearchparams-worker.js b/third_party/WebKit/LayoutTests/fast/domurl/resources/urlsearchparams-worker.js
new file mode 100644
index 0000000000000000000000000000000000000000..999ddfc510f2d5212ecb49fdfff2970d4cce5a36
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/domurl/resources/urlsearchparams-worker.js
@@ -0,0 +1,14 @@
+importScripts("../../../resources/testharness.js")
+
+test(function() {
+ assert_true('URLSearchParams' in self);
+ assert_true('toString' in URLSearchParams.prototype);
+ assert_true('append' in URLSearchParams.prototype);
+ assert_true('delete' in URLSearchParams.prototype);
+ assert_true('get' in URLSearchParams.prototype);
+ assert_true('getAll' in URLSearchParams.prototype);
+ assert_true('has' in URLSearchParams.prototype);
+ assert_true('set' in URLSearchParams.prototype);
+}, 'URLSearchParams interface');
+
+done();
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698