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

Side by Side Diff: LayoutTests/http/tests/security/cross-frame-access-child-explicit-domain.html

Issue 187103002: id of iframe incorrectly sets window name (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back no-referrer-subframe.html Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="resources/cross-frame-access.js"></script> 3 <script src="resources/cross-frame-access.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <iframe id="aFrame"></iframe> 6 <iframe id="aFrame" name="aFrame"></iframe>
7 <pre id="console"></pre> 7 <pre id="console"></pre>
8 <script> 8 <script>
9 var url = "http://127.0.0.1:8000/security/resources/cross-frame-iframe-with- explicit-domain-set.html"; 9 var url = "http://127.0.0.1:8000/security/resources/cross-frame-iframe-with- explicit-domain-set.html";
10 var iframeId ="aFrame"; 10 var iframeId ="aFrame";
11 var passMessage = "PASS: Cross frame access to frame explicitly setting docu ment.domain was denied."; 11 var passMessage = "PASS: Cross frame access to frame explicitly setting docu ment.domain was denied.";
12 var failMessage = "Fail: Cross frame access to frame explicitly setting docu ment.domain was allowed."; 12 var failMessage = "Fail: Cross frame access to frame explicitly setting docu ment.domain was allowed.";
13 cannotAccessFrame(url, iframeId, passMessage, failMessage); 13 cannotAccessFrame(url, iframeId, passMessage, failMessage);
14 </script> 14 </script>
15 </body> 15 </body>
16 </html> 16 </html>
17 <html> 17 <html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698