haikuwebkit/LayoutTests/fast/dom/Document/invalid-domain-change-throw...

11 lines
368 B
Plaintext

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: The document has a null effectiveDomain..
PASS successfullyParsed is true
TEST COMPLETE