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

Side by Side 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, 2 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head>
4 <meta charset="utf-8">
5 </head>
3 <script> 6 <script>
4 var test_name = '<?php echo $_GET["testname"]; ?>'; 7 var test_name = '<?php echo $_GET["testname"]; ?>';
5 var data = { 8 var data = {
6 cookie_val: document.cookie, 9 'cookie_val': document.cookie,
7 test_name: test_name 10 'test_name': test_name
8 }; 11 };
9 window.parent.postMessage(data, '*'); 12 window.parent.postMessage(data, '*');
10 </script> 13 </script>
11 </html> 14 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698