OLD | NEW |
1 This test checks that a SECURITY_ERR exception is raised if an attempt is made t
o change document.domain to an invalid value. | 1 This test checks that a SECURITY_ERR exception is raised if an attempt is made t
o change document.domain to an invalid value. |
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 document.domain = "apple.com" threw exception Error: SecurityError: DOM Exc
eption 18. | 6 PASS document.domain = "apple.com" threw exception SecurityError: An attempt was
made to break through the security policy of the user agent.. |
7 PASS successfullyParsed is true | 7 PASS successfullyParsed is true |
8 | 8 |
9 TEST COMPLETE | 9 TEST COMPLETE |
10 | 10 |
OLD | NEW |