Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/post-document-cookie.php

Issue 2370843003: Suborigin LayoutTest formatting and refactoring (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/post-document-cookie.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/post-document-cookie.php b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/post-document-cookie.php
index 2459db89d0cdc78a26ca8334702484da0066a605..72e8093dabf3755aa88356f1059035dfb0c08be7 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/post-document-cookie.php
+++ b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/post-document-cookie.php
@@ -1,10 +1,13 @@
<!DOCTYPE html>
<html>
+<head>
+<meta charset="utf-8">
+</head>
<script>
var test_name = '<?php echo $_GET["testname"]; ?>';
var data = {
- cookie_val: document.cookie,
- test_name: test_name
+ 'cookie_val': document.cookie,
+ 'test_name': test_name
};
window.parent.postMessage(data, '*');
</script>

Powered by Google App Engine
This is Rietveld 408576698