diff options
Diffstat (limited to 'LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-protocol-expected.txt')
-rw-r--r-- | LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-protocol-expected.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-protocol-expected.txt b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-protocol-expected.txt new file mode 100644 index 0000000..bd801ab --- /dev/null +++ b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-protocol-expected.txt @@ -0,0 +1,29 @@ +Test setting the protocol 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 'http-foo://www.mydomain.com/path/' +Set a protocol that contains ':' +PASS a.href is 'http://www.mydomain.com/path/' +Set a protocol that contains invalid characters +PASS a.href is 'https://www.mydomain.com/path/' +Set a protocol to a URL with invalid host name +PASS a.href is 'foo:^^' +Set a protocol that starts with ':' +PASS a.href is 'https://www.mydomain.com/path/' +Set protocol to null +PASS a.href is 'https://www.mydomain.com/path/' +Set protocol to empty string +PASS a.href is 'https://www.mydomain.com/path/' +Set protocol to http on malformed URL +PASS a.href is 'http:??bar' +Set protocol to a URL which points to a local file +PASS a.href is 'f-oo:path' +Set protocol to undefined +PASS a.href is 'undefined://www.mydomain.com/path/' +PASS successfullyParsed is true + +TEST COMPLETE + |