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

Issue 2875493002: Block navigations to hosted apps non-icon resources with PlzNavigate. (Closed)

Created:
3 years, 7 months ago by nasko
Modified:
3 years, 7 months ago
Reviewers:
ncarter (slow), Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Block navigations to hosted apps non-icon resources with PlzNavigate. BUG=717626 Review-Url: https://codereview.chromium.org/2875493002 Cr-Commit-Position: refs/heads/master@{#474469} Committed: https://chromium.googlesource.com/chromium/src/+/68e5e6de4f09b9bc50ec0460fcad02d5923304d9

Patch Set 1 #

Patch Set 2 : Rebase on nick@'s recent changes. #

Total comments: 5

Patch Set 3 : Add a TODO. #

Patch Set 4 : Add a test for allowed navigation to an icon file. #

Total comments: 2

Patch Set 5 : Remove incorrect TODO. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -1 line) Patch
M chrome/browser/extensions/process_manager_browsertest.cc View 1 2 3 2 chunks +32 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/hosted_app/icon.png View 1 2 3 Binary file 0 comments Download
M chrome/test/data/extensions/hosted_app/manifest.json View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/extension_navigation_throttle.cc View 1 3 4 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (24 generated)
nasko
Hey Nick, Can you review this CL for me? It fixes the issue with hosted ...
3 years, 7 months ago (2017-05-23 22:43:14 UTC) #8
ncarter (slow)
lgtm
3 years, 7 months ago (2017-05-24 17:10:54 UTC) #11
nasko
Hey Devlin, Can you do an owners review on this CL? Thanks in advance! Nasko
3 years, 7 months ago (2017-05-24 17:15:46 UTC) #13
Devlin
lgtm! https://codereview.chromium.org/2875493002/diff/20001/chrome/browser/extensions/process_manager_browsertest.cc File chrome/browser/extensions/process_manager_browsertest.cc (right): https://codereview.chromium.org/2875493002/diff/20001/chrome/browser/extensions/process_manager_browsertest.cc#newcode1251 chrome/browser/extensions/process_manager_browsertest.cc:1251: content::PAGE_TYPE_ERROR); Can we expand this to include a ...
3 years, 7 months ago (2017-05-24 17:27:19 UTC) #14
nasko
https://codereview.chromium.org/2875493002/diff/20001/extensions/browser/extension_navigation_throttle.cc File extensions/browser/extension_navigation_throttle.cc (right): https://codereview.chromium.org/2875493002/diff/20001/extensions/browser/extension_navigation_throttle.cc#newcode71 extensions/browser/extension_navigation_throttle.cc:71: if (target_extension->is_hosted_app()) { On 2017/05/24 17:27:19, Devlin (catching up) ...
3 years, 7 months ago (2017-05-24 17:37:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2875493002/40001
3 years, 7 months ago (2017-05-24 17:38:06 UTC) #18
Devlin
https://codereview.chromium.org/2875493002/diff/20001/chrome/browser/extensions/process_manager_browsertest.cc File chrome/browser/extensions/process_manager_browsertest.cc (right): https://codereview.chromium.org/2875493002/diff/20001/chrome/browser/extensions/process_manager_browsertest.cc#newcode1251 chrome/browser/extensions/process_manager_browsertest.cc:1251: content::PAGE_TYPE_ERROR); On 2017/05/24 17:27:19, Devlin (catching up) wrote: > ...
3 years, 7 months ago (2017-05-24 17:39:17 UTC) #19
nasko
https://codereview.chromium.org/2875493002/diff/20001/chrome/browser/extensions/process_manager_browsertest.cc File chrome/browser/extensions/process_manager_browsertest.cc (right): https://codereview.chromium.org/2875493002/diff/20001/chrome/browser/extensions/process_manager_browsertest.cc#newcode1251 chrome/browser/extensions/process_manager_browsertest.cc:1251: content::PAGE_TYPE_ERROR); On 2017/05/24 17:39:17, Devlin (catching up) wrote: > ...
3 years, 7 months ago (2017-05-24 18:46:38 UTC) #21
Devlin
s lgtm as long as the bots are happy. It's possible there's some test out ...
3 years, 7 months ago (2017-05-24 18:48:34 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2875493002/60001
3 years, 7 months ago (2017-05-24 19:55:08 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/446580)
3 years, 7 months ago (2017-05-24 20:04:27 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2875493002/60001
3 years, 7 months ago (2017-05-24 20:57:42 UTC) #32
ncarter (slow)
https://codereview.chromium.org/2875493002/diff/60001/extensions/browser/extension_navigation_throttle.cc File extensions/browser/extension_navigation_throttle.cc (right): https://codereview.chromium.org/2875493002/diff/60001/extensions/browser/extension_navigation_throttle.cc#newcode73 extensions/browser/extension_navigation_throttle.cc:73: // once PlzNavigate is the default. Can we though? ...
3 years, 7 months ago (2017-05-24 21:13:16 UTC) #33
nasko
https://codereview.chromium.org/2875493002/diff/60001/extensions/browser/extension_navigation_throttle.cc File extensions/browser/extension_navigation_throttle.cc (right): https://codereview.chromium.org/2875493002/diff/60001/extensions/browser/extension_navigation_throttle.cc#newcode73 extensions/browser/extension_navigation_throttle.cc:73: // once PlzNavigate is the default. On 2017/05/24 21:13:16, ...
3 years, 7 months ago (2017-05-24 21:15:43 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2875493002/80001
3 years, 7 months ago (2017-05-24 21:23:29 UTC) #37
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 23:19:54 UTC) #40
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/68e5e6de4f09b9bc50ec0460fcad...

Powered by Google App Engine
This is Rietveld 408576698