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

Unified Diff: chrome/browser/resources/gaia_auth/main.html

Issue 239143009: Disallow top-level navigation in gaia iframe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable flaky test 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/inline_login/inline_login.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/gaia_auth/main.html
diff --git a/chrome/browser/resources/gaia_auth/main.html b/chrome/browser/resources/gaia_auth/main.html
index 57e14f3b273f2d2846f2b5366d09a63606b8ea45..a53b3fe919c19b17b2de78303c591877543e3f10 100644
--- a/chrome/browser/resources/gaia_auth/main.html
+++ b/chrome/browser/resources/gaia_auth/main.html
@@ -8,6 +8,8 @@
<script src="main.js"></script>
</head>
<body>
- <iframe id="gaia-frame" name="gaia-frame" src="about:blank" frameborder="0"></iframe>
+ <iframe id="gaia-frame" name="gaia-frame" src="about:blank" frameborder="0"
+ sandbox="allow-same-origin allow-scripts allow-popups allow-forms
+ allow-pointer-lock"></iframe>
</body>
</html>
« no previous file with comments | « no previous file | chrome/browser/resources/inline_login/inline_login.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698