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

Unified Diff: webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt

Issue 462012: Add GURL-specific baseline for a layout test. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Updated bug number. Created 11 years 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 | « no previous file | webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt
===================================================================
--- webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt (revision 0)
+++ webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt (revision 0)
@@ -0,0 +1,38 @@
+Test setting the host attribute of the URL in HTMLAnchorElement.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Basic test
+PASS a.href is 'https://www.otherdomain.com:0/path/'
+Set host with '?' in it
+FAIL a.href should be https://www.other/?domain.com:8080/path/?key=value. Was https://www.other%3Fdomain.com:8080/path/?key=value.
+Set default port for another protocol
+PASS a.href is 'https://www.otherdomain.com:80/path/'
+Set default port
+PASS a.href is 'https://www.otherdomain.com/path/'
+Set host with letters in port number
+PASS a.href is 'https://www.otherdomain.com:44/path/'
+Leading space in port number
+PASS a.href is 'https://www.otherdomain.com:0/path/'
+Colon without port number
+PASS a.href is 'https://www.otherdomain.com:0/path/'
+Set host to null
+PASS a.href is 'https://www.mydomain.com:8080/path/'
+Set host to empty string
+PASS a.href is 'https://www.mydomain.com:8080/path/'
+Set host to URL with file: protocol
+PASS a.href is 'file://mydomain.com/path/'
+Set host containing slashes in it
+FAIL a.href should be https://www.otherdom/ain.com/path/. Was https://www.otherdom%2Fain.com/path/.
+Set host to a malformed URL
+FAIL a.href should be https://www.other!domain.com:15/ww.my@domain.com:8080/path/. Was https://ww.my@www.other%21domain.com:15/path/.
+Set host that starts with ':'
+PASS a.href is 'https://domain.com:8080/path/'
+Set host to URL containing username and ..
+FAIL a.href should be https://rwwmy@www.other!domain.com:25/pa..th/. Was https://rwwmy@www.other%21domain.com:25/pa..th/.
+Set host to a URL with tel: protocol
+PASS a.href is 'tel:+1-816-555-1212'
+PASS successfullyParsed is true
+
+TEST COMPLETE
Property changes on: webkit\data\layout_tests\platform\chromium-mac\LayoutTests\fast\dom\HTMLAnchorElement\set-href-attribute-host-expected.txt
___________________________________________________________________
Added: svn:eol-style:native
+
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698