[html5] r7803 - [e] (0) Lots of minor editorial fixes thanks to Michael Dyck. Affected topics: C [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Apr 10 16:05:01 PDT 2013


Author: ianh
Date: 2013-04-10 16:05:00 -0700 (Wed, 10 Apr 2013)
New Revision: 7803

Modified:
   complete.html
   index
   source
Log:
[e] (0) Lots of minor editorial fixes thanks to Michael Dyck.
Affected topics: Canvas, DOM APIs, HTML, Security, Video and Audio, Workers

Modified: complete.html
===================================================================
--- complete.html	2013-04-10 22:21:51 UTC (rev 7802)
+++ complete.html	2013-04-10 23:05:00 UTC (rev 7803)
@@ -5896,8 +5896,8 @@
 
    <li>
 
-    <p>Run the following substeps in a loop, until the first step in the loop requires that the loop
-    be broken, or until a step requiring the algorithm to fail is reached:</p>
+    <p>Run the following substeps in a loop, until a step requiring the loop to be broken or the
+    entire algorithm to fail is reached:</p>
 
     <ol><li><p>Let <var title="">units</var> be undefined. It will be assigned one of the following
      values: <i>years</i>, <i>months</i>, <i>weeks</i>, <i>days</i>, <i>hours</i>, <i>minutes</i>,
@@ -21262,7 +21262,7 @@
 
    <li><p><i>End</i>: Return <var title="">base text segments</var> and <var title="">annotation
    segments</var>. Any content of the <code><a href=#the-ruby-element>ruby</a></code> element not described by segments in either
-   of thost lists is implicitly in an <i>ignored segment</i>.</li>
+   of those lists is implicitly in an <i>ignored segment</i>.</li>
 
   </ol><p>When the steps above say to <dfn id=set-the-current-base-text>set the current base text</dfn>, it means to run the following
   steps at that point in the algorithm:</p>
@@ -27644,7 +27644,7 @@
    any.</p>
 
    <li><p>Optionally, run the following substeps. This is the expected behavior if the user agent
-   intends to not attempt to fetch the resource until the use requests it explicitly (e.g. as a way
+   intends to not attempt to fetch the resource until the user requests it explicitly (e.g. as a way
    to implement the <code title=attr-media-preload><a href=#attr-media-preload>preload</a></code> attribute's <code title=attr-media-preload-none><a href=#attr-media-preload-none>none</a></code> keyword).</p>
 
     <ol><li><p>Set the <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> to <code title=dom-media-NETWORK_IDLE><a href=#dom-media-network_idle>NETWORK_IDLE</a></code>.</li>
@@ -30018,7 +30018,7 @@
 
     <p>Can be set, to change the volume multiplier.</p>
 
-    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> if the new value is not in the range 0.0 .. 1.0.</p>
+    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception if the new value is not in the range 0.0 .. 1.0.</p>
 
    </dd>
 
@@ -32048,7 +32048,7 @@
 
     <p>Can be set, to change the volume.</p>
 
-    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> if the new value is not in the range 0.0 .. 1.0.</p>
+    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception if the new value is not in the range 0.0 .. 1.0.</p>
 
    </dd>
 
@@ -32167,7 +32167,7 @@
 
     <p>Returns the time for the start of the range with the given index.</p>
 
-    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> if the index is out of range.</p>
+    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception if the index is out of range.</p>
 
    </dd>
 
@@ -32177,7 +32177,7 @@
 
     <p>Returns the time for the end of the range with the given index.</p>
 
-    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> if the index is out of range.</p>
+    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception if the index is out of range.</p>
 
    </dd>
 
@@ -32692,7 +32692,7 @@
     <p>Returns null if the given context ID is not supported, if the canvas has already been
     initialized with the other context type (e.g. trying to get a "<code title=canvas-context-2d><a href=#canvas-context-2d>2d</a></code>" context after getting a "<code title=canvas-context-webgl><a href=#canvas-context-webgl>webgl</a></code>" context).</p>
 
-    <p>Throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> if the <code title=dom-canvas-setContext><a href=#dom-canvas-setcontext>setContext()</a></code> or <code title=dom-canvas-transferControlToProxy><a href=#dom-canvas-transfercontroltoproxy>transferControlToProxy()</a></code> methods have been
+    <p>Throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception if the <code title=dom-canvas-setContext><a href=#dom-canvas-setcontext>setContext()</a></code> or <code title=dom-canvas-transferControlToProxy><a href=#dom-canvas-transfercontroltoproxy>transferControlToProxy()</a></code> methods have been
     used.</p>
 
    </dd>
@@ -32707,7 +32707,7 @@
     <p>This return value is not a guarantee that <code title=dom-canvas-getContext><a href=#dom-canvas-getcontext>getContext()</a></code> will or will not return an object, as
     conditions (e.g. availability of system resources) can vary over time.</p>
 
-    <p>Throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> if the <code title=dom-canvas-setContext><a href=#dom-canvas-setcontext>setContext()</a></code> or <code title=dom-canvas-transferControlToProxy><a href=#dom-canvas-transfercontroltoproxy>transferControlToProxy()</a></code> methods have been
+    <p>Throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception if the <code title=dom-canvas-setContext><a href=#dom-canvas-setcontext>setContext()</a></code> or <code title=dom-canvas-transferControlToProxy><a href=#dom-canvas-transfercontroltoproxy>transferControlToProxy()</a></code> methods have been
     used.</p>
 
    </dd>
@@ -32831,12 +32831,12 @@
   run following the steps:</p>
 
   <ol><li><p>If the <code><a href=#the-canvas-element>canvas</a></code> element's <a href=#concept-canvas-context-mode title=concept-canvas-context-mode>canvas
-   context mode</a> is neither <a href=#concept-canvas-none title=concept-canvas-none>none</a> nor <a href=#concept-canvas-indirect title=concept-canvas-indirect>indirect</a>, throw an <code><a href=#invalidstateerror>InvalidStateError</a></code> and
-   abort these steps.</li>
+   context mode</a> is neither <a href=#concept-canvas-none title=concept-canvas-none>none</a> nor <a href=#concept-canvas-indirect title=concept-canvas-indirect>indirect</a>, throw an <code><a href=#invalidstateerror>InvalidStateError</a></code>
+   exxeption and abort these steps.</li>
 
    <li><p>If <var title="">context</var>'s <a href=#concept-canvas-context-bitmap-mode title=concept-canvas-context-bitmap-mode>context
    bitmap mode</a> is <a href=#concept-canvas-fixed title=concept-canvas-fixed>fixed</a>, then throw an
-   <code><a href=#invalidstateerror>InvalidStateError</a></code> and abort these steps.</li>
+   <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.</li>
 
    <li><p>If <var title="">context</var>'s <a href=#concept-canvas-context-bitmap-mode title=concept-canvas-context-bitmap-mode>context
    bitmap mode</a> is <a href=#concept-canvas-bound title=concept-canvas-bound>bound</a>, then run <var title="">context</var>'s <a href=#concept-canvas-unbinding-steps title=concept-canvas-unbinding-steps>unbinding steps</a> and
@@ -32996,7 +32996,7 @@
 
   <ol><li><p>If the <code><a href=#the-canvas-element>canvas</a></code> element's <a href=#concept-canvas-context-mode title=concept-canvas-context-mode>canvas
    context mode</a> is not <a href=#concept-canvas-none title=concept-canvas-none>none</a>, throw an
-   <code><a href=#invalidstateerror>InvalidStateError</a></code> and abort these steps.</li>
+   <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.</li>
 
    <li><p>Set the <code><a href=#the-canvas-element>canvas</a></code> element's <a href=#concept-canvas-context-mode title=concept-canvas-context-mode>context
    mode</a> to <a href=#concept-canvas-proxied title=concept-canvas-proxied>proxied</a>.</li>
@@ -33016,14 +33016,14 @@
   <p>The <dfn id=dom-canvasproxy-setcontext title=dom-CanvasProxy-setContext><code>setContext(<var title="">context</var>)</code></dfn> method of <code><a href=#canvasproxy>CanvasProxy</a></code> objects, when invoked,
   must run following the steps:</p>
 
-  <ol><li><p>If the <code><a href=#canvasproxy>CanvasProxy</a></code> object has been <a href=#concept-canvasproxy-disabled title=concept-CanvasProxy-disabled>disabled</a>, throw an <code><a href=#invalidstateerror>InvalidStateError</a></code> and
-   abort these steps.</li>
+  <ol><li><p>If the <code><a href=#canvasproxy>CanvasProxy</a></code> object has been <a href=#concept-canvasproxy-disabled title=concept-CanvasProxy-disabled>disabled</a>, throw an <code><a href=#invalidstateerror>InvalidStateError</a></code>
+   exception and abort these steps.</li>
 
    <li><p>If the <code><a href=#canvasproxy>CanvasProxy</a></code> object has not been <a href=#concept-transferable-neutered title=concept-transferable-neutered>neutered</a>, then <a href=#concept-transferable-neutered title=concept-transferable-neutered>neuter</a> it.</li>
 
    <li><p>If <var title="">context</var>'s <a href=#concept-canvas-context-bitmap-mode title=concept-canvas-context-bitmap-mode>context
    bitmap mode</a> is <a href=#concept-canvas-fixed title=concept-canvas-fixed>fixed</a>, then throw an
-   <code><a href=#invalidstateerror>InvalidStateError</a></code> and abort these steps.</li>
+   <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.</li>
 
    <li><p>If <var title="">context</var>'s <a href=#concept-canvas-context-bitmap-mode title=concept-canvas-context-bitmap-mode>context
    bitmap mode</a> is <a href=#concept-canvas-bound title=concept-canvas-bound>bound</a>, then run <var title="">context</var>'s <a href=#concept-canvas-unbinding-steps title=concept-canvas-unbinding-steps>unbinding steps</a> and
@@ -33452,8 +33452,8 @@
 
    <li>
 
-    <p><a href=#queue-a-task>Queue a task</a> from the <a href=#canvas-updating-task-source>canvas updating task source</a> of the
-    <a href=#output-bitmap>output bitmap</a>'s <code><a href=#the-canvas-element>canvas</a></code> element's <a href=#event-loop>event loop</a> to perform
+    <p><a href=#queue-a-task>Queue a task</a> from the <a href=#canvas-updating-task-source>canvas updating task source</a> of 
+    <var title="">output bitmap</var>'s <code><a href=#the-canvas-element>canvas</a></code> element's <a href=#event-loop>event loop</a> to perform
     the following substeps:</p>
 
     <ol><li><p>Overwrite <var title="">output bitmap</var> with <var title="">bitmap
@@ -36620,7 +36620,7 @@
    <dd>
 
     <p>If the given element is focused, draws a focus ring around the
-    <a href=#current-default-path>current default path</a> or hte given path, following the platform
+    <a href=#current-default-path>current default path</a> or the given path, following the platform
     conventions for focus rings.</p>
 
    </dd>
@@ -57467,12 +57467,12 @@
    element on which the method was invoked.</li>
 
    <li><p>If <var title="">dialog</var> already has an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute, then throw an
-   <a href=#invalidstateerror>InvalidStateError</a> exception and abort these
+   <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
    steps.</li>
 
    <li><p>If <var title="">dialog</var> is not <a href=#in-a-document>in a
    <code>Document</code></a>, then throw an
-   <a href=#invalidstateerror>InvalidStateError</a> exception and abort these
+   <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
    steps.</li>
 
    <li><p>Add an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute
@@ -57534,7 +57534,7 @@
   following steps:</p>
 
   <ol><li><p>If <var title="">dialog</var> does not have an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute, then throw an
-   <a href=#invalidstateerror>InvalidStateError</a> exception and abort these
+   <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
    steps.</li>
 
    <li><p>Remove <var title="">dialog</var>'s <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute.</li>
@@ -65977,7 +65977,7 @@
 
    <li>
 
-    <p>If <var title="">new value</var> is not the empty string, then2 run these substeps:</p>
+    <p>If <var title="">new value</var> is not the empty string, then run these substeps:</p>
 
     <ol><li>
 
@@ -67977,7 +67977,7 @@
    user state</a>.</li>
 
    <li><p>If the <var title="">specified entry</var> has a different <code><a href=#document>Document</a></code> object
-   than the <a href=#current-entry>current entry</a> then the following substeps:</p>
+   than the <a href=#current-entry>current entry</a>, then run the following substeps:</p>
 
     <ol><li><p>Remove any <a href=#concept-task title=concept-task>tasks</a> queued by the <a href=#history-traversal-task-source>history traversal
      task source</a> that are associated with any <code><a href=#document>Document</a></code> objects in the
@@ -73274,8 +73274,8 @@
     <p>Throws a <code><a href=#securityerror>SecurityError</a></code> exception if the user agent blocks the registration (this
     might happen if trying to register as a handler for "http", for instance).</p>
 
-    <p>Throws a <code><a href=#syntaxerror>SyntaxError</a></code> if the "<code title="">%s</code>" string is missing in the
-    URL.</p>
+    <p>Throws a <code><a href=#syntaxerror>SyntaxError</a></code> exception if the "<code title="">%s</code>" string is
+    missing in the URL.</p>
 
    </dd>
 
@@ -73401,7 +73401,7 @@
     argument passed to one of these methods does not contain the exact literal string
     "<code>%s</code>".</p>
 
-    <p>User agents must throw a <code><a href=#syntaxerror>SyntaxError</a></code> if <a href=#resolve-a-url title="resolve a
+    <p>User agents must throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception if <a href=#resolve-a-url title="resolve a
     url">resolving</a> the <var title="">url</var> argument relative to the <a href=#entry-script>entry
     script</a>'s <a href="#script's-base-url" title="script's base URL">base URL</a>, is not successful.</p>
 
@@ -73636,7 +73636,7 @@
    method.</li>
 
    <li><p>If the resoluting <a href=#absolute-url>absolute URL</a>'s <a href=#origin>origin</a> is not the <a href=#same-origin>same
-   origin</a> as that of the <a href=#entry-script>entry script</a> throw a <a href=#securityerror>SecurityError</a>
+   origin</a> as that of the <a href=#entry-script>entry script</a> throw a <code><a href=#securityerror>SecurityError</a></code>
    exception, aborting the method.</li>
 
    <li><p>Return the resulting <a href=#absolute-url>absolute URL</a> as the result of preprocessing the
@@ -73897,7 +73897,7 @@
 
     <li><p>If this fails, return 0 and abort these steps.</li>
 
-    <li><p>Let <var title="">host2</var> be be the <a href=#concept-url-host title=concept-url-host>host</a> component of the resulting
+    <li><p>Let <var title="">host2</var> be the <a href=#concept-url-host title=concept-url-host>host</a> component of the resulting
     <a href=#parsed-url>parsed URL</a>.</li>
 
     <li>
@@ -79760,8 +79760,6 @@
        <li><p><a href=#entangle>Entangle</a> <var title="">outside port</var>
        and <var title="">inside port</var>.</li>
 
-       <li><p>Return <var title="">worker</var> and perform the next step asynchronously.</li>
-
        <li><p>Create a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event that uses the
        <code><a href=#messageevent>MessageEvent</a></code> interface, with the name <code title=event-connect>connect</code>, which does not bubble, is not cancelable, has no
        default action, has a <code title=dom-MessageEvent-data><a href=#dom-messageevent-data>data</a></code> attribute whose value
@@ -79788,7 +79786,7 @@
 
        </li>
 
-       <li><p>Abort all these steps.</li>
+       <li><p>Return <var title="">worker</var> and abort all these steps.</li>
 
       </ol></li>
 
@@ -81895,8 +81893,8 @@
     message to same-origin targets only, without needing to explicitly
     state the origin, set the target origin to "<code title="">/</code>".</p>
 
-    <p>Throws a <code><a href=#datacloneerror>DataCloneError</a></code> if <var title="">transfer</var> array contains duplicate objects or if
-    <var title="">message</var> could not be cloned.</p>
+    <p>Throws a <code><a href=#datacloneerror>DataCloneError</a></code> exception if <var title="">transfer</var> array contains
+    duplicate objects or if <var title="">message</var> could not be cloned.</p>
 
    </dd>
 
@@ -82367,9 +82365,9 @@
     <p>Posts a message through the channel. Objects listed in <var title="">transfer</var> are transferred, not just cloned, meaning
     that they are no longer usable on the sending side.</p>
 
-    <p>Throws a <code><a href=#datacloneerror>DataCloneError</a></code> if <var title="">transfer</var> array contains duplicate objects or the
-    source or target ports, or if <var title="">message</var> could
-    not be cloned.</p>
+    <p>Throws a <code><a href=#datacloneerror>DataCloneError</a></code> exception if <var title="">transfer</var> array contains
+    duplicate objects or the source or target ports, or if <var title="">message</var> could not be
+    cloned.</p>
 
    </dd>
 

Modified: index
===================================================================
--- index	2013-04-10 22:21:51 UTC (rev 7802)
+++ index	2013-04-10 23:05:00 UTC (rev 7803)
@@ -5896,8 +5896,8 @@
 
    <li>
 
-    <p>Run the following substeps in a loop, until the first step in the loop requires that the loop
-    be broken, or until a step requiring the algorithm to fail is reached:</p>
+    <p>Run the following substeps in a loop, until a step requiring the loop to be broken or the
+    entire algorithm to fail is reached:</p>
 
     <ol><li><p>Let <var title="">units</var> be undefined. It will be assigned one of the following
      values: <i>years</i>, <i>months</i>, <i>weeks</i>, <i>days</i>, <i>hours</i>, <i>minutes</i>,
@@ -21262,7 +21262,7 @@
 
    <li><p><i>End</i>: Return <var title="">base text segments</var> and <var title="">annotation
    segments</var>. Any content of the <code><a href=#the-ruby-element>ruby</a></code> element not described by segments in either
-   of thost lists is implicitly in an <i>ignored segment</i>.</li>
+   of those lists is implicitly in an <i>ignored segment</i>.</li>
 
   </ol><p>When the steps above say to <dfn id=set-the-current-base-text>set the current base text</dfn>, it means to run the following
   steps at that point in the algorithm:</p>
@@ -27644,7 +27644,7 @@
    any.</p>
 
    <li><p>Optionally, run the following substeps. This is the expected behavior if the user agent
-   intends to not attempt to fetch the resource until the use requests it explicitly (e.g. as a way
+   intends to not attempt to fetch the resource until the user requests it explicitly (e.g. as a way
    to implement the <code title=attr-media-preload><a href=#attr-media-preload>preload</a></code> attribute's <code title=attr-media-preload-none><a href=#attr-media-preload-none>none</a></code> keyword).</p>
 
     <ol><li><p>Set the <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> to <code title=dom-media-NETWORK_IDLE><a href=#dom-media-network_idle>NETWORK_IDLE</a></code>.</li>
@@ -30018,7 +30018,7 @@
 
     <p>Can be set, to change the volume multiplier.</p>
 
-    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> if the new value is not in the range 0.0 .. 1.0.</p>
+    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception if the new value is not in the range 0.0 .. 1.0.</p>
 
    </dd>
 
@@ -32048,7 +32048,7 @@
 
     <p>Can be set, to change the volume.</p>
 
-    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> if the new value is not in the range 0.0 .. 1.0.</p>
+    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception if the new value is not in the range 0.0 .. 1.0.</p>
 
    </dd>
 
@@ -32167,7 +32167,7 @@
 
     <p>Returns the time for the start of the range with the given index.</p>
 
-    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> if the index is out of range.</p>
+    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception if the index is out of range.</p>
 
    </dd>
 
@@ -32177,7 +32177,7 @@
 
     <p>Returns the time for the end of the range with the given index.</p>
 
-    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> if the index is out of range.</p>
+    <p>Throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception if the index is out of range.</p>
 
    </dd>
 
@@ -32692,7 +32692,7 @@
     <p>Returns null if the given context ID is not supported, if the canvas has already been
     initialized with the other context type (e.g. trying to get a "<code title=canvas-context-2d><a href=#canvas-context-2d>2d</a></code>" context after getting a "<code title=canvas-context-webgl><a href=#canvas-context-webgl>webgl</a></code>" context).</p>
 
-    <p>Throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> if the <code title=dom-canvas-setContext><a href=#dom-canvas-setcontext>setContext()</a></code> or <code title=dom-canvas-transferControlToProxy><a href=#dom-canvas-transfercontroltoproxy>transferControlToProxy()</a></code> methods have been
+    <p>Throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception if the <code title=dom-canvas-setContext><a href=#dom-canvas-setcontext>setContext()</a></code> or <code title=dom-canvas-transferControlToProxy><a href=#dom-canvas-transfercontroltoproxy>transferControlToProxy()</a></code> methods have been
     used.</p>
 
    </dd>
@@ -32707,7 +32707,7 @@
     <p>This return value is not a guarantee that <code title=dom-canvas-getContext><a href=#dom-canvas-getcontext>getContext()</a></code> will or will not return an object, as
     conditions (e.g. availability of system resources) can vary over time.</p>
 
-    <p>Throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> if the <code title=dom-canvas-setContext><a href=#dom-canvas-setcontext>setContext()</a></code> or <code title=dom-canvas-transferControlToProxy><a href=#dom-canvas-transfercontroltoproxy>transferControlToProxy()</a></code> methods have been
+    <p>Throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception if the <code title=dom-canvas-setContext><a href=#dom-canvas-setcontext>setContext()</a></code> or <code title=dom-canvas-transferControlToProxy><a href=#dom-canvas-transfercontroltoproxy>transferControlToProxy()</a></code> methods have been
     used.</p>
 
    </dd>
@@ -32831,12 +32831,12 @@
   run following the steps:</p>
 
   <ol><li><p>If the <code><a href=#the-canvas-element>canvas</a></code> element's <a href=#concept-canvas-context-mode title=concept-canvas-context-mode>canvas
-   context mode</a> is neither <a href=#concept-canvas-none title=concept-canvas-none>none</a> nor <a href=#concept-canvas-indirect title=concept-canvas-indirect>indirect</a>, throw an <code><a href=#invalidstateerror>InvalidStateError</a></code> and
-   abort these steps.</li>
+   context mode</a> is neither <a href=#concept-canvas-none title=concept-canvas-none>none</a> nor <a href=#concept-canvas-indirect title=concept-canvas-indirect>indirect</a>, throw an <code><a href=#invalidstateerror>InvalidStateError</a></code>
+   exxeption and abort these steps.</li>
 
    <li><p>If <var title="">context</var>'s <a href=#concept-canvas-context-bitmap-mode title=concept-canvas-context-bitmap-mode>context
    bitmap mode</a> is <a href=#concept-canvas-fixed title=concept-canvas-fixed>fixed</a>, then throw an
-   <code><a href=#invalidstateerror>InvalidStateError</a></code> and abort these steps.</li>
+   <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.</li>
 
    <li><p>If <var title="">context</var>'s <a href=#concept-canvas-context-bitmap-mode title=concept-canvas-context-bitmap-mode>context
    bitmap mode</a> is <a href=#concept-canvas-bound title=concept-canvas-bound>bound</a>, then run <var title="">context</var>'s <a href=#concept-canvas-unbinding-steps title=concept-canvas-unbinding-steps>unbinding steps</a> and
@@ -32996,7 +32996,7 @@
 
   <ol><li><p>If the <code><a href=#the-canvas-element>canvas</a></code> element's <a href=#concept-canvas-context-mode title=concept-canvas-context-mode>canvas
    context mode</a> is not <a href=#concept-canvas-none title=concept-canvas-none>none</a>, throw an
-   <code><a href=#invalidstateerror>InvalidStateError</a></code> and abort these steps.</li>
+   <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.</li>
 
    <li><p>Set the <code><a href=#the-canvas-element>canvas</a></code> element's <a href=#concept-canvas-context-mode title=concept-canvas-context-mode>context
    mode</a> to <a href=#concept-canvas-proxied title=concept-canvas-proxied>proxied</a>.</li>
@@ -33016,14 +33016,14 @@
   <p>The <dfn id=dom-canvasproxy-setcontext title=dom-CanvasProxy-setContext><code>setContext(<var title="">context</var>)</code></dfn> method of <code><a href=#canvasproxy>CanvasProxy</a></code> objects, when invoked,
   must run following the steps:</p>
 
-  <ol><li><p>If the <code><a href=#canvasproxy>CanvasProxy</a></code> object has been <a href=#concept-canvasproxy-disabled title=concept-CanvasProxy-disabled>disabled</a>, throw an <code><a href=#invalidstateerror>InvalidStateError</a></code> and
-   abort these steps.</li>
+  <ol><li><p>If the <code><a href=#canvasproxy>CanvasProxy</a></code> object has been <a href=#concept-canvasproxy-disabled title=concept-CanvasProxy-disabled>disabled</a>, throw an <code><a href=#invalidstateerror>InvalidStateError</a></code>
+   exception and abort these steps.</li>
 
    <li><p>If the <code><a href=#canvasproxy>CanvasProxy</a></code> object has not been <a href=#concept-transferable-neutered title=concept-transferable-neutered>neutered</a>, then <a href=#concept-transferable-neutered title=concept-transferable-neutered>neuter</a> it.</li>
 
    <li><p>If <var title="">context</var>'s <a href=#concept-canvas-context-bitmap-mode title=concept-canvas-context-bitmap-mode>context
    bitmap mode</a> is <a href=#concept-canvas-fixed title=concept-canvas-fixed>fixed</a>, then throw an
-   <code><a href=#invalidstateerror>InvalidStateError</a></code> and abort these steps.</li>
+   <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.</li>
 
    <li><p>If <var title="">context</var>'s <a href=#concept-canvas-context-bitmap-mode title=concept-canvas-context-bitmap-mode>context
    bitmap mode</a> is <a href=#concept-canvas-bound title=concept-canvas-bound>bound</a>, then run <var title="">context</var>'s <a href=#concept-canvas-unbinding-steps title=concept-canvas-unbinding-steps>unbinding steps</a> and
@@ -33452,8 +33452,8 @@
 
    <li>
 
-    <p><a href=#queue-a-task>Queue a task</a> from the <a href=#canvas-updating-task-source>canvas updating task source</a> of the
-    <a href=#output-bitmap>output bitmap</a>'s <code><a href=#the-canvas-element>canvas</a></code> element's <a href=#event-loop>event loop</a> to perform
+    <p><a href=#queue-a-task>Queue a task</a> from the <a href=#canvas-updating-task-source>canvas updating task source</a> of 
+    <var title="">output bitmap</var>'s <code><a href=#the-canvas-element>canvas</a></code> element's <a href=#event-loop>event loop</a> to perform
     the following substeps:</p>
 
     <ol><li><p>Overwrite <var title="">output bitmap</var> with <var title="">bitmap
@@ -36620,7 +36620,7 @@
    <dd>
 
     <p>If the given element is focused, draws a focus ring around the
-    <a href=#current-default-path>current default path</a> or hte given path, following the platform
+    <a href=#current-default-path>current default path</a> or the given path, following the platform
     conventions for focus rings.</p>
 
    </dd>
@@ -57467,12 +57467,12 @@
    element on which the method was invoked.</li>
 
    <li><p>If <var title="">dialog</var> already has an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute, then throw an
-   <a href=#invalidstateerror>InvalidStateError</a> exception and abort these
+   <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
    steps.</li>
 
    <li><p>If <var title="">dialog</var> is not <a href=#in-a-document>in a
    <code>Document</code></a>, then throw an
-   <a href=#invalidstateerror>InvalidStateError</a> exception and abort these
+   <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
    steps.</li>
 
    <li><p>Add an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute
@@ -57534,7 +57534,7 @@
   following steps:</p>
 
   <ol><li><p>If <var title="">dialog</var> does not have an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute, then throw an
-   <a href=#invalidstateerror>InvalidStateError</a> exception and abort these
+   <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
    steps.</li>
 
    <li><p>Remove <var title="">dialog</var>'s <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute.</li>
@@ -65977,7 +65977,7 @@
 
    <li>
 
-    <p>If <var title="">new value</var> is not the empty string, then2 run these substeps:</p>
+    <p>If <var title="">new value</var> is not the empty string, then run these substeps:</p>
 
     <ol><li>
 
@@ -67977,7 +67977,7 @@
    user state</a>.</li>
 
    <li><p>If the <var title="">specified entry</var> has a different <code><a href=#document>Document</a></code> object
-   than the <a href=#current-entry>current entry</a> then the following substeps:</p>
+   than the <a href=#current-entry>current entry</a>, then run the following substeps:</p>
 
     <ol><li><p>Remove any <a href=#concept-task title=concept-task>tasks</a> queued by the <a href=#history-traversal-task-source>history traversal
      task source</a> that are associated with any <code><a href=#document>Document</a></code> objects in the
@@ -73274,8 +73274,8 @@
     <p>Throws a <code><a href=#securityerror>SecurityError</a></code> exception if the user agent blocks the registration (this
     might happen if trying to register as a handler for "http", for instance).</p>
 
-    <p>Throws a <code><a href=#syntaxerror>SyntaxError</a></code> if the "<code title="">%s</code>" string is missing in the
-    URL.</p>
+    <p>Throws a <code><a href=#syntaxerror>SyntaxError</a></code> exception if the "<code title="">%s</code>" string is
+    missing in the URL.</p>
 
    </dd>
 
@@ -73401,7 +73401,7 @@
     argument passed to one of these methods does not contain the exact literal string
     "<code>%s</code>".</p>
 
-    <p>User agents must throw a <code><a href=#syntaxerror>SyntaxError</a></code> if <a href=#resolve-a-url title="resolve a
+    <p>User agents must throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception if <a href=#resolve-a-url title="resolve a
     url">resolving</a> the <var title="">url</var> argument relative to the <a href=#entry-script>entry
     script</a>'s <a href="#script's-base-url" title="script's base URL">base URL</a>, is not successful.</p>
 
@@ -73636,7 +73636,7 @@
    method.</li>
 
    <li><p>If the resoluting <a href=#absolute-url>absolute URL</a>'s <a href=#origin>origin</a> is not the <a href=#same-origin>same
-   origin</a> as that of the <a href=#entry-script>entry script</a> throw a <a href=#securityerror>SecurityError</a>
+   origin</a> as that of the <a href=#entry-script>entry script</a> throw a <code><a href=#securityerror>SecurityError</a></code>
    exception, aborting the method.</li>
 
    <li><p>Return the resulting <a href=#absolute-url>absolute URL</a> as the result of preprocessing the
@@ -73897,7 +73897,7 @@
 
     <li><p>If this fails, return 0 and abort these steps.</li>
 
-    <li><p>Let <var title="">host2</var> be be the <a href=#concept-url-host title=concept-url-host>host</a> component of the resulting
+    <li><p>Let <var title="">host2</var> be the <a href=#concept-url-host title=concept-url-host>host</a> component of the resulting
     <a href=#parsed-url>parsed URL</a>.</li>
 
     <li>
@@ -79760,8 +79760,6 @@
        <li><p><a href=#entangle>Entangle</a> <var title="">outside port</var>
        and <var title="">inside port</var>.</li>
 
-       <li><p>Return <var title="">worker</var> and perform the next step asynchronously.</li>
-
        <li><p>Create a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event that uses the
        <code><a href=#messageevent>MessageEvent</a></code> interface, with the name <code title=event-connect>connect</code>, which does not bubble, is not cancelable, has no
        default action, has a <code title=dom-MessageEvent-data><a href=#dom-messageevent-data>data</a></code> attribute whose value
@@ -79788,7 +79786,7 @@
 
        </li>
 
-       <li><p>Abort all these steps.</li>
+       <li><p>Return <var title="">worker</var> and abort all these steps.</li>
 
       </ol></li>
 
@@ -81895,8 +81893,8 @@
     message to same-origin targets only, without needing to explicitly
     state the origin, set the target origin to "<code title="">/</code>".</p>
 
-    <p>Throws a <code><a href=#datacloneerror>DataCloneError</a></code> if <var title="">transfer</var> array contains duplicate objects or if
-    <var title="">message</var> could not be cloned.</p>
+    <p>Throws a <code><a href=#datacloneerror>DataCloneError</a></code> exception if <var title="">transfer</var> array contains
+    duplicate objects or if <var title="">message</var> could not be cloned.</p>
 
    </dd>
 
@@ -82367,9 +82365,9 @@
     <p>Posts a message through the channel. Objects listed in <var title="">transfer</var> are transferred, not just cloned, meaning
     that they are no longer usable on the sending side.</p>
 
-    <p>Throws a <code><a href=#datacloneerror>DataCloneError</a></code> if <var title="">transfer</var> array contains duplicate objects or the
-    source or target ports, or if <var title="">message</var> could
-    not be cloned.</p>
+    <p>Throws a <code><a href=#datacloneerror>DataCloneError</a></code> exception if <var title="">transfer</var> array contains
+    duplicate objects or the source or target ports, or if <var title="">message</var> could not be
+    cloned.</p>
 
    </dd>
 

Modified: source
===================================================================
--- source	2013-04-10 22:21:51 UTC (rev 7802)
+++ source	2013-04-10 23:05:00 UTC (rev 7803)
@@ -5201,8 +5201,8 @@
 
    <li>
 
-    <p>Run the following substeps in a loop, until the first step in the loop requires that the loop
-    be broken, or until a step requiring the algorithm to fail is reached:</p>
+    <p>Run the following substeps in a loop, until a step requiring the loop to be broken or the
+    entire algorithm to fail is reached:</p>
 
     <ol>
 
@@ -22175,7 +22175,7 @@
 
    <li><p><i>End</i>: Return <var title="">base text segments</var> and <var title="">annotation
    segments</var>. Any content of the <code>ruby</code> element not described by segments in either
-   of thost lists is implicitly in an <i>ignored segment</i>.</p></li>
+   of those lists is implicitly in an <i>ignored segment</i>.</p></li>
 
   </ol>
 
@@ -29317,7 +29317,7 @@
    any.</p>
 
    <li><p>Optionally, run the following substeps. This is the expected behavior if the user agent
-   intends to not attempt to fetch the resource until the use requests it explicitly (e.g. as a way
+   intends to not attempt to fetch the resource until the user requests it explicitly (e.g. as a way
    to implement the <code title="attr-media-preload">preload</code> attribute's <code
    title="attr-media-preload-none">none</code> keyword).</p>
 
@@ -32091,7 +32091,7 @@
 
     <p>Can be set, to change the volume multiplier.</p>
 
-    <p>Throws an <code>IndexSizeError</code> if the new value is not in the range 0.0 .. 1.0.</p>
+    <p>Throws an <code>IndexSizeError</code> exception if the new value is not in the range 0.0 .. 1.0.</p>
 
    </dd>
 
@@ -38786,7 +38786,7 @@
 
     <p>Can be set, to change the volume.</p>
 
-    <p>Throws an <code>IndexSizeError</code> if the new value is not in the range 0.0 .. 1.0.</p>
+    <p>Throws an <code>IndexSizeError</code> exception if the new value is not in the range 0.0 .. 1.0.</p>
 
    </dd>
 
@@ -38916,7 +38916,7 @@
 
     <p>Returns the time for the start of the range with the given index.</p>
 
-    <p>Throws an <code>IndexSizeError</code> if the index is out of range.</p>
+    <p>Throws an <code>IndexSizeError</code> exception if the index is out of range.</p>
 
    </dd>
 
@@ -38926,7 +38926,7 @@
 
     <p>Returns the time for the end of the range with the given index.</p>
 
-    <p>Throws an <code>IndexSizeError</code> if the index is out of range.</p>
+    <p>Throws an <code>IndexSizeError</code> exception if the index is out of range.</p>
 
    </dd>
 
@@ -39552,7 +39552,7 @@
     title="canvas-context-2d">2d</code>" context after getting a "<code
     title="canvas-context-webgl">webgl</code>" context).</p>
 
-    <p>Throws an <code>InvalidStateError</code> if the <code
+    <p>Throws an <code>InvalidStateError</code> exception if the <code
     title="dom-canvas-setContext">setContext()</code> or <code
     title="dom-canvas-transferControlToProxy">transferControlToProxy()</code> methods have been
     used.</p>
@@ -39570,7 +39570,7 @@
     title="dom-canvas-getContext">getContext()</code> will or will not return an object, as
     conditions (e.g. availability of system resources) can vary over time.</p>
 
-    <p>Throws an <code>InvalidStateError</code> if the <code
+    <p>Throws an <code>InvalidStateError</code> exception if the <code
     title="dom-canvas-setContext">setContext()</code> or <code
     title="dom-canvas-transferControlToProxy">transferControlToProxy()</code> methods have been
     used.</p>
@@ -39729,12 +39729,12 @@
 
    <li><p>If the <code>canvas</code> element's <span title="concept-canvas-context-mode">canvas
    context mode</span> is neither <span title="concept-canvas-none">none</span> nor <span
-   title="concept-canvas-indirect">indirect</span>, throw an <code>InvalidStateError</code> and
-   abort these steps.</p></li>
+   title="concept-canvas-indirect">indirect</span>, throw an <code>InvalidStateError</code>
+   exxeption and abort these steps.</p></li>
 
    <li><p>If <var title="">context</var>'s <span title="concept-canvas-context-bitmap-mode">context
    bitmap mode</span> is <span title="concept-canvas-fixed">fixed</span>, then throw an
-   <code>InvalidStateError</code> and abort these steps.</p></li>
+   <code>InvalidStateError</code> exception and abort these steps.</p></li>
 
    <li><p>If <var title="">context</var>'s <span title="concept-canvas-context-bitmap-mode">context
    bitmap mode</span> is <span title="concept-canvas-bound">bound</span>, then run <var
@@ -39937,7 +39937,7 @@
 
    <li><p>If the <code>canvas</code> element's <span title="concept-canvas-context-mode">canvas
    context mode</span> is not <span title="concept-canvas-none">none</span>, throw an
-   <code>InvalidStateError</code> and abort these steps.</p></li>
+   <code>InvalidStateError</code> exception and abort these steps.</p></li>
 
    <li><p>Set the <code>canvas</code> element's <span title="concept-canvas-context-mode">context
    mode</span> to <span title="concept-canvas-proxied">proxied</span>.</p></li>
@@ -39965,8 +39965,8 @@
   <ol>
 
    <li><p>If the <code>CanvasProxy</code> object has been <span
-   title="concept-CanvasProxy-disabled">disabled</span>, throw an <code>InvalidStateError</code> and
-   abort these steps.</p></li>
+   title="concept-CanvasProxy-disabled">disabled</span>, throw an <code>InvalidStateError</code>
+   exception and abort these steps.</p></li>
 
    <li><p>If the <code>CanvasProxy</code> object has not been <span
    title="concept-transferable-neutered">neutered</span>, then <span
@@ -39974,7 +39974,7 @@
 
    <li><p>If <var title="">context</var>'s <span title="concept-canvas-context-bitmap-mode">context
    bitmap mode</span> is <span title="concept-canvas-fixed">fixed</span>, then throw an
-   <code>InvalidStateError</code> and abort these steps.</p></li>
+   <code>InvalidStateError</code> exception and abort these steps.</p></li>
 
    <li><p>If <var title="">context</var>'s <span title="concept-canvas-context-bitmap-mode">context
    bitmap mode</span> is <span title="concept-canvas-bound">bound</span>, then run <var
@@ -40437,8 +40437,8 @@
 
    <li>
 
-    <p><span>Queue a task</span> from the <span>canvas updating task source</span> of the
-    <span>output bitmap</span>'s <code>canvas</code> element's <span>event loop</span> to perform
+    <p><span>Queue a task</span> from the <span>canvas updating task source</span> of 
+    <var title="">output bitmap</var>'s <code>canvas</code> element's <span>event loop</span> to perform
     the following substeps:</p>
 
     <ol>
@@ -44241,7 +44241,7 @@
    <dd>
 
     <p>If the given element is focused, draws a focus ring around the
-    <span>current default path</span> or hte given path, following the platform
+    <span>current default path</span> or the given path, following the platform
     conventions for focus rings.</p>
 
    </dd>
@@ -68174,12 +68174,12 @@
 
    <li><p>If <var title="">dialog</var> already has an <code
    title="attr-dialog-open">open</code> attribute, then throw an
-   <span>InvalidStateError</span> exception and abort these
+   <code>InvalidStateError</code> exception and abort these
    steps.</p></li>
 
    <li><p>If <var title="">dialog</var> is not <span>in a
    <code>Document</code></span>, then throw an
-   <span>InvalidStateError</span> exception and abort these
+   <code>InvalidStateError</code> exception and abort these
    steps.</p></li>
 
    <li><p>Add an <code title="attr-dialog-open">open</code> attribute
@@ -68257,7 +68257,7 @@
 
    <li><p>If <var title="">dialog</var> does not have an <code
    title="attr-dialog-open">open</code> attribute, then throw an
-   <span>InvalidStateError</span> exception and abort these
+   <code>InvalidStateError</code> exception and abort these
    steps.</p></li>
 
    <li><p>Remove <var title="">dialog</var>'s <code
@@ -78182,7 +78182,7 @@
 
    <li>
 
-    <p>If <var title="">new value</var> is not the empty string, then2 run these substeps:</p>
+    <p>If <var title="">new value</var> is not the empty string, then run these substeps:</p>
 
     <ol>
 
@@ -80433,7 +80433,7 @@
    user state</span>.</p></li>
 
    <li><p>If the <var title="">specified entry</var> has a different <code>Document</code> object
-   than the <span>current entry</span> then the following substeps:</p>
+   than the <span>current entry</span>, then run the following substeps:</p>
 
     <ol>
 
@@ -86592,8 +86592,8 @@
     <p>Throws a <code>SecurityError</code> exception if the user agent blocks the registration (this
     might happen if trying to register as a handler for "http", for instance).</p>
 
-    <p>Throws a <code>SyntaxError</code> if the "<code title="">%s</code>" string is missing in the
-    URL.</p>
+    <p>Throws a <code>SyntaxError</code> exception if the "<code title="">%s</code>" string is
+    missing in the URL.</p>
 
    </dd>
 
@@ -86730,7 +86730,7 @@
     argument passed to one of these methods does not contain the exact literal string
     "<code>%s</code>".</p>
 
-    <p>User agents must throw a <code>SyntaxError</code> if <span title="resolve a
+    <p>User agents must throw a <code>SyntaxError</code> exception if <span title="resolve a
     url">resolving</span> the <var title="">url</var> argument relative to the <span>entry
     script</span>'s <span title="script's base URL">base URL</span>, is not successful.</p>
 
@@ -87002,7 +87002,7 @@
    method.</p></li>
 
    <li><p>If the resoluting <span>absolute URL</span>'s <span>origin</span> is not the <span>same
-   origin</span> as that of the <span>entry script</span> throw a <span>SecurityError</span>
+   origin</span> as that of the <span>entry script</span> throw a <code>SecurityError</code>
    exception, aborting the method.</p></li>
 
    <li><p>Return the resulting <span>absolute URL</span> as the result of preprocessing the
@@ -87303,7 +87303,7 @@
 
     <li><p>If this fails, return 0 and abort these steps.</p></li>
 
-    <li><p>Let <var title="">host2</var> be be the <span
+    <li><p>Let <var title="">host2</var> be the <span
     title="concept-url-host">host</span> component of the resulting
     <span>parsed URL</span>.</p></li>
 
@@ -93397,8 +93397,6 @@
        <li><p><span>Entangle</span> <var title="">outside port</var>
        and <var title="">inside port</var>.</p></li>
 
-       <li><p>Return <var title="">worker</var> and perform the next step asynchronously.</p></li>
-
        <li><p>Create a <span title="concept-events-trusted">trusted</span> event that uses the
        <code>MessageEvent</code> interface, with the name <code
        title="event-connect">connect</code>, which does not bubble, is not cancelable, has no
@@ -93430,7 +93428,7 @@
 
        </li>
 
-       <li><p>Abort all these steps.</p></li>
+       <li><p>Return <var title="">worker</var> and abort all these steps.</p></li>
 
       </ol>
 
@@ -95924,9 +95922,8 @@
     state the origin, set the target origin to "<code
     title="">/</code>".</p>
 
-    <p>Throws a <code>DataCloneError</code> if <var
-    title="">transfer</var> array contains duplicate objects or if
-    <var title="">message</var> could not be cloned.</p>
+    <p>Throws a <code>DataCloneError</code> exception if <var title="">transfer</var> array contains
+    duplicate objects or if <var title="">message</var> could not be cloned.</p>
 
    </dd>
 
@@ -96466,10 +96463,9 @@
     title="">transfer</var> are transferred, not just cloned, meaning
     that they are no longer usable on the sending side.</p>
 
-    <p>Throws a <code>DataCloneError</code> if <var
-    title="">transfer</var> array contains duplicate objects or the
-    source or target ports, or if <var title="">message</var> could
-    not be cloned.</p>
+    <p>Throws a <code>DataCloneError</code> exception if <var title="">transfer</var> array contains
+    duplicate objects or the source or target ports, or if <var title="">message</var> could not be
+    cloned.</p>
 
    </dd>
 




More information about the Commit-Watchers mailing list