Name Description Size
FetchEventOpChild.cpp 16098
FetchEventOpChild.h FetchEventOpChild represents an in-flight FetchEvent operation. 2786
FetchEventOpParent.cpp 859
FetchEventOpParent.h 945
FetchEventOpProxyChild.cpp 5184
FetchEventOpProxyChild.h 1581
FetchEventOpProxyParent.cpp static 6034
FetchEventOpProxyParent.h FetchEventOpProxyParent owns a FetchEventOpParent in order to propagate the respondWith() value by directly calling SendRespondWith on the FetchEventOpParent, but the call to Send__delete__ is handled via MozPromise. This is done because this actor may only be created after its managing PRemoteWorker is created, which is asynchronous and may fail. We take on responsibility for the promise once we are created, but we may not be created if the RemoteWorker is never successfully launched. 2561
IPCServiceWorkerDescriptor.ipdlh 894
IPCServiceWorkerRegistrationDescriptor.ipdlh 1817
PFetchEventOp.ipdl 722
PFetchEventOpProxy.ipdl 708
PServiceWorker.ipdl 570
PServiceWorkerContainer.ipdl 1237
PServiceWorkerManager.ipdl 1414
PServiceWorkerRegistration.ipdl 838
PServiceWorkerUpdater.ipdl 597
RemoteServiceWorkerContainerImpl.cpp 7871
RemoteServiceWorkerContainerImpl.h 2169
RemoteServiceWorkerImpl.cpp 3152
RemoteServiceWorkerImpl.h 1502
RemoteServiceWorkerRegistrationImpl.cpp 5033
RemoteServiceWorkerRegistrationImpl.h 1832
ServiceWorker.cpp 9493
ServiceWorker.h 4309
ServiceWorkerActors.cpp 1361
ServiceWorkerActors.h 1180
ServiceWorkerChild.cpp 1951
ServiceWorkerChild.h 1236
ServiceWorkerCloneData.cpp 3850
ServiceWorkerCloneData.h 2963
ServiceWorkerContainer.cpp static 27110
ServiceWorkerContainer.h 6258
ServiceWorkerContainerChild.cpp 2128
ServiceWorkerContainerChild.h 1458
ServiceWorkerContainerImpl.cpp 6237
ServiceWorkerContainerImpl.h mozilla_dom_serviceworkercontainerimpl_h__ 1943
ServiceWorkerContainerParent.cpp 3997
ServiceWorkerContainerParent.h 1855
ServiceWorkerContainerProxy.cpp 5124
ServiceWorkerContainerProxy.h 1553
ServiceWorkerDescriptor.cpp 4551
ServiceWorkerDescriptor.h 3381
ServiceWorkerEvents.cpp 44109
ServiceWorkerEvents.h 9624
ServiceWorkerIPCUtils.h 1249
ServiceWorkerImpl.cpp 2675
ServiceWorkerImpl.h 1472
ServiceWorkerInfo.cpp 9105
ServiceWorkerInfo.h Wherever the spec treats a worker instance and a description of said worker as the same thing; i.e. "Resolve foo with _GetNewestWorker(serviceWorkerRegistration)", we represent the description by this class and spawn a ServiceWorker in the right global when required. 5217
ServiceWorkerInterceptController.cpp 4113
ServiceWorkerInterceptController.h 835
ServiceWorkerJob.cpp 7320
ServiceWorkerJob.h 4432
ServiceWorkerJobQueue.cpp 3463
ServiceWorkerJobQueue.h 975
ServiceWorkerManager.cpp 109476
ServiceWorkerManager.h f4f8755a-69ca-46e8-a65d-775745535990 16284
ServiceWorkerManagerChild.cpp 2832
ServiceWorkerManagerChild.h 1799
ServiceWorkerManagerParent.cpp 10063
ServiceWorkerManagerParent.h 2414
ServiceWorkerManagerService.cpp static 7653
ServiceWorkerManagerService.h 2407
ServiceWorkerOp.cpp ExtendableEvent::ExtensionsHandler interface 55437
ServiceWorkerOp.h This must be called once and only once before the first call to `MaybeStart()`; `aActor` will be used for `AsyncLog()` and `ReportCanceled().` 5878
ServiceWorkerOpArgs.ipdlh ServiceWorkerOpArgs 2906
ServiceWorkerOpPromise.h 1234
ServiceWorkerParent.cpp 1878
ServiceWorkerParent.h 1273
ServiceWorkerPrivate.cpp 70516
ServiceWorkerPrivate.h 10687
ServiceWorkerPrivateImpl.cpp 32976
ServiceWorkerPrivateImpl.h ServiceWorkerPrivate::Inner 7546
ServiceWorkerProxy.cpp 3943
ServiceWorkerProxy.h 1683
ServiceWorkerRegisterJob.cpp 1883
ServiceWorkerRegisterJob.h 1272
ServiceWorkerRegistrar.cpp static 38055
ServiceWorkerRegistrar.h 3022
ServiceWorkerRegistrarTypes.ipdlh 749
ServiceWorkerRegistration.cpp static 19087
ServiceWorkerRegistration.h 5309
ServiceWorkerRegistrationChild.cpp 2544
ServiceWorkerRegistrationChild.h 1674
ServiceWorkerRegistrationDescriptor.cpp 8598
ServiceWorkerRegistrationDescriptor.h 3403
ServiceWorkerRegistrationImpl.cpp 31058
ServiceWorkerRegistrationImpl.h 4162
ServiceWorkerRegistrationInfo.cpp 25431
ServiceWorkerRegistrationInfo.h 8203
ServiceWorkerRegistrationListener.h mozilla_dom_ServiceWorkerRegistrationListener_h 1194
ServiceWorkerRegistrationParent.cpp 2906
ServiceWorkerRegistrationParent.h 1544
ServiceWorkerRegistrationProxy.cpp 12430
ServiceWorkerRegistrationProxy.h 2613
ServiceWorkerScriptCache.cpp force trusted origin 40872
ServiceWorkerScriptCache.h If there is an error, ignore aInCacheAndEqual and aNewCacheName. On success, if the cached result and network result matched, aInCacheAndEqual will be true and no new cache name is passed, otherwise use the new cache name to load the ServiceWorker. 1849
ServiceWorkerShutdownBlocker.cpp static 8141
ServiceWorkerShutdownBlocker.h Main thread only. A ServiceWorkerShutdownBlocker will "accept promises", and each of these promises will be a "pending promise" while it hasn't settled. At some point, `StopAcceptingPromises()` should be called and the state will change to "not accepting promises" (this is a one way state transition). The shutdown phase of the shutdown client the blocker is created with will be blocked until there are no more pending promises. It doesn't matter whether the state changes to "not accepting promises" before or during the associated shutdown phase. In beta/release builds there will be an additional timer that starts ticking once both the shutdown phase has been reached and the state is "not accepting promises". If when the timer expire there are still pending promises, shutdown will be forcefully unblocked. 5276
ServiceWorkerShutdownState.cpp 5378
ServiceWorkerShutdownState.h 1804
ServiceWorkerUnregisterCallback.cpp 1106
ServiceWorkerUnregisterCallback.h 1168
ServiceWorkerUnregisterJob.cpp 4348
ServiceWorkerUnregisterJob.h 1017
ServiceWorkerUpdateJob.cpp The spec mandates slightly different behaviors for computing the scope prefix string in case a Service-Worker-Allowed header is specified versus when it's not available. With the header: "Set maxScopeString to "/" concatenated with the strings in maxScope's path (including empty strings), separated from each other by "/"." Without the header: "Set maxScopeString to "/" concatenated with the strings, except the last string that denotes the script's file name, in registration's registering script url's path (including empty strings), separated from each other by "/"." In simpler terms, if the header is not present, we should only use the "directory" part of the pathname, and otherwise the entire pathname should be used. ScopeStringPrefixMode allows the caller to specify the desired behavior. 17925
ServiceWorkerUpdateJob.h 3811
ServiceWorkerUpdaterChild.cpp 1870
ServiceWorkerUpdaterChild.h 1244
ServiceWorkerUpdaterParent.cpp 810
ServiceWorkerUpdaterParent.h 946
ServiceWorkerUtils.cpp allowIfInheritsPrincipal 5355
ServiceWorkerUtils.h 1850
moz.build 3992
test 246