OLD | NEW |
1 Test URL protocol setter. | 1 Test URL protocol setter. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS location.protocol = '' threw exception Error: SyntaxError: DOM Exception 12
. | 6 PASS location.protocol = '' threw exception SyntaxError: An invalid or illegal s
tring was specified.. |
7 PASS location.protocol = ':' threw exception Error: SyntaxError: DOM Exception 1
2. | 7 PASS location.protocol = ':' threw exception SyntaxError: An invalid or illegal
string was specified.. |
8 PASS location.protocol = 'é' threw exception Error: SyntaxError: DOM Exception 1
2. | 8 PASS location.protocol = 'é' threw exception SyntaxError: An invalid or illegal
string was specified.. |
9 PASS location.protocol = '[' threw exception Error: SyntaxError: DOM Exception 1
2. | 9 PASS location.protocol = '[' threw exception SyntaxError: An invalid or illegal
string was specified.. |
10 PASS location.protocol = '0' threw exception Error: SyntaxError: DOM Exception 1
2. | 10 PASS location.protocol = '0' threw exception SyntaxError: An invalid or illegal
string was specified.. |
11 PASS a.protocol is 'http:' | 11 PASS a.protocol is 'http:' |
12 PASS a.href is 'https://www.apple.com/' | 12 PASS a.href is 'https://www.apple.com/' |
13 PASS a.href is 'http://www.apple.com/' | 13 PASS a.href is 'http://www.apple.com/' |
14 PASS a.href is 'https://www.apple.com/' | 14 PASS a.href is 'https://www.apple.com/' |
15 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
16 | 16 |
17 TEST COMPLETE | 17 TEST COMPLETE |
18 | 18 |
OLD | NEW |