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

Side by Side Diff: LayoutTests/http/tests/security/suborigins/suborigin-blocked-different-suborigins.html

Issue 1180923003: Add window access checks for Suborigins (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix tests on Windows Created 5 years, 6 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Block contentWindow access between two different suborigins</title>
5 <script src="/resources/testharness.js"></script>
6 <script src="/resources/testharnessreport.js"></script>
7 </head>
8 <script>
9 window.onmessage = function(event) {
10 assert_equals(event.data, '');
11 done();
12 };
13 </script>
14 <iframe id="iframe" src="resources/iframe-reaches-into-parent.php?suborigin=foob ar&childsuborigin=bazbar"></iframe>
15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698