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

Issue 29531596: Issue 5590 - [webextension] Custom filters in the options page aren't updated (Closed)

Created:
Aug. 30, 2017, 9:14 a.m. by Wladimir Palant
Modified:
Aug. 30, 2017, 1:24 p.m.
Reviewers:
Manish Jethani
CC:
Sebastian Noack
Base URL:
https://hg.adblockplus.org/adblockpluschrome
Visibility:
Public.

Description

Turns out, chrome.devtools is defined for all extension pages in Firefox, yet its value is undefined. It seems that Firefox is using lazy evaluation when determining whether this API should be exposed to the page.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Improved comment #

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

Messages

Total messages: 4
Wladimir Palant
Aug. 30, 2017, 9:14 a.m. (2017-08-30 09:14:03 UTC) #1
Manish Jethani
https://codereview.adblockplus.org/29531596/diff/29531597/ext/content.js File ext/content.js (right): https://codereview.adblockplus.org/29531596/diff/29531597/ext/content.js#newcode7 ext/content.js:7: if (!chrome.devtools) Maybe add a comment about why chrome.devtools ...
Aug. 30, 2017, 10:38 a.m. (2017-08-30 10:38:44 UTC) #2
Wladimir Palant
https://codereview.adblockplus.org/29531596/diff/29531597/ext/content.js File ext/content.js (right): https://codereview.adblockplus.org/29531596/diff/29531597/ext/content.js#newcode7 ext/content.js:7: if (!chrome.devtools) On 2017/08/30 10:38:44, Manish Jethani wrote: > ...
Aug. 30, 2017, 12:54 p.m. (2017-08-30 12:54:55 UTC) #3
Manish Jethani
Aug. 30, 2017, 1:24 p.m. (2017-08-30 13:24:10 UTC) #4
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld