Index: third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/post-to-parent.php |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/post-to-parent.php b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/post-to-parent.php |
index d5bfc02ed0c9ec0a43bd0bed9f300fb2056c3fd7..5663b83087b657844ca85d1b6268ef9ce982e267 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/post-to-parent.php |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/post-to-parent.php |
@@ -5,13 +5,16 @@ if ($_GET["suborigin"]) { |
?> |
<!DOCTYPE html> |
<html> |
+<head> |
+<meta charset="utf-8"> |
+</head> |
<script> |
window.secret = 'I am a secret'; |
try { |
- window.parent.secret = 'I am a secret'; |
+ window.parent.secret = 'I am a secret'; |
} catch(e) { |
- // Ignore. The fact that secret hasn't changed in the parent will be |
- // recognized in the parent. |
+ // Ignore. The fact that secret hasn't changed in the parent will be |
+ // recognized in the parent. |
} |
window.parent.postMessage('Done', '*'); |
</script> |