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

Issue 8138004: Fix issues related to <all_urls> in extensions. (Closed)

Created:
9 years, 2 months ago by jstritar
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, mihaip+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix issues related to <all_urls> in extensions. This fixes the order effective host permissions are initialized in ExtensionPermissionSet. This also fixes an issue in URLPattern where the the pattern for <all_urls> differs depending on if you make the pattern by parsing <all_urls> or by calling SetMatchAllURLs. BUG=98418 TEST=ExtensionApiTest.CrossOriginXHR* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105422

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : missing file #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Total comments: 7

Patch Set 8 : feedback #

Patch Set 9 : fix tests #

Patch Set 10 : make the plugin.dll empty so it loads everywhere #

Messages

Total messages: 8 (0 generated)
jstritar
http://codereview.chromium.org/8138004/diff/6021/chrome/common/extensions/url_pattern.cc File chrome/common/extensions/url_pattern.cc (right): http://codereview.chromium.org/8138004/diff/6021/chrome/common/extensions/url_pattern.cc#newcode263 chrome/common/extensions/url_pattern.cc:263: } This was the real bug- the <all_urls> URLPatterns ...
9 years, 2 months ago (2011-10-10 20:23:24 UTC) #1
Matt Perry
http://codereview.chromium.org/8138004/diff/6021/chrome/common/extensions/url_pattern.cc File chrome/common/extensions/url_pattern.cc (right): http://codereview.chromium.org/8138004/diff/6021/chrome/common/extensions/url_pattern.cc#newcode263 chrome/common/extensions/url_pattern.cc:263: } On 2011/10/10 20:23:24, jstritar wrote: > This was ...
9 years, 2 months ago (2011-10-10 23:22:39 UTC) #2
jstritar
http://codereview.chromium.org/8138004/diff/6021/chrome/common/extensions/url_pattern.cc File chrome/common/extensions/url_pattern.cc (right): http://codereview.chromium.org/8138004/diff/6021/chrome/common/extensions/url_pattern.cc#newcode263 chrome/common/extensions/url_pattern.cc:263: } On 2011/10/10 23:22:39, Matt Perry wrote: > On ...
9 years, 2 months ago (2011-10-11 15:13:38 UTC) #3
jstritar
Actually you can hold off reviewing again... looking at trybot failures
9 years, 2 months ago (2011-10-11 17:26:06 UTC) #4
jstritar
Okay, I think I fixed the test. I removed the part from ExtensionPermissionSet::InitEffectiveHosts that sets ...
9 years, 2 months ago (2011-10-13 19:30:02 UTC) #5
Matt Perry
lgtm
9 years, 2 months ago (2011-10-13 20:20:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jstritar@chromium.org/8138004/21001
9 years, 2 months ago (2011-10-13 22:58:09 UTC) #7
commit-bot: I haz the power
9 years, 2 months ago (2011-10-14 00:19:47 UTC) #8
Change committed as 105422

Powered by Google App Engine
This is Rietveld 408576698