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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/cookies/resources/post-cookies-to-opener.php

Issue 2124143005: Revert of Teach HistoryItem about a request's initiator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <script> 2 <script>
3 var from_http = <?php 3 var from_http = <?php
4 echo json_encode($_COOKIE); 4 echo json_encode($_COOKIE);
5 ?>; 5 ?>;
6 6
7 window.opener.postMessage({ 7 window.opener.postMessage({
8 'http': from_http, 8 'http': from_http,
9 'document': document.cookie 9 'document': document.cookie
10 }, "*"); 10 }, "*");
11
12 window.addEventListener("message", e => {
13 if (e.data == "reload")
14 window.location.reload();
15 });
16 </script> 11 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698