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

Issue 29788558: Noissue - Fixed browserAction in Firefox on Android (Closed)

Created:
May 23, 2018, 3:03 p.m. by Sebastian Noack
Modified:
May 24, 2018, 1:07 p.m.
Reviewers:
kzar
Visibility:
Public.

Description

Noissue - Fixed browserAction in Firefox on Android

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -5 lines) Patch
M lib/options.js View 1 chunk +8 lines, -5 lines 3 comments Download
M metadata.gecko View 1 chunk +1 line, -0 lines 0 comments Download
M polyfill.js View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6
Sebastian Noack
This is a regression introduced by https://hg.adblockplus.org/adblockpluschrome/rev/8a5705415bdb. Apparently, setPopup({popup: ""}) doesn't have any effect in ...
May 23, 2018, 3:07 p.m. (2018-05-23 15:07:01 UTC) #1
Sebastian Noack
May 23, 2018, 3:07 p.m. (2018-05-23 15:07:15 UTC) #2
kzar
https://codereview.adblockplus.org/29788558/diff/29788559/lib/options.js File lib/options.js (right): https://codereview.adblockplus.org/29788558/diff/29788559/lib/options.js#newcode180 lib/options.js:180: // We need to clear the popup URL on ...
May 24, 2018, 12:09 p.m. (2018-05-24 12:09:01 UTC) #3
kzar
Forgot to say, otherwise this LGTM!
May 24, 2018, 12:15 p.m. (2018-05-24 12:15:27 UTC) #4
Sebastian Noack
https://codereview.adblockplus.org/29788558/diff/29788559/lib/options.js File lib/options.js (right): https://codereview.adblockplus.org/29788558/diff/29788559/lib/options.js#newcode180 lib/options.js:180: // We need to clear the popup URL on ...
May 24, 2018, 12:37 p.m. (2018-05-24 12:37:27 UTC) #5
kzar
May 24, 2018, 12:58 p.m. (2018-05-24 12:58:07 UTC) #6
https://codereview.adblockplus.org/29788558/diff/29788559/lib/options.js
File lib/options.js (right):

https://codereview.adblockplus.org/29788558/diff/29788559/lib/options.js#newc...
lib/options.js:180: // We need to clear the popup URL on Firefox for Android in
order for the
On 2018/05/24 12:37:27, Sebastian Noack wrote:
> On 2018/05/24 12:09:01, kzar wrote:
> > This comment is pretty good at explaining how come we have to avoid setting
> the
> > popup URL for Android Firefox, but so far it doesn't mention why we take
care
> to
> > set it in the metadata for other platforms like Chrome (so that AdBlock can
> > override the setting in its metadata). Perhaps you should mention that here.
> 
> Well, setting it in the metadata.*/manifest.json file is the canonical way.
Not
> sure, if its worth to explicitly mention AdBlock here (or even appropriate, as
> we never mention AdBlock anywhere else in our code base).

Yea fair enough. I drafted a possible improvement but deleted it again, in
fairness the existing comment is pretty good.

Powered by Google App Engine
This is Rietveld