blob: d5a5c78c4d0f4804da08f8115436886ee90a0a2f [file] [log] [blame]
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