Issue metadata
Sign in to add a comment
|
Service Worker push notification is causing UseCounter to record PageVisits |
||||||||||||||||||||||||
Issue descriptionI've noticed that "https://www.facebook.com/sw?s=push" is being counted towards UseCounter kPageVisits (caller: Page::DidCommitLoad). This shouldn't happen. What is the right way to distinguish SW push notification Pages from other Pages?
,
Feb 8 2018
,
Feb 8 2018
,
Feb 8 2018
Somehow I only managed to reproduce this bug on non-incognito mode (with no extensions). In incognito mode, I do not observe this behaviour.
,
Feb 9 2018
Blink-worker bug triaging. falken@, could you triage this?
,
Feb 9 2018
Service Worker has the "shadow page" mechanism[1] for loading resources and it unfavorably counts page load on every Service Worker startup. See issue 694880 . [1] https://chromium.googlesource.com/chromium/src/+/ce1dbb2de90624ef7594b144c1a0f0ba2e3b226b/third_party/WebKit/Source/core/exported/WorkerShadowPage.h#21
,
Feb 9 2018
By the way, I think push is disabled in incognito mode, which could explain c#4. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by loonyb...@chromium.org
, Feb 8 2018