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

Issue 12225147: Fix a bug where an extension's icon wasn't being properly reloaded if it changes (Closed)

Created:
7 years, 10 months ago by cduvall
Modified:
7 years, 10 months ago
Reviewers:
evan.peterson.ep, not at google - send to devlin
CC:
evan.peterson.ep_gmail.com, chromium-reviews, Aaron Boodman, arv+watch_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Fix a bug where an extension's icon wasn't being properly reloaded if it changes A query string, which is incremented whenever the extension Reload button is clicked, is appended to the end of the extension icon url in order to prevent caching. Patch from Evan Peterson <evan.peterson.ep@gmail.com>; BUG=159302 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182625

Patch Set 1 : #

Total comments: 4

Patch Set 2 : jsdoc comments, postincrement change #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/extensions/extension_list.js View 1 2 chunks +8 lines, -1 line 3 comments Download

Messages

Total messages: 10 (0 generated)
cduvall
This patch is from Evan, one of the new hires.
7 years, 10 months ago (2013-02-12 22:49:26 UTC) #1
not at google - send to devlin
I think this might be symptomatic of a larger problem, where reloading an extension doesn't ...
7 years, 10 months ago (2013-02-12 22:57:52 UTC) #2
epeterson
Extension icons do appear to be updated properly: following the icon's URL (chrome://extension-icon/<extension-id>/48/1) reveals the ...
7 years, 10 months ago (2013-02-12 23:52:41 UTC) #3
not at google - send to devlin
I didn't mean the specialized message thing. However, see comment, perhaps it isn't a caching ...
7 years, 10 months ago (2013-02-13 01:59:31 UTC) #4
not at google - send to devlin
https://codereview.chromium.org/12225147/diff/1002/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/12225147/diff/1002/chrome/browser/resources/extensions/extension_list.js#newcode107 chrome/browser/resources/extensions/extension_list.js:107: this.iconQueryId_++ + ')'; > > var iconUrl = 'url(' ...
7 years, 10 months ago (2013-02-13 02:05:27 UTC) #5
epeterson
https://codereview.chromium.org/12225147/diff/1002/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/12225147/diff/1002/chrome/browser/resources/extensions/extension_list.js#newcode107 chrome/browser/resources/extensions/extension_list.js:107: this.iconQueryId_++ + ')'; I've just tried these suggestions, and, ...
7 years, 10 months ago (2013-02-14 01:09:22 UTC) #6
not at google - send to devlin
lgtm
7 years, 10 months ago (2013-02-14 01:13:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/12225147/1002
7 years, 10 months ago (2013-02-14 20:39:32 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/12225147/1002
7 years, 10 months ago (2013-02-14 22:22:07 UTC) #9
commit-bot: I haz the power
7 years, 10 months ago (2013-02-15 05:51:31 UTC) #10
Message was sent while issue was closed.
Change committed as 182625

Powered by Google App Engine
This is Rietveld 408576698