blob: 625736c08e5515722444ec02806906eed0f1806c [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description("This test checks that a SECURITY_ERR exception is raised if an attempt is made to change document.domain to an invalid value.");
shouldThrowErrorName('document.domain = "apple.com"', 'SecurityError');
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>