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 |
|
14162 |
SharedWorker.h |
DOM binding. Holds a SharedWorkerChild. Must exist on the main thread because
we only allow top-level windows to create SharedWorkers.
|
2769 |
SharedWorkerChild.cpp |
|
5173 |
SharedWorkerChild.h |
Held by SharedWorker bindings to remotely control sharedworker lifecycle and
receive error and termination reports.
|
1570 |
SharedWorkerManager.cpp |
|
10814 |
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 |
|
6319 |
SharedWorkerOp.h |
|
1142 |
SharedWorkerOpArgs.ipdlh |
|
986 |
SharedWorkerParent.cpp |
|
4419 |
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 |
9420 |
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 |