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

Unified Diff: third_party/WebKit/LayoutTests/fast/domurl/url-search.html

Issue 1860623002: Add support for URL.searchParams getter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 months 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
Index: third_party/WebKit/LayoutTests/fast/domurl/url-search.html
diff --git a/third_party/WebKit/LayoutTests/fast/domurl/url-search.html b/third_party/WebKit/LayoutTests/fast/domurl/url-search.html
index 79e169d3442da168958544a381140ed6aaa707eb..41d471d2d8a4997ea5deb89a960c82fe2e22d147 100644
--- a/third_party/WebKit/LayoutTests/fast/domurl/url-search.html
+++ b/third_party/WebKit/LayoutTests/fast/domurl/url-search.html
@@ -3,7 +3,6 @@
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>
-
test(function() {
var url = new URL('http://www.domain.com/');
assert_equals(url.search, '');
@@ -25,8 +24,8 @@ test(function() {
url.search = 'a';
assert_equals(url.search, '?a');
- url.search = '?a';
- assert_equals(url.search, '?a');
+ url.search = '?b';
+ assert_equals(url.search, '?b');
url.search = 'a#b';
assert_equals(url.search, '?a%23b');
@@ -52,5 +51,4 @@ test(function() {
assert_equals(url.search, '');
assert_equals(url.href, 'invalid');
}, 'search property invalid URL');
-
</script>

Powered by Google App Engine
This is Rietveld 408576698