| Index: third_party/WebKit/LayoutTests/fast/dom/Document/invalid-domain-change-throws-exception.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/Document/invalid-domain-change-throws-exception.html b/third_party/WebKit/LayoutTests/fast/dom/Document/invalid-domain-change-throws-exception.html
|
| index f9f4577a6cb6355eaa4507017ec54d04b255b069..8f585f8029d1b699a05a12d309ae1b77d19c4818 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/Document/invalid-domain-change-throws-exception.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/Document/invalid-domain-change-throws-exception.html
|
| @@ -4,6 +4,10 @@
|
| <script src="../../../resources/js-test.js"></script>
|
| </head>
|
| <body>
|
| -<script src="script-tests/invalid-domain-change-throws-exception.js"></script>
|
| +<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.");
|
| +
|
| +shouldThrow('document.domain = "apple.com"', '"SecurityError: Failed to set the \'domain\' property on \'Document\': \'apple.com\' is not a suffix of \'\'."');
|
| +</script>
|
| </body>
|
| </html>
|
|
|