1 description("This test checks that a SECURITY_ERR exception is raised if an attempt is made to change document.domain to an invalid value.");
3 shouldThrow('document.domain = "apple.com"', '"SecurityError: Failed to set the \'domain\' property on \'Document\': \'apple.com\' is not a suffix of \'\'."');