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

Unified Diff: LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt

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/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt
index d0612f6b2836b427db51837b9c91592c7dd3eb8e..234a4e38ccc7b1dbe0721900847516d507ad09e3 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt
@@ -14,13 +14,13 @@ FAIL a.href should be https://www.my"d(){}|~om?ain#com/path/testurl.html#middle.
Set hash to null
PASS a.href is 'https://www.mydomain.com/path/testurl.html#null'
Set hash to empty string
-PASS a.href is 'https://www.mydomain.com/path/testurl.html#'
+PASS a.href is 'https://www.mydomain.com/path/testurl.html'
Add hash to mailto: protocol
FAIL a.href should be mailto:e-mail_address@goes_here#hash-value. Was mailto:e-mail_address@goes_here.
Add hash to file: protocol
PASS a.href is 'file:///some%20path#hash value'
Set hash to '#'
-PASS a.href is 'http://mydomain.com/#'
+PASS a.href is 'http://mydomain.com/'
Add hash to non-standard protocol
PASS a.href is 'foo:bar#hash'
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698