diff options
Diffstat (limited to 'LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt')
-rw-r--r-- | LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt new file mode 100644 index 0000000..6c457a4 --- /dev/null +++ b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt @@ -0,0 +1,39 @@ +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 +PASS a.href is 'https://www.other/?domain.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 +PASS a.href is 'https://www.otherdom/ain.com/path/' +Set host to a malformed URL +PASS a.href is 'https://www.other!domain.com:15/ww.my@domain.com:8080/path/' +Set host that starts with ':' +PASS a.href is 'https://domain.com:8080/path/' +Set host to URL containing username and .. +PASS a.href is 'https://rwwmy@www.other!domain.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 + |