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

Issue 466053: Fix a crash bug on user script installation (Closed)

Created:
11 years ago by Aaron Boodman
Modified:
9 years, 6 months ago
Reviewers:
abarth-chromium
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix a crash bug on user script installation and add a test to make sure it doesn't happen again. Also, re-enable a test nearby. The history has been lost of why this was failing, so it may fail again, but at least we'll have data. Finally, fix a Greasemonkey compat issue. BUG=29298 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=33945

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -12 lines) Patch
M chrome/browser/extensions/crx_installer.cc View 3 chunks +11 lines, -9 lines 0 comments Download
M chrome/browser/extensions/extensions_service_unittest.cc View 3 chunks +36 lines, -2 lines 1 comment Download
M chrome/renderer/user_script_slave.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Aaron Boodman
11 years ago (2009-12-06 18:22:15 UTC) #1
Aaron Boodman
Redirecting to abarth since I know he's around.
11 years ago (2009-12-06 20:19:50 UTC) #2
abarth-chromium
Looks good, provided the below is ok. http://codereview.chromium.org/466053/diff/1/3 File chrome/browser/extensions/extensions_service_unittest.cc (right): http://codereview.chromium.org/466053/diff/1/3#newcode759 chrome/browser/extensions/extensions_service_unittest.cc:759: GURL("http://www.aaronboodman.com/scripts/user_script_basic.user.js"), This ...
11 years ago (2009-12-06 20:49:15 UTC) #3
Aaron Boodman
11 years ago (2009-12-06 21:39:38 UTC) #4
On 2009/12/06 20:49:15, abarth wrote:
> Looks good, provided the below is ok.
> 
> http://codereview.chromium.org/466053/diff/1/3
> File chrome/browser/extensions/extensions_service_unittest.cc (right):
> 
> http://codereview.chromium.org/466053/diff/1/3#newcode759
> chrome/browser/extensions/extensions_service_unittest.cc:759:
> GURL("http://www.aaronboodman.com/scripts/user_script_basic.user.js"),
> This doesn't actually touch your web site, right???

No, it doesn't send any requests. The source URL is required by CrxInstaller
because we use it to default some of the generated extension's configuration.

Powered by Google App Engine
This is Rietveld 408576698