diff options
author | bptato <nincsnevem662@gmail.com> | 2024-09-30 21:55:16 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-09-30 21:56:32 +0200 |
commit | 9eb459ad095aa3fb30d967359e0bc6846262f6ea (patch) | |
tree | 1097a34056f416c7accce42299a7e654bc9288dd /test | |
parent | 7870b9aa5d32b5b3c938be205f9ba49fd4e4734f (diff) | |
download | chawan-9eb459ad095aa3fb30d967359e0bc6846262f6ea.tar.gz |
url: fix searchParams.delete
Diffstat (limited to 'test')
-rw-r--r-- | test/js/url.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/js/url.html b/test/js/url.html index 809718f7..0a6e0b9e 100644 --- a/test/js/url.html +++ b/test/js/url.html @@ -62,6 +62,8 @@ assert_equals(new URL("abcd?efgh#ijkl", "https://example.com/") + "", "https://e assert_equals(x.pathname, "/path"); assert_equals(x.search, "?search"); assert_equals(x.hash, "#hash"); + x.searchParams.delete("search"); + assert_equals(x.search, ""); } document.getElementById("x").textContent = "Success"; </script> |