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

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

Issue 537103002: Spec compliant url.search/url.hash setters over empty values. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Sync expected output Created 6 years, 3 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: LayoutTests/fast/domurl/url-search.html
diff --git a/LayoutTests/fast/domurl/url-search.html b/LayoutTests/fast/domurl/url-search.html
index 9aeb0c580c81e89ceada1249ed885c33ebc43096..79e169d3442da168958544a381140ed6aaa707eb 100644
--- a/LayoutTests/fast/domurl/url-search.html
+++ b/LayoutTests/fast/domurl/url-search.html
@@ -16,9 +16,11 @@ test(function() {
url.search = '';
assert_equals(url.search, '');
+ assert_equals(url.toString(), 'http://www.domain.com/');
url.search = '?';
assert_equals(url.search, '');
+ assert_equals(url.toString(), 'http://www.domain.com/');
url.search = 'a';
assert_equals(url.search, '?a');

Powered by Google App Engine
This is Rietveld 408576698