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

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: undo cros change 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
5 // Attempts to trigger top-frame navigation.
6 function deframe() {
7 if (top.location != self.location)
8 top.location.href = self.location;
9 }
10 </script>
11 </head>
12
13 <body onload="deframe();">
14 This page will attempt to break out iframe.
15 </body>
16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698