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

Unified Diff: chrome/browser/resources/inline_login/inline_login.js

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/inline_login/inline_login.js
diff --git a/chrome/browser/resources/inline_login/inline_login.js b/chrome/browser/resources/inline_login/inline_login.js
index 8aa1c2a3bc2c490af5b8021fd46a58c5c1b9521a..70fa4509bf73b663a149a18bbec7b0c0b31e9f35 100644
--- a/chrome/browser/resources/inline_login/inline_login.js
+++ b/chrome/browser/resources/inline_login/inline_login.js
@@ -69,7 +69,15 @@ cr.define('inline.login', function() {
$('contents').classList.toggle('loading', true);
}
+ /**
+ * Returns the auth host instance, for testing purpose.
+ */
+ function getAuthExtHost() {
+ return authExtHost;
+ }
+
return {
+ getAuthExtHost: getAuthExtHost,
initialize: initialize,
loadAuthExtension: loadAuthExtension,
closeDialog: closeDialog,

Powered by Google App Engine
This is Rietveld 408576698