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

Side by Side Diff: LayoutTests/http/tests/security/cookies/resources/innocent-victim-with-cookies.html

Issue 8083016: Merge 96260 - JavaScript generated documents don't inherit the cookie URL (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 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 <html> 1 <html>
2 <body> 2 <body>
3 <script> 3 <script>
4 k = Math.floor(Math.random() * 1000000); 4 k = Math.floor(Math.random() * 1000000);
5 document.cookie = "secretcookie=" + k + ";path=/"; 5 document.cookie = "secretcookie=" + k + ";path=/";
6 parent.postMessage(k, "*"); 6 parent.postMessage(k, "*");
7 </script> 7 </script>
8 </body> 8 </body>
9 </html> 9 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/security/cookies/cookie-theft-with-javascript-doc-expected.txt ('k') | Source/WebCore/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698