[prev in list] [next in list] [prev in thread] [next in thread] 

List:       html5-commit-watchers
Subject:    [html5] r8850 - [e] (0) Teach the event loop that it might not have a task to run Affected topic [..
From:       whatwg () whatwg ! org
Date:       2014-11-19 22:20:23
Message-ID: 20141119222023.45B5C20237D874 () ps20323 ! dreamhostps ! com
[Download RAW message or body]

Author: ianh
Date: 2014-11-19 14:20:19 -0800 (Wed, 19 Nov 2014)
New Revision: 8850

Modified:
   complete.html
   index
   source
Log:
[e] (0) Teach the event loop that it might not have a task to run
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2014-11-19 21:56:43 UTC (rev 8849)
+++ complete.html	2014-11-19 22:20:19 UTC (rev 8850)
@@ -2183,7 +2183,7 @@
   
 
 
-  <h4 id=dependencies>2.2.2 Dependencies</h4><div class=status><input \
onclick=toggleStatus(this) value=⋰ type=button><p class=bugs><strong>Spec \
bugs:</strong> <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=27343" \
title="i dont know">27343</a></div> +  <h4 id=dependencies>2.2.2 Dependencies</h4>
 
   <p>This specification relies on several other underlying specifications.</p>
 
@@ -63183,12 +63183,12 @@
     loop</a>'s <a href=#task-queue id=processing-model-9:task-queue>task queues</a>, \
if any, ignoring, in the case of a  <a href=#browsing-context \
id=processing-model-9:browsing-context>browsing context</a> <a href=#event-loop \
id=processing-model-9:event-loop-3>event loop</a>, tasks whose associated  <code \
id=processing-model-9:document><a href=#document>Document</a></code>s are not <a \
href=#fully-active id=processing-model-9:fully-active>fully active</a>. The user \
                agent may pick any <a href=#task-queue \
                id=processing-model-9:task-queue-2>task
-    queue</a>.</p>
+    queue</a>. If there is no task to select, then jump to the <i>microtasks</i> \
step below.</p>  
    <li><p>Set the <a href=#event-loop id=processing-model-9:event-loop-4>event \
loop</a>'s <a href=#currently-running-task \
id=processing-model-9:currently-running-task>currently running task</a> to the <a \
href=#concept-task id=processing-model-9:concept-task-2>task</a> selected in the \
previous step.<li><p><i>Run</i>: Run the selected <a href=#concept-task \
id=processing-model-9:concept-task-3>task</a>.<li><p>Set the <a href=#event-loop \
id=processing-model-9:event-loop-5>event loop</a>'s <a href=#currently-running-task \
id=processing-model-9:currently-running-task-2>currently running task</a> back to  \
null.<li><p>If the <a href=#storage-mutex id=processing-model-9:storage-mutex>storage \
mutex</a> is now owned by the <a href=#event-loop \
                id=processing-model-9:event-loop-6>event loop</a>, release it
-   so that it is once again free.<li><p>If a task was run in the <i>run</i> step \
above, remove that task from its <a href=#task-queue \
                id=processing-model-9:task-queue-3>task
-   queue</a>.<li><p><a href=#perform-a-microtask-checkpoint \
id=processing-model-9:perform-a-microtask-checkpoint>Perform a microtask \
checkpoint</a>.<li> +   so that it is once again free.<li><p>Remove the task that was \
run in the <i>run</i> step above from its <a href=#task-queue \
id=processing-model-9:task-queue-3>task +   queue</a>.<li><p><i>Microtasks</i>: <a \
href=#perform-a-microtask-checkpoint \
id=processing-model-9:perform-a-microtask-checkpoint>Perform a microtask \
checkpoint</a>.<li>  
     <p><i>Update the rendering</i>: If this <a href=#event-loop \
id=processing-model-9:event-loop-7>event loop</a> is a <a href=#browsing-context \
                id=processing-model-9:browsing-context-2>browsing
     context</a> <a href=#event-loop id=processing-model-9:event-loop-8>event \
loop</a> (as opposed to a <a href=#workers>worker</a>

Modified: index
===================================================================
--- index	2014-11-19 21:56:43 UTC (rev 8849)
+++ index	2014-11-19 22:20:19 UTC (rev 8850)
@@ -2183,7 +2183,7 @@
   
 
 
-  <h4 id=dependencies>2.2.2 Dependencies</h4><div class=status><input \
onclick=toggleStatus(this) value=⋰ type=button><p class=bugs><strong>Spec \
bugs:</strong> <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=27343" \
title="i dont know">27343</a></div> +  <h4 id=dependencies>2.2.2 Dependencies</h4>
 
   <p>This specification relies on several other underlying specifications.</p>
 
@@ -63183,12 +63183,12 @@
     loop</a>'s <a href=#task-queue id=processing-model-9:task-queue>task queues</a>, \
if any, ignoring, in the case of a  <a href=#browsing-context \
id=processing-model-9:browsing-context>browsing context</a> <a href=#event-loop \
id=processing-model-9:event-loop-3>event loop</a>, tasks whose associated  <code \
id=processing-model-9:document><a href=#document>Document</a></code>s are not <a \
href=#fully-active id=processing-model-9:fully-active>fully active</a>. The user \
                agent may pick any <a href=#task-queue \
                id=processing-model-9:task-queue-2>task
-    queue</a>.</p>
+    queue</a>. If there is no task to select, then jump to the <i>microtasks</i> \
step below.</p>  
    <li><p>Set the <a href=#event-loop id=processing-model-9:event-loop-4>event \
loop</a>'s <a href=#currently-running-task \
id=processing-model-9:currently-running-task>currently running task</a> to the <a \
href=#concept-task id=processing-model-9:concept-task-2>task</a> selected in the \
previous step.<li><p><i>Run</i>: Run the selected <a href=#concept-task \
id=processing-model-9:concept-task-3>task</a>.<li><p>Set the <a href=#event-loop \
id=processing-model-9:event-loop-5>event loop</a>'s <a href=#currently-running-task \
id=processing-model-9:currently-running-task-2>currently running task</a> back to  \
null.<li><p>If the <a href=#storage-mutex id=processing-model-9:storage-mutex>storage \
mutex</a> is now owned by the <a href=#event-loop \
                id=processing-model-9:event-loop-6>event loop</a>, release it
-   so that it is once again free.<li><p>If a task was run in the <i>run</i> step \
above, remove that task from its <a href=#task-queue \
                id=processing-model-9:task-queue-3>task
-   queue</a>.<li><p><a href=#perform-a-microtask-checkpoint \
id=processing-model-9:perform-a-microtask-checkpoint>Perform a microtask \
checkpoint</a>.<li> +   so that it is once again free.<li><p>Remove the task that was \
run in the <i>run</i> step above from its <a href=#task-queue \
id=processing-model-9:task-queue-3>task +   queue</a>.<li><p><i>Microtasks</i>: <a \
href=#perform-a-microtask-checkpoint \
id=processing-model-9:perform-a-microtask-checkpoint>Perform a microtask \
checkpoint</a>.<li>  
     <p><i>Update the rendering</i>: If this <a href=#event-loop \
id=processing-model-9:event-loop-7>event loop</a> is a <a href=#browsing-context \
                id=processing-model-9:browsing-context-2>browsing
     context</a> <a href=#event-loop id=processing-model-9:event-loop-8>event \
loop</a> (as opposed to a <a href=#workers>worker</a>

Modified: source
===================================================================
--- source	2014-11-19 21:56:43 UTC (rev 8849)
+++ source	2014-11-19 22:20:19 UTC (rev 8850)
@@ -85322,7 +85322,7 @@
     loop</span>'s <span data-x="task queue">task queues</span>, if any, ignoring, in \
                the case of a
     <span>browsing context</span> <span>event loop</span>, tasks whose associated
     <code>Document</code>s are not <span>fully active</span>. The user agent may \
                pick any <span>task
-    queue</span>.</p>
+    queue</span>. If there is no task to select, then jump to the <i>microtasks</i> \
step below.</p>  
    </li>
 
@@ -85339,10 +85339,10 @@
    <li><p>If the <span>storage mutex</span> is now owned by the <span>event \
loop</span>, release it  so that it is once again free.</p></li>
 
-   <li><p>If a task was run in the <i>run</i> step above, remove that task from its \
<span>task +   <li><p>Remove the task that was run in the <i>run</i> step above from \
its <span>task  queue</span>.</p></li>
 
-   <li><p><span>Perform a microtask checkpoint</span>.</p></li>
+   <li><p><i>Microtasks</i>: <span>Perform a microtask checkpoint</span>.</p></li>
 
    <li>
 

_______________________________________________
Commit-Watchers mailing list
Commit-Watchers@lists.whatwg.org
http://lists.whatwg.org/listinfo.cgi/commit-watchers-whatwg.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic