Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Merge "sign-in: Don't inject into none http/https page."
Browse files Browse the repository at this point in the history
> BUG=473077
>
> Review URL: https://codereview.chromium.org/1072643002
>
> Cr-Commit-Position: refs/heads/master@{#324368}
> (cherry picked from commit 5c35815)

[email protected]

Review URL: https://codereview.chromium.org/1055573004

Cr-Commit-Position: refs/branch-heads/2357@{#38}
Cr-Branched-From: 59d4494-refs/heads/master@{#323860}
  • Loading branch information
Xiyuan Xia committed Apr 10, 2015
1 parent 4bb914c commit ecc3478
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chrome/browser/resources/gaia_auth_host/saml_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,12 @@ cr.define('cr.login', function() {
return;
}

// Skip for none http/https url.
if (e.url.indexOf('https://') != 0 &&
e.url.indexOf('http://') != 0) {
return;
}

this.isSamlPage_ = this.pendingIsSamlPage_;
this.injectJs_();
},
Expand Down

0 comments on commit ecc3478

Please sign in to comment.