Index: third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/child-changes-document-domain.php |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/child-changes-document-domain.php b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/child-changes-document-domain.php |
index a5b4b1dbed7702788f0b09c1f141c7a1a85a12f4..ee0ca7f2868709fad4857ba419819e5c189db79d 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/child-changes-document-domain.php |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/child-changes-document-domain.php |
@@ -4,12 +4,15 @@ if ($_GET["suborigin"]) { |
} |
?> |
<!DOCTYPE html> |
+<head> |
+<meta charset="utf-8"> |
+</head> |
<script> |
try { |
- document.domain = '127.0.0.1'; |
- window.parent.secret = 'I am a secret'; |
+ document.domain = '127.0.0.1'; |
+ window.parent.secret = 'I am a secret'; |
} catch (e) { |
- parent.postMessage('' + e, '*'); |
+ parent.postMessage('' + e, '*'); |
} |
parent.postMessage('Done', '*'); |