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

Issue 29509573: Issue 5347 - Check for browserAction API support (Closed)

Created:
Aug. 8, 2017, 11:38 a.m. by Manish Jethani
Modified:
Aug. 18, 2017, 9:22 a.m.
CC:
Thomas Greiner
Base URL:
https://hg.adblockplus.org/adblockpluschrome/
Visibility:
Public.

Description

Issue 5347 - Check for browserAction API support Firefox for Android does not support chrome.browserAction.setBadgeBackgroundColor, chrome.browserAction.setBadgeText, and chrome.browserAction.setIcon.

Patch Set 1 #

Patch Set 2 : Use consistent style for feature detection #

Total comments: 2

Patch Set 3 : Add comments explaining why Firefox for Android does not support these APIs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -19 lines) Patch
M ext/background.js View 1 2 1 chunk +36 lines, -19 lines 0 comments Download

Messages

Total messages: 9
Manish Jethani
Aug. 8, 2017, 11:38 a.m. (2017-08-08 11:38:28 UTC) #1
Manish Jethani
Firefox for Android does not support chrome.browserAction.setBadgeBackgroundColor, chrome.browserAction.setBadgeText, and chrome.browserAction.setIcon. Note that we could display ...
Aug. 8, 2017, 11:43 a.m. (2017-08-08 11:43:12 UTC) #2
Manish Jethani
I've added Thomas here as he might have something to say about this. The "browser ...
Aug. 10, 2017, 6:35 a.m. (2017-08-10 06:35:24 UTC) #3
Manish Jethani
Patch Set 2: Use consistent style for feature detection
Aug. 15, 2017, 11:57 p.m. (2017-08-15 23:57:34 UTC) #4
Manish Jethani
Patch Set 2: Use consistent style for feature detection
Aug. 15, 2017, 11:57 p.m. (2017-08-15 23:57:36 UTC) #5
Wladimir Palant
https://codereview.adblockplus.org/29509573/diff/29516682/ext/background.js File ext/background.js (right): https://codereview.adblockplus.org/29509573/diff/29516682/ext/background.js#newcode330 ext/background.js:330: if ("setIcon" in chrome.browserAction) Here and below, maybe add ...
Aug. 16, 2017, 10:52 a.m. (2017-08-16 10:52:07 UTC) #6
Manish Jethani
Patch Set 3: Add comments explaining why Firefox for Android does not support these APIs ...
Aug. 16, 2017, 11:45 a.m. (2017-08-16 11:45:42 UTC) #7
Wladimir Palant
LGTM
Aug. 16, 2017, 11:51 a.m. (2017-08-16 11:51:43 UTC) #8
Sebastian Noack
Aug. 18, 2017, 9:18 a.m. (2017-08-18 09:18:29 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld