Counters do not currently work on Web Workers, so it a no-op on non main thread.
--HG--
extra : commitid : 27kBY7qMP1n
extra : rebase_source : 9b300637a335662e8bff1b522271d947aa6b51eb
extra : amend_source : a26e654021a325b800b94e72ae4327788ee93b05
Currently we don't check the dom.push.enabled pref in some cases for
some of these interfaces. This patch unifies how all of these
interfaces are exposed to Window, Worker, and ServiceWorker.
Currently we don't check the dom.push.enabled pref in some cases for
some of these interfaces. This patch unifies how all of these
interfaces are exposed to Window, Worker, and ServiceWorker.
Refactoring to allow access to PushManager in ServiceWorkerGlobalScope. See comment in PushManager.h for details.
--HG--
extra : commitid : A7RvB9rm8av
extra : transplant_source : %20%99%CA%B0%EB%B9%82%27D%F7e%B8UQ%12%E6%9B%18%BB5