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

Issue 131483010: Android: Disallow iframes from requesting to auto-log-in. (Closed)

Created:
6 years, 10 months ago by palmer
Modified:
6 years, 2 months ago
CC:
chromium-reviews, sky
Visibility:
Public.

Description

Android: Disallow iframes from requesting to auto-log-in. Other embedded content, such as plug-ins, is also prevented from incurring auto-log-in requests. BUG=334230 TEST=You still get the auto-log-in infobar when the requesting site is the top-level frame, but never otherwise. Committed: https://crrev.com/865bd0940ada91272c4f92b19f996640b210745d Cr-Commit-Position: refs/heads/master@{#299928}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Block the call much earlier in the call stack. #

Patch Set 3 : Update CL description. #

Patch Set 4 : Even more updating of the commit messagings. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (4 generated)
palmer
Am I on the right track here? PTAL. Thank you!
6 years, 10 months ago (2014-01-31 00:39:49 UTC) #1
msw
This seems reasonable to me, but I'm not sure it's entirely correct (might some websites ...
6 years, 10 months ago (2014-02-03 23:37:00 UTC) #2
sky
+creis
6 years, 10 months ago (2014-02-04 01:00:51 UTC) #3
Charlie Reis
I haven't thought much about the policy (don't let iframes request sign-in), though it seems ...
6 years, 10 months ago (2014-02-04 01:26:09 UTC) #4
palmer
https://codereview.chromium.org/131483010/diff/1/chrome/browser/ui/auto_login_infobar_delegate.cc File chrome/browser/ui/auto_login_infobar_delegate.cc (right): https://codereview.chromium.org/131483010/diff/1/chrome/browser/ui/auto_login_infobar_delegate.cc#newcode145 chrome/browser/ui/auto_login_infobar_delegate.cc:145: // incurring the attempt: that is, if |web_contents| is ...
6 years, 10 months ago (2014-02-20 21:30:32 UTC) #5
Fady Samuel
https://codereview.chromium.org/131483010/diff/1/chrome/browser/ui/auto_login_infobar_delegate.cc File chrome/browser/ui/auto_login_infobar_delegate.cc (right): https://codereview.chromium.org/131483010/diff/1/chrome/browser/ui/auto_login_infobar_delegate.cc#newcode145 chrome/browser/ui/auto_login_infobar_delegate.cc:145: // incurring the attempt: that is, if |web_contents| is ...
6 years, 10 months ago (2014-02-20 21:35:53 UTC) #6
Charlie Reis
https://codereview.chromium.org/131483010/diff/1/chrome/browser/ui/auto_login_infobar_delegate.cc File chrome/browser/ui/auto_login_infobar_delegate.cc (right): https://codereview.chromium.org/131483010/diff/1/chrome/browser/ui/auto_login_infobar_delegate.cc#newcode145 chrome/browser/ui/auto_login_infobar_delegate.cc:145: // incurring the attempt: that is, if |web_contents| is ...
6 years, 10 months ago (2014-02-20 22:26:03 UTC) #7
palmer
https://codereview.chromium.org/131483010/diff/1/chrome/browser/ui/auto_login_infobar_delegate.cc File chrome/browser/ui/auto_login_infobar_delegate.cc (right): https://codereview.chromium.org/131483010/diff/1/chrome/browser/ui/auto_login_infobar_delegate.cc#newcode145 chrome/browser/ui/auto_login_infobar_delegate.cc:145: // incurring the attempt: that is, if |web_contents| is ...
6 years, 2 months ago (2014-10-14 01:09:08 UTC) #8
palmer
> > I think you'll need more context than just the WebContents, such as some ...
6 years, 2 months ago (2014-10-14 01:11:00 UTC) #9
Charlie Reis
https://codereview.chromium.org/131483010/diff/1/chrome/browser/ui/auto_login_infobar_delegate.cc File chrome/browser/ui/auto_login_infobar_delegate.cc (right): https://codereview.chromium.org/131483010/diff/1/chrome/browser/ui/auto_login_infobar_delegate.cc#newcode145 chrome/browser/ui/auto_login_infobar_delegate.cc:145: // incurring the attempt: that is, if |web_contents| is ...
6 years, 2 months ago (2014-10-14 19:56:41 UTC) #10
palmer
https://codereview.chromium.org/131483010/diff/1/chrome/browser/ui/auto_login_infobar_delegate.cc File chrome/browser/ui/auto_login_infobar_delegate.cc (right): https://codereview.chromium.org/131483010/diff/1/chrome/browser/ui/auto_login_infobar_delegate.cc#newcode145 chrome/browser/ui/auto_login_infobar_delegate.cc:145: // incurring the attempt: that is, if |web_contents| is ...
6 years, 2 months ago (2014-10-15 20:54:20 UTC) #11
palmer
6 years, 2 months ago (2014-10-15 20:54:21 UTC) #12
Charlie Reis
On 2014/10/15 20:54:20, Chromium Palmer wrote: > https://codereview.chromium.org/131483010/diff/1/chrome/browser/ui/auto_login_infobar_delegate.cc > File chrome/browser/ui/auto_login_infobar_delegate.cc (right): > > https://codereview.chromium.org/131483010/diff/1/chrome/browser/ui/auto_login_infobar_delegate.cc#newcode145 ...
6 years, 2 months ago (2014-10-15 22:00:56 UTC) #13
palmer
> I looked into this a bit, and it seems like you might want to ...
6 years, 2 months ago (2014-10-15 23:41:32 UTC) #14
Charlie Reis
The change LGTM, though you'll need a chrome/ owner's review as well. For this line ...
6 years, 2 months ago (2014-10-16 00:05:27 UTC) #15
palmer
> should also be -> are also > > (I wasn't originally clear if this ...
6 years, 2 months ago (2014-10-16 00:19:40 UTC) #16
palmer
thestig: LGTY for OWNERS?
6 years, 2 months ago (2014-10-16 00:20:04 UTC) #18
Lei Zhang
Can you prefix the commit msg with "Android: " ? It looks like by "plug-ins" ...
6 years, 2 months ago (2014-10-16 00:24:57 UTC) #19
palmer
> Can you prefix the commit msg with "Android: " ? Done. > It looks ...
6 years, 2 months ago (2014-10-16 00:28:32 UTC) #20
Lei Zhang
All makes sense, lgtm.
6 years, 2 months ago (2014-10-16 00:31:23 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/131483010/190001
6 years, 2 months ago (2014-10-16 00:33:28 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/22621)
6 years, 2 months ago (2014-10-16 03:19:52 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/131483010/190001
6 years, 2 months ago (2014-10-16 17:31:23 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:190001)
6 years, 2 months ago (2014-10-16 18:03:43 UTC) #28
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 18:04:34 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/865bd0940ada91272c4f92b19f996640b210745d
Cr-Commit-Position: refs/heads/master@{#299928}

Powered by Google App Engine
This is Rietveld 408576698