OLD | NEW |
1 Tests that manipulating location properties in a just-created window object does
not crash. Note: Turn off pop-up blocking to run this in-browser. | 1 Tests that manipulating location properties in a just-created window object does
not crash. Note: Turn off pop-up blocking to run this in-browser. |
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 testWindow.location.toString() is 'about:blank' | 6 PASS testWindow.location.toString() is 'about:blank' |
7 PASS testWindow.location.href is 'about:blank' | 7 PASS testWindow.location.href is 'about:blank' |
8 PASS testWindow.location.protocol is 'about:' | 8 PASS testWindow.location.protocol is 'about:' |
9 PASS testWindow.location.host is '' | 9 PASS testWindow.location.host is '' |
10 PASS testWindow.location.hostname is '' | 10 PASS testWindow.location.hostname is '' |
11 PASS testWindow.location.port is '' | 11 PASS testWindow.location.port is '' |
12 PASS testWindow.location.pathname is 'blank' | 12 PASS testWindow.location.pathname is 'blank' |
13 PASS testWindow.location.search is '' | 13 PASS testWindow.location.search is '' |
14 PASS testWindow.location.hash is '' | 14 PASS testWindow.location.hash is '' |
15 PASS testWindow.location.href = 'data:text/plain,b' is 'data:text/plain,b' | 15 PASS testWindow.location.href = 'data:text/plain,b' is 'data:text/plain,b' |
16 PASS testWindow.location.protocol = 'data' is 'data' | 16 PASS testWindow.location.protocol = 'data' is 'data' |
17 PASS testWindow.location.host = 'c' is 'c' | 17 PASS testWindow.location.host = 'c' is 'c' |
18 PASS testWindow.location.hostname = 'd' is 'd' | 18 PASS testWindow.location.hostname = 'd' is 'd' |
19 PASS testWindow.location.port = 'e' is 'e' | 19 PASS testWindow.location.port = 'e' is 'e' |
20 PASS testWindow.location.pathname = 'f' is 'f' | 20 PASS testWindow.location.pathname = 'f' is 'f' |
21 PASS testWindow.location.search = 'g' is 'g' | 21 PASS testWindow.location.search = 'g' is 'g' |
22 PASS testWindow.location.hash = 'h' is 'h' | 22 PASS testWindow.location.hash = 'h' is 'h' |
23 PASS testWindow.location.assign('data:text/plain,i') is undefined | 23 PASS testWindow.location.assign('data:text/plain,i') is undefined |
24 PASS testWindow.location.replace('data:text/plain,j') is undefined | 24 PASS testWindow.location.replace('data:text/plain,j') is undefined |
25 PASS testWindow.location.reload() is undefined | 25 PASS testWindow.location.reload() is undefined |
26 PASS testWindow.location.toString() is 'about:blank' | 26 PASS testWindow.location.toString() is 'about:blank#h' |
27 PASS testWindow.location.href is 'about:blank' | 27 PASS testWindow.location.href is 'about:blank#h' |
28 PASS testWindow.location.protocol is 'about:' | 28 PASS testWindow.location.protocol is 'about:' |
29 PASS testWindow.location.host is '' | 29 PASS testWindow.location.host is '' |
30 PASS testWindow.location.hostname is '' | 30 PASS testWindow.location.hostname is '' |
31 PASS testWindow.location.port is '' | 31 PASS testWindow.location.port is '' |
32 PASS testWindow.location.pathname is 'blank' | 32 PASS testWindow.location.pathname is 'blank' |
33 PASS testWindow.location.search is '' | 33 PASS testWindow.location.search is '' |
34 PASS testWindow.location.hash is '' | 34 PASS testWindow.location.hash is '#h' |
35 PASS successfullyParsed is true | 35 PASS successfullyParsed is true |
36 | 36 |
37 TEST COMPLETE | 37 TEST COMPLETE |
38 | 38 |
OLD | NEW |