tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / fast / dom / HTMLAnchorElement / set-href-attribute-protocol-expected.txt
1 Test setting the protocol attribute of the URL in HTMLAnchorElement .
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 Basic test
7 PASS a.href is 'http-foo://www.mydomain.com/path/'
8 Set a protocol that contains ':'
9 PASS a.href is 'http://www.mydomain.com/path/'
10 Set a protocol that contains invalid characters
11 PASS a.href is 'https://www.mydomain.com/path/'
12 Set a protocol to a URL with invalid host name
13 PASS a.href is 'foo:^^'
14 Set a protocol that starts with ':'
15 PASS a.href is 'https://www.mydomain.com/path/'
16 Set protocol to null
17 PASS a.href is 'https://www.mydomain.com/path/'
18 Set protocol to empty string
19 PASS a.href is 'https://www.mydomain.com/path/'
20 Set protocol to http on malformed URL
21 PASS a.href is 'http:/??bar'
22 Set protocol to a URL which points to a local file
23 PASS a.href is 'f-oo:path'
24 Set protocol to undefined
25 PASS a.href is 'undefined://www.mydomain.com/path/'
26 PASS successfullyParsed is true
27
28 TEST COMPLETE
29