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

Issue 29335396: Issue 154 - Make the devtools panel generate domain specific filters when $genericblock is active (Closed)

Created:
Feb. 3, 2016, 9:57 a.m. by Sebastian Noack
Modified:
Feb. 3, 2016, 10:40 a.m.
Reviewers:
Thomas Greiner, kzar
Visibility:
Public.

Description

Issue 154 - Make the devtools panel generate domain specific filters when $genericblock is active

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -6 lines) Patch
M devtools-panel.js View 2 chunks +19 lines, -6 lines 3 comments Download

Messages

Total messages: 5
Sebastian Noack
Feb. 3, 2016, 9:59 a.m. (2016-02-03 09:59:23 UTC) #1
kzar
Otherwise LGTM https://codereview.adblockplus.org/29335396/diff/29335397/devtools-panel.js File devtools-panel.js (right): https://codereview.adblockplus.org/29335396/diff/29335397/devtools-panel.js#newcode30 devtools-panel.js:30: domainSpecific = true; Nit: `domainSpecific = domainSpecific ...
Feb. 3, 2016, 10:27 a.m. (2016-02-03 10:27:17 UTC) #2
Thomas Greiner
LGTM
Feb. 3, 2016, 10:31 a.m. (2016-02-03 10:31:49 UTC) #3
Sebastian Noack
https://codereview.adblockplus.org/29335396/diff/29335397/devtools-panel.js File devtools-panel.js (right): https://codereview.adblockplus.org/29335396/diff/29335397/devtools-panel.js#newcode30 devtools-panel.js:30: domainSpecific = true; On 2016/02/03 10:27:17, kzar wrote: > ...
Feb. 3, 2016, 10:35 a.m. (2016-02-03 10:35:27 UTC) #4
kzar
Feb. 3, 2016, 10:40 a.m. (2016-02-03 10:40:27 UTC) #5
Message was sent while issue was closed.
https://codereview.adblockplus.org/29335396/diff/29335397/devtools-panel.js
File devtools-panel.js (right):

https://codereview.adblockplus.org/29335396/diff/29335397/devtools-panel.js#n...
devtools-panel.js:30: domainSpecific = true;
On 2016/02/03 10:35:27, Sebastian Noack wrote:
> On 2016/02/03 10:27:17, kzar wrote:
> > Nit: `domainSpecific = domainSpecific || request.url == "about:blank";`? (Or
> > just check for `if (domainSpecific || request.url == "about:blank")` later?)
> 
> No, that's only if it's a popup.

Acknowledged. Though the first suggestion still stands. Doesn't matter too much
either way anyway.

Powered by Google App Engine
This is Rietveld