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

Issue 12621008: chrome-search: should not be display-isolated (Closed)

Created:
7 years, 9 months ago by dhollowa
Modified:
4 years ago
CC:
chromium-reviews, melevin, dhollowa+watch_chromium.org, sreeram, gideonwald, dominich, David Black, samarth+watch_chromium.org, Jered
Visibility:
Public.

Description

chrome-search: should not be display-isolated Makes chrome-search display-isolated only for non-Instant processes. Also removes origin-access-whitelist additions for the specific hosts. BUG=222499 TEST=InstantPolicyTest.ThemeBackgroundAccess, InstantExtendedTest.NoWebUIBindingsOn* R=sreeram@chromium.org, creis@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190282

Patch Set 1 #

Total comments: 6

Patch Set 2 : Remove unused header. #

Patch Set 3 : Rebase #

Total comments: 3

Patch Set 4 : Documentation #

Patch Set 5 : Rebased to HEAD #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -41 lines) Patch
M chrome/browser/ui/search/instant_controller.cc View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/search/instant_page.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/search/instant_page.cc View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 1 chunk +12 lines, -1 line 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/renderer/searchbox/searchbox.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/renderer/searchbox/searchbox.cc View 1 2 3 4 3 chunks +0 lines, -23 lines 0 comments Download

Messages

Total messages: 37 (1 generated)
dhollowa
Hi Guys, The fix here is to make chrome-schemed *not* display isolated for the Instant ...
7 years, 9 months ago (2013-03-20 21:32:22 UTC) #1
Shishir
https://codereview.chromium.org/12621008/diff/1/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/12621008/diff/1/chrome/renderer/chrome_content_renderer_client.cc#newcode252 chrome/renderer/chrome_content_renderer_client.cc:252: WebSecurityPolicy::registerURLSchemeAsDisplayIsolated(chrome_search_scheme); As sreeram pointed out, we should just block ...
7 years, 9 months ago (2013-03-20 21:35:51 UTC) #2
dhollowa
https://codereview.chromium.org/12621008/diff/1/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/12621008/diff/1/chrome/renderer/chrome_content_renderer_client.cc#newcode252 chrome/renderer/chrome_content_renderer_client.cc:252: WebSecurityPolicy::registerURLSchemeAsDisplayIsolated(chrome_search_scheme); On 2013/03/20 21:35:52, Shishir wrote: > As sreeram ...
7 years, 9 months ago (2013-03-20 22:15:08 UTC) #3
Shishir
https://codereview.chromium.org/12621008/diff/1/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/12621008/diff/1/chrome/renderer/chrome_content_renderer_client.cc#newcode252 chrome/renderer/chrome_content_renderer_client.cc:252: WebSecurityPolicy::registerURLSchemeAsDisplayIsolated(chrome_search_scheme); On 2013/03/20 22:15:08, dhollowa wrote: > On 2013/03/20 ...
7 years, 9 months ago (2013-03-20 22:20:49 UTC) #4
sreeram
lgtm
7 years, 9 months ago (2013-03-20 22:26:24 UTC) #5
dhollowa
https://codereview.chromium.org/12621008/diff/1/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/12621008/diff/1/chrome/renderer/chrome_content_renderer_client.cc#newcode252 chrome/renderer/chrome_content_renderer_client.cc:252: WebSecurityPolicy::registerURLSchemeAsDisplayIsolated(chrome_search_scheme); On 2013/03/20 22:20:49, Shishir wrote: > On 2013/03/20 ...
7 years, 9 months ago (2013-03-20 23:12:24 UTC) #6
Shishir
On 2013/03/20 23:12:24, dhollowa wrote: > https://codereview.chromium.org/12621008/diff/1/chrome/renderer/chrome_content_renderer_client.cc > File chrome/renderer/chrome_content_renderer_client.cc (right): > > https://codereview.chromium.org/12621008/diff/1/chrome/renderer/chrome_content_renderer_client.cc#newcode252 > ...
7 years, 9 months ago (2013-03-20 23:23:53 UTC) #7
Shishir
lgtm
7 years, 9 months ago (2013-03-20 23:26:48 UTC) #8
dhollowa
+ jam -> OWNERS chrome/renderer/chrome_content_renderer_client.cc + palmer -> OWNERS chrome/common/render_messages.h Thanks.
7 years, 9 months ago (2013-03-20 23:32:15 UTC) #9
Charlie Reis
I'm not entirely clear what this means. Can you elaborate on how DisplayIsolated is used? ...
7 years, 9 months ago (2013-03-21 00:08:17 UTC) #10
dhollowa
> I'm not entirely clear what this means. Can you elaborate on how DisplayIsolated is ...
7 years, 9 months ago (2013-03-21 01:30:19 UTC) #11
Charlie Reis
Thanks. LGTM once you add comments explaining the reasoning. https://codereview.chromium.org/12621008/diff/10001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/12621008/diff/10001/chrome/renderer/chrome_content_renderer_client.cc#newcode251 chrome/renderer/chrome_content_renderer_client.cc:251: ...
7 years, 9 months ago (2013-03-21 18:06:42 UTC) #12
dhollowa
On 2013/03/21 18:06:42, creis wrote: > Thanks. LGTM once you add comments explaining the reasoning. ...
7 years, 9 months ago (2013-03-21 19:14:07 UTC) #13
dhollowa
+ jam -> OWNERS chrome/renderer/chrome_content_renderer_client.cc + palmer -> OWNERS chrome/common/render_messages.h
7 years, 9 months ago (2013-03-21 19:14:48 UTC) #14
palmer
lgtm
7 years, 9 months ago (2013-03-21 20:33:08 UTC) #15
jam
On 2013/03/21 19:14:48, dhollowa wrote: > + jam -> OWNERS chrome/renderer/chrome_content_renderer_client.cc please see chrome/OWNERS > ...
7 years, 9 months ago (2013-03-21 20:47:47 UTC) #16
dhollowa
On 2013/03/21 20:47:47, jam wrote: > On 2013/03/21 19:14:48, dhollowa wrote: > > + jam ...
7 years, 9 months ago (2013-03-21 20:52:04 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dhollowa@chromium.org/12621008/14001
7 years, 9 months ago (2013-03-21 22:08:42 UTC) #18
commit-bot: I haz the power
Presubmit check for 12621008-14001 failed and returned exit status 1. INFO:root:Found 8 file(s). Running presubmit ...
7 years, 9 months ago (2013-03-21 22:08:47 UTC) #19
dhollowa
Hi Scott, looking for an OWNERS stamp for: chrome/renderer/chrome_content_renderer_client.cc Was reviewed by creis@ already for ...
7 years, 9 months ago (2013-03-21 22:32:55 UTC) #20
sky
LGTM
7 years, 9 months ago (2013-03-22 04:01:06 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dhollowa@chromium.org/12621008/14001
7 years, 9 months ago (2013-03-22 16:08:54 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dhollowa@chromium.org/12621008/14001
7 years, 9 months ago (2013-03-22 18:27:46 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dhollowa@chromium.org/12621008/14001
7 years, 9 months ago (2013-03-23 15:11:56 UTC) #24
commit-bot: I haz the power
Failed to apply patch for chrome/renderer/searchbox/searchbox.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-23 22:57:49 UTC) #25
Shishir
Rebased to HEAD and verified that the diffs are same as PS4. Sending to CQ.
7 years, 9 months ago (2013-03-24 16:40:10 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dhollowa@chromium.org/12621008/45001
7 years, 9 months ago (2013-03-24 16:48:23 UTC) #27
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 9 months ago (2013-03-24 17:54:57 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dhollowa@chromium.org/12621008/45001
7 years, 9 months ago (2013-03-24 17:56:57 UTC) #29
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 9 months ago (2013-03-24 18:05:21 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dhollowa@chromium.org/12621008/45001
7 years, 9 months ago (2013-03-24 18:07:09 UTC) #31
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 9 months ago (2013-03-24 19:22:52 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dhollowa@chromium.org/12621008/45001
7 years, 9 months ago (2013-03-24 19:24:55 UTC) #33
commit-bot: I haz the power
Change committed as 190282
7 years, 9 months ago (2013-03-24 19:49:39 UTC) #34
unblockableq
aaaaaaaaa
4 years ago (2016-12-04 15:35:24 UTC) #36
unblockableq
4 years ago (2016-12-04 15:36:41 UTC) #37
Message was sent while issue was closed.
lgtm

aaaaaaaaa

Powered by Google App Engine
This is Rietveld 408576698