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

Issue 1288893005: [Script Injection] Allow whitelisted extensions to inject scripts everywhere (Closed)

Created:
5 years, 4 months ago by Devlin
Modified:
5 years, 4 months ago
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

[Script Injection] Allow whitelisted extensions to inject scripts everywhere Fix a regression where whitelisted extensions couldn't inject content scripts on other extension pages. BUG=517370 Committed: https://crrev.com/9808b390b8a36c9ecb81c10dac9d18125713f57d Cr-Commit-Position: refs/heads/master@{#343930}

Patch Set 1 : #

Patch Set 2 : Missing file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -34 lines) Patch
M chrome/browser/extensions/all_urls_apitest.cc View 5 chunks +62 lines, -33 lines 0 comments Download
A chrome/test/data/extensions/api_test/all_urls/bystander/manifest.json View 1 1 chunk +6 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/all_urls/bystander/page.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M extensions/renderer/extension_injection_host.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 14 (6 generated)
Devlin
Fix + test. Woo.
5 years, 4 months ago (2015-08-17 22:42:36 UTC) #3
not at google - send to devlin
lgtm
5 years, 4 months ago (2015-08-17 22:47:29 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288893005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288893005/40001
5 years, 4 months ago (2015-08-17 23:26:36 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/99366)
5 years, 4 months ago (2015-08-18 01:35:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288893005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288893005/40001
5 years, 4 months ago (2015-08-18 15:24:52 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 4 months ago (2015-08-18 15:59:01 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/9808b390b8a36c9ecb81c10dac9d18125713f57d Cr-Commit-Position: refs/heads/master@{#343930}
5 years, 4 months ago (2015-08-18 15:59:43 UTC) #13
Ryan Hamilton
5 years, 4 months ago (2015-08-18 19:19:18 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:40001) has been created in
https://codereview.chromium.org/1285263006/ by rch@chromium.org.

The reason for reverting is: Seems to have broken browser_tests on
Windows-XP-SP3

https://findit-for-me.appspot.com/build-failure?url=https://build.chromium.or...

https://build.chromium.org/p/chromium.win/builders/XP%20Tests%20(1)/builds/39546

[ RUN      ] AllUrlsApiTest.WhitelistedExtensionRunsOnExtensionPages

[416:2484:0818/104836:ERROR:shell_util.cc(1184)] Error getting short (8.3) path
for E:\b\swarm_slave\work\run_tha_testyfglvj\out\Release\browser_tests.exe: The
system cannot find the path specified. (0x3)

[416:2972:0818/104837:WARNING:raw_channel.cc(208)] Shutting down RawChannel with
write buffer nonempty

c:\b\build\slave\win_builder\build\src\chrome\browser\extensions\all_urls_apitest.cc(141):
error: Value of: bystander

  Actual: false

Expected: true

[416:2972:0818/104837:WARNING:raw_channel.cc(208)] Shutting down RawChannel with
write buffer nonempty

[416:2972:0818/104837:WARNING:raw_channel.cc(208)] Shutting down RawChannel with
write buffer nonempty

[416:2484:0818/104837:WARNING:pref_notifier_impl.cc(27)] pref observer found at
shutdown printing.enabled

[416:2484:0818/104837:WARNING:pref_notifier_impl.cc(27)] pref observer found at
shutdown plugins.allow_outdated

[416:2484:0818/104837:WARNING:pref_notifier_impl.cc(27)] pref observer found at
shutdown plugins.always_authorize

[  FAILED  ] AllUrlsApiTest.WhitelistedExtensionRunsOnExtensionPages, where
TypeParam =  and GetParam() =  (1407 ms)
.

Powered by Google App Engine
This is Rietveld 408576698