Issue metadata
Sign in to add a comment
|
webNavigation.onCommitted is dispatched multiple times |
||||||||||||||||||||||
Issue descriptionChrome Version: 65.0.3325.162 (Official Build) (64-bit) OS: macOS Sierra 10.12.6 What steps will reproduce the problem? (1) Unzip and load attached extension (2) Visit http://example.com/ What is the expected result? The background page prints: webNavigation.onCommitted (1) for http://example.com/ webNavigation.onCommitted (2) for http://example.com/ webNavigation.onCommitted (3) for http://example.com/ What happens instead? The background page prints: webNavigation.onCommitted (1) for http://example.com/ webNavigation.onCommitted (2) for http://example.com/ webNavigation.onCommitted (3) for http://example.com/ webNavigation.onCommitted (1) for http://example.com/ webNavigation.onCommitted (2) for http://example.com/ webNavigation.onCommitted (3) for http://example.com/ webNavigation.onCommitted (1) for http://example.com/ webNavigation.onCommitted (2) for http://example.com/ webNavigation.onCommitted (3) for http://example.com/ If you go to some other page, for example https://manishjethani.com/ (or any one that doesn't contain "example" in the URL), it'll print: webNavigation.onCommitted (1) for https://manishjethani.com/ webNavigation.onCommitted (2) for https://manishjethani.com/ webNavigation.onCommitted (1) for https://manishjethani.com/ webNavigation.onCommitted (2) for https://manishjethani.com/ For chrome://extensions/ it only prints: webNavigation.onCommitted (1) for chrome://extensions/ It seems the number of times each webNavigation.onCommitted is called is equivalent to the number of unique filters that are hit.
,
Apr 1 2018
,
Apr 13 2018
I hope to take a quick look, to see if we're doing something unexpected with filters while dispatching event.
,
Jun 22 2018
Just found that there's an old bug for this, https://bugs.chromium.org/p/chromium/issues/detail?id=373579, merging this one with the older bug. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by m.jeth...@eyeo.com
, Apr 1 2018