Name Description Size Coverage
moz.build 794 -
PSharedWorker.ipdl Protocol for SharedWorker bindings to communicate with per-worker SharedWorkerManager instances in the parent via SharedWorkerChild / SharedWorkerParent and SharedWorkerService getting/creating the SharedWorkerManager if it doesn't already exist. Main-thread to PBackground. 967 -
SharedWorker.cpp 14791 -
SharedWorker.h DOM binding. Holds a SharedWorkerChild. Must exist on the main thread because we only allow top-level windows to create SharedWorkers. 2977 -
SharedWorkerChild.cpp 5174 -
SharedWorkerChild.h Held by SharedWorker bindings to remotely control sharedworker lifecycle and receive error and termination reports. 1570 -
SharedWorkerManager.cpp 10820 -
SharedWorkerManager.h PBackground instance that corresponds to a single logical Shared Worker that exists somewhere in the process tree. Referenced/owned by multiple SharedWorkerParent instances on the PBackground thread. Holds/owns a single RemoteWorkerController to interact with the actual shared worker thread, wherever it is located. Creates the RemoteWorkerController via RemoteWorkerController::Create which uses RemoteWorkerManager::Launch under the hood. 5374 -
SharedWorkerOp.cpp 7674 -
SharedWorkerOp.h 1139 -
SharedWorkerOpArgs.ipdlh 986 -
SharedWorkerParent.cpp 4380 -
SharedWorkerParent.h PBackground actor that relays life-cycle events (freeze/thaw, suspend/resume, close) to the PBackground SharedWorkerManager and relays error/termination back to the child. 2235 -
SharedWorkerService.cpp static 10282 -
SharedWorkerService.h PBackground service that creates and tracks the per-worker SharedWorkerManager instances, allowing rendezvous between SharedWorkerParent instances and the SharedWorkerManagers they want to talk to (1:1). 2485 -