Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 5709671373471744: Unused icons for Chrome/Safari builds (Closed)

Created:
March 13, 2014, 9:30 a.m. by saroyanm
Modified:
March 17, 2014, 11:43 a.m.
Reviewers:
Sebastian Noack
CC:
Thomas Greiner
Visibility:
Public.

Description

This fix is related to current ticket: https://issues.adblockplus.org/ticket/3 Chrome and Safari build contain some unused icons: Chrome: icons/abp-16.png icons/abp-16-notification-critical.png icons/abp-16-notification-information.png Safari: icons/abp-19.png icons/abp-19-notification-critical.png icons/abp-19-notification-information.png icons/abp-48.png (while it's only loaded in notificaition.html which only used in chrome)

Patch Set 1 #

Patch Set 2 : abp-128.png moved to chrome folder #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -60 lines) Patch
M background.js View 1 1 chunk +6 lines, -1 line 5 comments Download
M chrome/icons/abp-128.png View 1 Binary file 0 comments Download
M chrome/icons/abp-19.png View Binary file 0 comments Download
M chrome/icons/abp-19-notification-critical.png View Binary file 0 comments Download
M chrome/icons/abp-19-notification-information.png View Binary file 0 comments Download
M chrome/icons/abp-48.png View Binary file 0 comments Download
M metadata.chrome View 1 1 chunk +42 lines, -37 lines 0 comments Download
M metadata.safari View 1 2 chunks +22 lines, -22 lines 0 comments Download
M safari/icons/abp-16.png View Binary file 0 comments Download
M safari/icons/abp-16-notification-critical.png View Binary file 0 comments Download
M safari/icons/abp-16-notification-information.png View Binary file 0 comments Download

Messages

Total messages: 13
saroyanm
Had no chance to test under safari, but should work, I've compared the icons folder ...
March 13, 2014, 9:39 a.m. (2014-03-13 09:39:14 UTC) #1
Sebastian Noack
On 2014/03/13 09:39:14, saroyanm wrote: > Had no chance to test under safari, but should ...
March 13, 2014, 10:04 a.m. (2014-03-13 10:04:31 UTC) #2
saroyanm
> abp-32.png is also not used on Safari. And abp-128.png is mapped to Icon.png on ...
March 13, 2014, 3:30 p.m. (2014-03-13 15:30:39 UTC) #3
Sebastian Noack
On 2014/03/13 15:30:39, saroyanm wrote: > > abp-32.png is also not used on Safari. And ...
March 13, 2014, 3:55 p.m. (2014-03-13 15:55:08 UTC) #4
Sebastian Noack
http://codereview.adblockplus.org/5709671373471744/diff/5717271485874176/background.js File background.js (right): http://codereview.adblockplus.org/5709671373471744/diff/5717271485874176/background.js#newcode353 background.js:353: iconUrl = ext.getURL("icon.png"); This shouldn't be necessary. The code ...
March 13, 2014, 3:55 p.m. (2014-03-13 15:55:14 UTC) #5
saroyanm
http://codereview.adblockplus.org/5709671373471744/diff/5717271485874176/background.js File background.js (right): http://codereview.adblockplus.org/5709671373471744/diff/5717271485874176/background.js#newcode353 background.js:353: iconUrl = ext.getURL("icon.png"); On 2014/03/13 15:55:14, Sebastian Noack wrote: ...
March 13, 2014, 4:01 p.m. (2014-03-13 16:01:18 UTC) #6
Sebastian Noack
http://codereview.adblockplus.org/5709671373471744/diff/5717271485874176/background.js File background.js (right): http://codereview.adblockplus.org/5709671373471744/diff/5717271485874176/background.js#newcode353 background.js:353: iconUrl = ext.getURL("icon.png"); On 2014/03/13 16:01:19, saroyanm wrote: > ...
March 13, 2014, 4:20 p.m. (2014-03-13 16:20:00 UTC) #7
saroyanm
http://codereview.adblockplus.org/5709671373471744/diff/5717271485874176/background.js File background.js (right): http://codereview.adblockplus.org/5709671373471744/diff/5717271485874176/background.js#newcode353 background.js:353: iconUrl = ext.getURL("icon.png"); On 2014/03/13 16:20:00, Sebastian Noack wrote: ...
March 13, 2014, 4:31 p.m. (2014-03-13 16:31:19 UTC) #8
Sebastian Noack
http://codereview.adblockplus.org/5709671373471744/diff/5717271485874176/background.js File background.js (right): http://codereview.adblockplus.org/5709671373471744/diff/5717271485874176/background.js#newcode353 background.js:353: iconUrl = ext.getURL("icon.png"); On 2014/03/13 16:31:19, saroyanm wrote: > ...
March 13, 2014, 4:36 p.m. (2014-03-13 16:36:43 UTC) #9
saroyanm
On 2014/03/13 16:36:43, Sebastian Noack wrote: > http://codereview.adblockplus.org/5709671373471744/diff/5717271485874176/background.js > File background.js (right): > > http://codereview.adblockplus.org/5709671373471744/diff/5717271485874176/background.js#newcode353 ...
March 13, 2014, 5:14 p.m. (2014-03-13 17:14:07 UTC) #10
saroyanm
@Sebastian I've noticed an issue when building the chrome after pushing current changes in chrome ...
March 17, 2014, 11:05 a.m. (2014-03-17 11:05:24 UTC) #11
Sebastian Noack
If I understand the problem correctly, you just have to move files['manifest.json'] = createManifest(params) below ...
March 17, 2014, 11:15 a.m. (2014-03-17 11:15:58 UTC) #12
saroyanm
March 17, 2014, 11:43 a.m. (2014-03-17 11:43:44 UTC) #13
On 2014/03/17 11:15:58, Sebastian Noack wrote:
> If I understand the problem correctly, you just have to move 
> 
>   files['manifest.json'] = createManifest(params)
> 
> below
> 
>   if metadata.has_section('mapping'):
>     files.readMappedFiles(metadata.items('mapping')
> 
> in buildtools/packagerChrome.py. Please open a new review for the new patch.

Not sure actually, Will have a look,
Will experiment with mappings also,
I was thinking to add each image manually like it's done for "webAccessible"
param in metadata.chrome.
Anyway Will open new review with results of investigations and more info. 
Thanks.

Powered by Google App Engine
This is Rietveld