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

Issue 908063002: Prevent inline CRX installs in popup windows. (Closed)

Created:
5 years, 10 months ago by meacer
Modified:
5 years, 10 months ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prevent inline CRX installs in popup windows. BUG=416929 TEST=WebstoreInlineInstallerTest.ShouldBlockInlineInstallFromPopupWindow Committed: https://crrev.com/92aa131bcb2699d8d6184a9dabcf5f256002dc65 Cr-Commit-Position: refs/heads/master@{#316679}

Patch Set 1 #

Patch Set 2 : Add test #

Patch Set 3 : Dont include cc file #

Total comments: 8

Patch Set 4 : Devlin comments #

Patch Set 5 : Open the popup from the test file rather than using browser navigation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -11 lines) Patch
M chrome/browser/extensions/webstore_inline_installer.cc View 1 2 3 4 3 chunks +13 lines, -4 lines 0 comments Download
M chrome/browser/extensions/webstore_inline_installer_browsertest.cc View 1 2 3 4 4 chunks +23 lines, -1 line 0 comments Download
M chrome/browser/extensions/webstore_installer_test.h View 1 2 3 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/extensions/webstore_installer_test.cc View 1 1 chunk +9 lines, -5 lines 0 comments Download
A chrome/test/data/extensions/api_test/webstore_inline_install/install_from_popup.html View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
meacer
Devlin, can you PTAL? Thanks!
5 years, 10 months ago (2015-02-11 21:44:14 UTC) #2
Devlin
https://codereview.chromium.org/908063002/diff/40001/chrome/browser/extensions/webstore_inline_installer.cc File chrome/browser/extensions/webstore_inline_installer.cc (right): https://codereview.chromium.org/908063002/diff/40001/chrome/browser/extensions/webstore_inline_installer.cc#newcode134 chrome/browser/extensions/webstore_inline_installer.cc:134: if (browser && browser->is_type_popup()) { Under what circumstances can ...
5 years, 10 months ago (2015-02-12 17:18:21 UTC) #3
meacer
https://codereview.chromium.org/908063002/diff/40001/chrome/browser/extensions/webstore_inline_installer.cc File chrome/browser/extensions/webstore_inline_installer.cc (right): https://codereview.chromium.org/908063002/diff/40001/chrome/browser/extensions/webstore_inline_installer.cc#newcode134 chrome/browser/extensions/webstore_inline_installer.cc:134: if (browser && browser->is_type_popup()) { On 2015/02/12 17:18:21, Devlin ...
5 years, 10 months ago (2015-02-12 21:12:05 UTC) #4
Devlin
lgtm
5 years, 10 months ago (2015-02-12 21:17:28 UTC) #5
meacer
Thanks Devlin.
5 years, 10 months ago (2015-02-12 21:40:17 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/908063002/60001
5 years, 10 months ago (2015-02-12 21:41:09 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/24444)
5 years, 10 months ago (2015-02-12 22:47:41 UTC) #10
meacer
On 2015/02/12 22:47:41, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 10 months ago (2015-02-13 23:42:03 UTC) #11
meacer
Devlin, fyi: I changed the browser test so that inline_install_popup.html now opens its own popup ...
5 years, 10 months ago (2015-02-14 02:29:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/908063002/80001
5 years, 10 months ago (2015-02-17 21:42:36 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-17 22:36:19 UTC) #16
commit-bot: I haz the power
5 years, 10 months ago (2015-02-17 22:37:38 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/92aa131bcb2699d8d6184a9dabcf5f256002dc65
Cr-Commit-Position: refs/heads/master@{#316679}

Powered by Google App Engine
This is Rietveld 408576698