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

Side by Side Diff: chrome/test/data/login/deframe.html

Issue 239143009: Disallow top-level navigation in gaia iframe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adds browsertest Created 6 years, 8 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
(Empty)
1 <html>
2 <head>
3 <script>
4 function deframe(){
5 if (top.location != self.location)
6 top.location.href = self.location;
7 }
8 </script>
9 </head>
10
11 <body onload="deframe();"">
12 This page will attempt to break out iframe.
13 </body>
14 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698