diff --git a/source b/source
index a205205ec16..8f15c0e39fc 100644
--- a/source
+++ b/source
@@ -123423,8 +123423,8 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope
A A Return false. A If global is not actively needed,
- then return false. If global is a If global's the worker's ports is not empty, then return true. If global has outstanding timers, database transactions, or network
- connections, then return true. Return false. A Workers get closed as orphans between when
- they stop being protected and when they stop being permissible. Workers get suspended or un-suspended based on
- whether they are suspendable.
- WorkerGlobalScope
global is actively needed if the following algorithm returns true:WorkerGlobalScope
global is actively needed if the following algorithm returns true:
- WorkerGlobalScope
global is protected if the following algorithm returns true:
-
-
SharedWorkerGlobalScope
, then return true.WorkerGlobalScope
global is permissible if the following algorithm returns true:
Workers that have been closed, but keep executing, can be terminated at the user agent's discretion, once they stop being actively needed.
Note that every WorkerGlobalScope
that is actively needed is protected, and every
- WorkerGlobalScope
that is protected is permissible. (But the converses do not hold.)
Workers get suspended or un-suspended based on + whether they are suspendable.
An important difference between protected and permissible is that a WorkerGlobalScope
is protected only if its transitive set of owners contains at least
- one fully active Document
, whereas a WorkerGlobalScope
can
- be permissible even if all the Document
s in
- its transitive set of owners are in bfcache.
An important difference between actively needed and
+ permissible is that a WorkerGlobalScope
is
+ actively needed only if its transitive set of owners
+ contains at least one fully active Document
, whereas a
+ WorkerGlobalScope
can be permissible even
+ if all the Document
s in its transitive set of owners are in bfcache.
Closing orphan workers: Start monitoring - worker global scope such that no sooner than it stops being protected, and no later than it stops being permissible, worker global scope's worker global scope such that no sooner than it stops being actively needed, and no later than it stops being permissible, worker global scope's closing flag is set to true.
Suspending workers: Start monitoring worker