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

Issue 890183002: Allow Signin page to open other chrome:// URLs if login content in <webview> (Closed)

Created:
5 years, 10 months ago by Fady Samuel
Modified:
5 years, 5 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow Signin page to open other chrome:// URLs if login content in <webview> BUG=450125 Committed: https://crrev.com/9626273c576eaea50bcd2ccfa6b372a091f51409 Cr-Commit-Position: refs/heads/master@{#317209}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed creis' comment #

Patch Set 3 : Plumb OpenURLFromTab to Owner WebContents #

Patch Set 4 : Middle ground #

Total comments: 1

Patch Set 5 : Addressed creis' comments #

Patch Set 6 : Added a test #

Total comments: 1

Patch Set 7 : Updated #

Patch Set 8 : Tweaked comment #

Patch Set 9 : #

Total comments: 17

Patch Set 10 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -79 lines) Patch
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +83 lines, -2 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/simple/main.html View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/web_view/simple/main.js View 1 2 3 4 5 6 7 8 1 chunk +40 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/simple/manifest.json View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/simple/test.js View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/test/data/extensions/platform_apps/web_view/teardown/main.html View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -10 lines 0 comments Download
D chrome/test/data/extensions/platform_apps/web_view/teardown/main.js View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -13 lines 0 comments Download
D chrome/test/data/extensions/platform_apps/web_view/teardown/manifest.json View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -12 lines 0 comments Download
D chrome/test/data/extensions/platform_apps/web_view/teardown/test.js View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -7 lines 0 comments Download
M extensions/browser/guest_view/test_guest_view_manager.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +64 lines, -34 lines 0 comments Download

Messages

Total messages: 35 (6 generated)
Fady Samuel
5 years, 10 months ago (2015-01-31 22:32:48 UTC) #2
Charlie Reis
Yes, this check was in there for the untrusted-content-in-process case. I'm very happy to be ...
5 years, 10 months ago (2015-02-02 17:29:21 UTC) #3
Fady Samuel
So when the content in <webview> wants to create a new window, the signin page ...
5 years, 10 months ago (2015-02-02 19:59:07 UTC) #4
Fady Samuel
PTAL
5 years, 10 months ago (2015-02-02 19:59:15 UTC) #5
Charlie Reis
On 2015/02/02 19:59:07, Fady Samuel wrote: > So when the content in <webview> wants to ...
5 years, 10 months ago (2015-02-02 20:23:55 UTC) #6
Fady Samuel
On 2015/02/02 20:23:55, Charlie Reis wrote: > On 2015/02/02 19:59:07, Fady Samuel wrote: > > ...
5 years, 10 months ago (2015-02-02 20:41:49 UTC) #7
Charlie Reis
On 2015/02/02 20:41:49, Fady Samuel wrote: > On 2015/02/02 20:23:55, Charlie Reis wrote: > > ...
5 years, 10 months ago (2015-02-02 21:10:57 UTC) #8
Fady Samuel
On 2015/02/02 21:10:57, Charlie Reis wrote: > On 2015/02/02 20:41:49, Fady Samuel wrote: > > ...
5 years, 10 months ago (2015-02-02 23:39:43 UTC) #9
Charlie Reis
On 2015/02/02 23:39:43, Fady Samuel wrote: > On 2015/02/02 21:10:57, Charlie Reis wrote: > > ...
5 years, 10 months ago (2015-02-03 00:14:09 UTC) #10
Fady Samuel
On 2015/02/03 00:14:09, Charlie Reis wrote: > On 2015/02/02 23:39:43, Fady Samuel wrote: > > ...
5 years, 10 months ago (2015-02-03 00:17:43 UTC) #11
Charlie Reis
On 2015/02/03 00:17:43, Fady Samuel wrote: > On 2015/02/03 00:14:09, Charlie Reis wrote: > > ...
5 years, 10 months ago (2015-02-03 00:33:17 UTC) #12
Fady Samuel
On 2015/02/03 00:33:17, Charlie Reis wrote: > On 2015/02/03 00:17:43, Fady Samuel wrote: > > ...
5 years, 10 months ago (2015-02-04 08:37:50 UTC) #13
Fady Samuel
PTAL Charlie. How does this middle ground look to you? In Chrome Apps, we still ...
5 years, 10 months ago (2015-02-04 08:56:52 UTC) #14
Charlie Reis
This doesn't make sense to me yet. Let's look more closely at the cases: 1) ...
5 years, 10 months ago (2015-02-04 22:02:57 UTC) #15
Fady Samuel
Hi Charlie, PTAL. I believe I've addressed your comments. We still need to listen to ...
5 years, 10 months ago (2015-02-04 23:57:32 UTC) #16
Charlie Reis
Yes, I think this will work. Thanks for working through it! Quick sanity check before ...
5 years, 10 months ago (2015-02-05 21:01:33 UTC) #17
Fady Samuel
PTAL. I added a test that verifies that the "Language Settings" menu item goes to ...
5 years, 10 months ago (2015-02-18 22:19:56 UTC) #18
Charlie Reis
On 2015/02/18 22:19:56, Fady Samuel wrote: > PTAL. I added a test that verifies that ...
5 years, 10 months ago (2015-02-18 22:32:06 UTC) #19
Fady Samuel
On 2015/02/18 22:32:06, Charlie Reis wrote: > On 2015/02/18 22:19:56, Fady Samuel wrote: > > ...
5 years, 10 months ago (2015-02-19 00:22:59 UTC) #20
Fady Samuel
PTAL Charlie! Phew! Writing those tests was harder than I expected!
5 years, 10 months ago (2015-02-19 22:27:04 UTC) #21
Charlie Reis
Thanks for your diligence on this! I'm glad we were able to avoid some cases ...
5 years, 10 months ago (2015-02-19 22:56:29 UTC) #22
Fady Samuel
Addressed comments. CQ'ing! Thanks! https://codereview.chromium.org/890183002/diff/160001/chrome/browser/apps/guest_view/web_view_browsertest.cc File chrome/browser/apps/guest_view/web_view_browsertest.cc (right): https://codereview.chromium.org/890183002/diff/160001/chrome/browser/apps/guest_view/web_view_browsertest.cc#newcode238 chrome/browser/apps/guest_view/web_view_browsertest.cc:238: bool open_url_from_tab_; On 2015/02/19 22:56:28, ...
5 years, 10 months ago (2015-02-20 00:33:06 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/890183002/180001
5 years, 10 months ago (2015-02-20 00:34:13 UTC) #26
Charlie Reis
Thanks! https://codereview.chromium.org/890183002/diff/160001/chrome/browser/apps/guest_view/web_view_browsertest.cc File chrome/browser/apps/guest_view/web_view_browsertest.cc (right): https://codereview.chromium.org/890183002/diff/160001/chrome/browser/apps/guest_view/web_view_browsertest.cc#newcode1896 chrome/browser/apps/guest_view/web_view_browsertest.cc:1896: content::WebContents* new_guest_web_contents= On 2015/02/20 00:33:06, Fady Samuel wrote: ...
5 years, 10 months ago (2015-02-20 00:37:59 UTC) #27
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 10 months ago (2015-02-20 01:31:56 UTC) #28
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/9626273c576eaea50bcd2ccfa6b372a091f51409 Cr-Commit-Position: refs/heads/master@{#317209}
5 years, 10 months ago (2015-02-20 01:32:33 UTC) #29
wjmaclean
+ lazyboy@ for OWNERS
5 years, 5 months ago (2015-07-17 01:31:47 UTC) #32
Charlie Reis
On 2015/07/17 01:31:47, wjmaclean wrote: > + lazyboy@ for OWNERS I think you posted this ...
5 years, 5 months ago (2015-07-17 16:15:09 UTC) #33
wjmaclean
5 years, 5 months ago (2015-07-17 16:37:04 UTC) #35
Message was sent while issue was closed.
On 2015/07/17 16:15:09, Charlie Reis wrote:
> On 2015/07/17 01:31:47, wjmaclean wrote:
> > + lazyboy@ for OWNERS
> 
> I think you posted this on the wrong CL.

Yeah, we sorted that out last night, but I forgot to take him off the old issue.
Thanks for spotting it.

Powered by Google App Engine
This is Rietveld 408576698