1 Test URL protocol setter.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS location.protocol = '' threw exception SyntaxError: Failed to set the 'protocol' property on 'Location': '' is an invalid protocol..
7 PASS location.protocol = ':' threw exception SyntaxError: Failed to set the 'protocol' property on 'Location': ':' is an invalid protocol..
8 PASS location.protocol = 'é' threw exception SyntaxError: Failed to set the 'protocol' property on 'Location': 'é' is an invalid protocol..
9 PASS location.protocol = '[' threw exception SyntaxError: Failed to set the 'protocol' property on 'Location': '[' is an invalid protocol..
10 PASS location.protocol = '0' threw exception SyntaxError: Failed to set the 'protocol' property on 'Location': '0' is an invalid protocol..
11 PASS a.protocol is 'http:'
12 PASS a.href is 'https://www.apple.com/'
13 PASS a.href is 'http://www.apple.com/'
14 PASS a.href is 'https://www.apple.com/'
15 PASS successfullyParsed is true