Number of blocked requests on the extension icon appears few seconds late after the webpage loading stops #155
![@ghost](https://github.com/ghost.png?size=80)
Description
Prerequisites
- I verified that this is not a filter issue
- Filter issues MUST be reported at filter issue tracker
- This is not a support issue or a question
- Support issues and questions are handled at /r/uBlockOrigin
- I performed a cursory search of the issue tracker to avoid opening a duplicate issue
- Your issue may already be reported.
- I tried to reproduce the issue when...
- uBlock Origin is the only extension
- uBlock Origin with default lists/settings
- using a new, unmodified browser profile
- I am running the latest version of uBlock Origin
- I checked the documentation to understand that the issue I report is not a normal behavior
Description
Number of blocked requests on the extension icon appear second or two late after the webpage load.
A specific URL where the issue occurs
https://www.google.com/
Steps to Reproduce
-
Disable all extensions and only keep uBO enabled.
-
Browse to
google.com
and wait for the page to get loaded and notice that number of blocked requests appear second or two after the page loading stops. -
For the sake of comparision, install v1.9.14 side by side and run both versions together on
google.com
, notice that with v1.9.14, the number of blocked requests appears as soon as the page is loaded but the latest dev build version take a second or two for that number to appear. -
Refresh the page few more times to be able to reproduce this issue at will.
Watch the video I have attached below which displays the bug when compared with version v1.9.14 side-by-side. Reproducible on Firefox too but I can't provide a video of side by side comparison due to Firefox not allowing to install two versions side by side.
Expected behavior:
Number of blocked requests on the extension icon appears as soon as the webpage loading stops.
Actual behavior:
Number of blocked requests on the extension icon appears after a second or two late after the webpage loading stops. This started happening after v1.9.14.
Supporting Evidence
https://i.gyazo.com/22ab15443943f1ca7254f1b022beab65.mp4
Your environment
- uBlock Origin version: 1.16.15rc0
- Browser Name and version: Chrome 70/Firefox 63
- Operating System and version: Win 10 x64 1807 build