Skip to content

Commit

Permalink
[e] (0) Allow suspendable workers that aren't protected to get GC'ed.
Browse files Browse the repository at this point in the history
Affected topics: DOM APIs, Workers

git-svn-id: http://svn.whatwg.org/webapps@8329 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 3, 2013
1 parent 50af142 commit 315d9d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -82405,8 +82405,9 @@ <h4 id=processing-model-7><span class=secno>10.2.4 </span>Processing model</h4>

<li>

<!--CLEANUP-->
<p><strong>Closing orphan workers</strong>: Start monitoring the worker such that no sooner than
it stops being either a <a href=#protected-worker>protected worker</a> or a <a href=#suspendable-worker>suspendable worker</a>, and
it stops being either a <a href=#protected-worker>protected worker</a>, and
no later than it stops being a <a href=#permissible-worker>permissible worker</a>, <var title="">worker global
scope</var>'s <a href=#dom-workerglobalscope-closing title=dom-WorkerGlobalScope-closing>closing</a> flag is set to true<!--
v2-onclose and <span title="queue a task">a task is queued</span> to <span>fire a simple
Expand Down
3 changes: 2 additions & 1 deletion index
Original file line number Diff line number Diff line change
Expand Up @@ -82405,8 +82405,9 @@ worker.port.postMessage({ foo: 'structured', bar: ['data', 'also', 'possible']})

<li>

<!--CLEANUP-->
<p><strong>Closing orphan workers</strong>: Start monitoring the worker such that no sooner than
it stops being either a <a href=#protected-worker>protected worker</a> or a <a href=#suspendable-worker>suspendable worker</a>, and
it stops being either a <a href=#protected-worker>protected worker</a>, and
no later than it stops being a <a href=#permissible-worker>permissible worker</a>, <var title="">worker global
scope</var>'s <a href=#dom-workerglobalscope-closing title=dom-WorkerGlobalScope-closing>closing</a> flag is set to true<!--
v2-onclose and <span title="queue a task">a task is queued</span> to <span>fire a simple
Expand Down
3 changes: 2 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -91630,8 +91630,9 @@ worker.port.postMessage({ foo: 'structured', bar: ['data', 'also', 'possible']})

<li>

<!--CLEANUP-->
<p><strong>Closing orphan workers</strong>: Start monitoring the worker such that no sooner than
it stops being either a <span>protected worker</span> or a <span>suspendable worker</span>, and
it stops being either a <span>protected worker</span>, and
no later than it stops being a <span>permissible worker</span>, <var data-x="">worker global
scope</var>'s <span data-x="dom-WorkerGlobalScope-closing">closing</span> flag is set to true<!--
v2-onclose and <span data-x="queue a task">a task is queued</span> to <span>fire a simple
Expand Down

0 comments on commit 315d9d4

Please sign in to comment.