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(); |