summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/url/idlharness.any.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/web-platform/tests/url/idlharness.any.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/url/idlharness.any.js b/testing/web-platform/tests/url/idlharness.any.js
new file mode 100644
index 0000000000..4a0e52f12b
--- /dev/null
+++ b/testing/web-platform/tests/url/idlharness.any.js
@@ -0,0 +1,13 @@
+// META: script=/resources/WebIDLParser.js
+// META: script=/resources/idlharness.js
+
+idl_test(
+ ['url'],
+ [], // no deps
+ idl_array => {
+ idl_array.add_objects({
+ URL: ['new URL("http://foo")'],
+ URLSearchParams: ['new URLSearchParams("hi=there&thank=you")']
+ });
+ }
+);