Index: third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams.html |
diff --git a/third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams.html b/third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..80861f510a6eff3dd46a371764d3c46ad8945054 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/domurl/urlsearchparams.html |
@@ -0,0 +1,21 @@ |
+<!doctype html> |
+<html> |
+<head> |
+<meta charset="utf8"> |
+<link rel="help" href="https://url.spec.whatwg.org/#interface-urlsearchparams"> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<script> |
+test(function() { |
+ assert_true('URLSearchParams' in window); |
+ 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'); |
+</script> |
+</head> |
+</html> |