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

Unified Diff: LayoutTests/fast/domurl/url-hash.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
« no previous file with comments | « LayoutTests/fast/dom/location-hash-expected.txt ('k') | LayoutTests/fast/domurl/url-search.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/domurl/url-hash.html
diff --git a/LayoutTests/fast/domurl/url-hash.html b/LayoutTests/fast/domurl/url-hash.html
index 0ec9d75990ff3b7da3e0c27a7762cb114a31a1af..76442c960e2fef75772885aa57b14f484fa87d73 100644
--- a/LayoutTests/fast/domurl/url-hash.html
+++ b/LayoutTests/fast/domurl/url-hash.html
@@ -16,9 +16,11 @@ test(function() {
url.hash = '';
assert_equals(url.hash, '');
+ assert_equals(url.toString(), 'http://www.domain.com/');
url.hash = '#';
assert_equals(url.hash, '');
+ assert_equals(url.toString(), 'http://www.domain.com/');
url.hash = 'a';
assert_equals(url.hash, '#a');
« no previous file with comments | « LayoutTests/fast/dom/location-hash-expected.txt ('k') | LayoutTests/fast/domurl/url-search.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698