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

Issue 1814993002: Handle about:blank in the Origin Info Bubble better. (Closed)

Created:
4 years, 9 months ago by palmer
Modified:
3 years, 10 months ago
CC:
chromium-reviews, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle about:blank in the Origin Info Bubble better. If there is an opener, show its cookies, permissions, and connection status. Otherwise, maintain the status quo (but that will also be improved in a later CL). BUG=595520, 469889, 466422 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation

Patch Set 1 #

Total comments: 1

Patch Set 2 : A different approach: Get the opener, if any. #

Patch Set 3 : Set the right URL and SecurityInfo in the caller, rather than trying to repair in the callee. #

Patch Set 4 : Add and use {Get,Set}Origin in NavigationEntry. #

Total comments: 13

Patch Set 5 : No GetOpener at all. #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -15 lines) Patch
M chrome/app/chromium_strings.grd View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_icon_view.cc View 1 2 3 4 3 chunks +17 lines, -4 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings.cc View 1 2 3 4 chunks +4 lines, -11 lines 0 comments Download
M content/browser/frame_host/frame_navigation_entry.h View 1 2 3 4 1 chunk +1 line, -0 lines 1 comment Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 2 3 4 3 chunks +3 lines, -0 lines 1 comment Download
M content/browser/frame_host/navigation_entry_impl.h View 1 2 3 4 3 chunks +11 lines, -0 lines 2 comments Download
M content/browser/frame_host/navigation_entry_impl.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M content/public/browser/navigation_entry.h View 1 2 3 2 chunks +8 lines, -0 lines 1 comment Download

Messages

Total messages: 29 (8 generated)
palmer
felt: PTAL meacer: FYI
4 years, 9 months ago (2016-03-17 22:17:51 UTC) #2
meacer
https://codereview.chromium.org/1814993002/diff/1/chrome/browser/ui/website_settings/website_settings.cc File chrome/browser/ui/website_settings/website_settings.cc (left): https://codereview.chromium.org/1814993002/diff/1/chrome/browser/ui/website_settings/website_settings.cc#oldcode375 chrome/browser/ui/website_settings/website_settings.cc:375: } This conflicts with https://chromium.googlesource.com/chromium/src/+/60886a6e1591b314f9702fc5adc83789abaf8ec4, we explicitly wanted not ...
4 years, 9 months ago (2016-03-17 22:26:24 UTC) #3
palmer
> we explicitly wanted not to show "This is an internal chrome page" for > ...
4 years, 9 months ago (2016-03-17 22:44:11 UTC) #4
meacer
On 2016/03/17 22:44:11, palmer wrote: > > we explicitly wanted not to show "This is ...
4 years, 9 months ago (2016-03-17 22:59:02 UTC) #5
palmer
meacer: See what you think about this approach.
4 years, 9 months ago (2016-03-18 00:27:48 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814993002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814993002/20001
4 years, 9 months ago (2016-03-18 00:29:10 UTC) #9
meacer
Lgtm [a screenshot would be nice too :)]
4 years, 9 months ago (2016-03-18 00:31:24 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-18 01:11:36 UTC) #12
palmer
Screenshots in https://bugs.chromium.org/p/chromium/issues/detail?id=595520. But it sounds like there is a more reliable approach I should ...
4 years, 9 months ago (2016-03-18 20:03:32 UTC) #13
meacer
On 2016/03/18 20:03:32, palmer (OOO until 2016-03-28) wrote: > Screenshots in https://bugs.chromium.org/p/chromium/issues/detail?id=595520. But > it ...
4 years, 9 months ago (2016-03-23 21:36:06 UTC) #15
palmer
> Should also change the title as it's not correct anymore. Done.
4 years, 8 months ago (2016-04-06 00:46:01 UTC) #16
palmer
creis: If I read you correctly in https://bugs.chromium.org/p/chromium/issues/detail?id=595520#c21, you mean that we should add virtual ...
4 years, 8 months ago (2016-04-06 00:58:54 UTC) #18
Charlie Reis
Sorry for the hassles here, but the opener approach is the wrong direction and we ...
4 years, 8 months ago (2016-04-08 19:32:54 UTC) #19
Charlie Reis
On 2016/04/08 19:32:54, Charlie Reis wrote: > Sorry for the hassles here, but the opener ...
4 years, 8 months ago (2016-04-11 17:29:38 UTC) #20
palmer
Thanks to creis for clues. Not sure if this patchset is entirely right, but it ...
4 years, 8 months ago (2016-04-15 23:33:35 UTC) #22
Charlie Reis
[+alexmos for origin conversion question] Better, but some thoughts below. This will also be an ...
4 years, 8 months ago (2016-04-18 19:58:39 UTC) #24
palmer
Thanks for the clues. If you think this upcoming patchset makes any sense at all, ...
4 years, 8 months ago (2016-04-18 23:37:35 UTC) #25
alexmos
https://codereview.chromium.org/1814993002/diff/60001/chrome/browser/ui/views/location_bar/location_icon_view.cc File chrome/browser/ui/views/location_bar/location_icon_view.cc (right): https://codereview.chromium.org/1814993002/diff/60001/chrome/browser/ui/views/location_bar/location_icon_view.cc#newcode55 chrome/browser/ui/views/location_bar/location_icon_view.cc:55: url = GURL(contents->GetMainFrame()->GetLastCommittedOrigin().Serialize()); On 2016/04/18 19:58:38, Charlie Reis wrote: ...
4 years, 8 months ago (2016-04-19 00:04:37 UTC) #26
palmer
> > Maybe falling back to the URL for unique origins (as I suggest above) ...
4 years, 8 months ago (2016-04-19 00:28:08 UTC) #27
Charlie Reis
Thanks! A few more thoughts below. On 2016/04/19 00:28:08, palmer wrote: > > > Maybe ...
4 years, 8 months ago (2016-04-19 22:32:53 UTC) #28
meacer
3 years, 10 months ago (2017-02-09 23:31:31 UTC) #29
palmer: In case you are looking for more CLs to close, this is a good candidate.
The origin info was removed from the OIB so this CL won't work anymore.

Powered by Google App Engine
This is Rietveld 408576698