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

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

Issue 143313002: Implement URLSearchParams. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 4 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
« no previous file with comments | « LayoutTests/fast/domurl/url-constructor.html ('k') | LayoutTests/fast/domurl/url-searchparams.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/domurl/url-search.html
diff --git a/LayoutTests/fast/domurl/url-search.html b/LayoutTests/fast/domurl/url-search.html
index 9aeb0c580c81e89ceada1249ed885c33ebc43096..88e2f441b62263e902a5268edd8820929818855d 100644
--- a/LayoutTests/fast/domurl/url-search.html
+++ b/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, '');
@@ -23,8 +22,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');
@@ -50,5 +49,4 @@ test(function() {
assert_equals(url.search, '');
assert_equals(url.href, 'invalid');
}, 'search property invalid URL');
-
</script>
« no previous file with comments | « LayoutTests/fast/domurl/url-constructor.html ('k') | LayoutTests/fast/domurl/url-searchparams.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698