blob: 6b14f63cf6b4480616da67666b80d633f22b8521 (
plain)
1
2
3
4
5
6
7
8
9
10
|
This test checks that a SECURITY_ERR exception is raised if an attempt is made to change document.domain to an invalid value.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.domain = "apple.com" threw exception SecurityError: Failed to set the 'domain' property on 'Document': 'apple.com' is not a suffix of ''..
PASS successfullyParsed is true
TEST COMPLETE
|