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

Issue 29680693: [$csp3 adblockpluschrome] Issue 5241 - Avoid setting badge text before navigation is committed (Closed)

Created:
Jan. 26, 2018, 6:03 p.m. by kzar
Modified:
March 12, 2018, 2:19 p.m.
Reviewers:
Sebastian Noack
CC:
Thomas Greiner, Manish Jethani
Visibility:
Public.

Description

Issue 5241 - Avoid setting badge text before navigation is committed This one's necessary for the $csp filter type since Chrome resets the badge text after the page has finished loading, but by that point the $csp filter already matched. Depends on: - https://codereview.adblockplus.org/29680684/ - https://codereview.adblockplus.org/29680689/

Patch Set 1 #

Patch Set 2 : Remove onLoading listener #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -6 lines) Patch
M lib/stats.js View 1 1 chunk +11 lines, -6 lines 0 comments Download

Messages

Total messages: 4
kzar
Patch Set 1
Jan. 26, 2018, 6:12 p.m. (2018-01-26 18:12:10 UTC) #1
Sebastian Noack
I did some testing, and it seems if you do it like this, you can ...
March 6, 2018, 7:14 p.m. (2018-03-06 19:14:13 UTC) #2
kzar
Patch Set 2 : Remove onLoading listener > browser.webNavigation.onCommitted.addListener(details => > { > let page ...
March 7, 2018, 11:33 a.m. (2018-03-07 11:33:55 UTC) #3
Sebastian Noack
March 7, 2018, 4:55 p.m. (2018-03-07 16:55:27 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld