[html5] r8804 - [giow] (1) Integrate with new promise stuff better Fixing https://www.w3.org/Bug [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 22 11:28:22 PDT 2014


Author: ianh
Date: 2014-09-22 11:28:19 -0700 (Mon, 22 Sep 2014)
New Revision: 8804

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Integrate with new promise stuff better
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25662
Affected topics: Canvas, Security

Modified: complete.html
===================================================================
--- complete.html	2014-09-19 23:39:54 UTC (rev 8803)
+++ complete.html	2014-09-22 18:28:19 UTC (rev 8804)
@@ -291,7 +291,7 @@
   </style><link rel=stylesheet href=status.css><body onload=init()>
   <header id=head class="head with-buttons">
    <p><a href=https://whatwg.org/ class=logo><img src=//whatwg.org/images/logo width=101 alt=WHATWG height=101></a></p>
-   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>19 September 2014</span></h2></hgroup>
+   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>22 September 2014</span></h2></hgroup>
    
    <nav>
     <div>
@@ -17360,7 +17360,7 @@
     <p>Authors might want to show different image content depending on the rendered size of the image.
     This is usually referred to as <dfn id=art-direction>art direction</dfn>.</p>
 
-    <p class=example>When a Web page is viewed on a screen with a large physical size (assuming a maximized browser window),
+    <p class=example>When a Web page is viewed on a screen with a large physical size (assuming a maximised browser window),
     the author might wish to include some less relevant parts surrounding the critical part of the image.
     When the same Web page is viewed on a screen with a small physical size,
     the author might wish to show only the critical part of the image.</p>
@@ -17371,7 +17371,7 @@
     This is usually referred to as <dfn id=viewport-based-selection>viewport-based selection</dfn>.</p>
 
     <p class=example>A Web page might have a banner at the top that always spans the entire viewport width.
-    In this case, the rendered size of the image depends on the physical size of the screen (assuming a maximized browser window).</p>
+    In this case, the rendered size of the image depends on the physical size of the screen (assuming a maximised browser window).</p>
 
     <p class=example>Another Web page might have images in columns,
     with a single column for screens with a small physical size,
@@ -17390,7 +17390,7 @@
     with the latter two having better compression abilities compared to JPEG.
     Since different user agents can support different image formats,
     with some formats offering better compression ratios,
-    the author would like to serve the better formats to user agenst that support them,
+    the author would like to serve the better formats to user agents that support them,
     while providing JPEG fallback for user agents that don't.</p>
 
    </ul>
@@ -17410,7 +17410,7 @@
    and instead instantiates a single download from script,
    that avoids the double download problem above
    but then no image will be downloaded at all for users with scripting disabled
-   and the aggressive image downloading optimization will also be disabled.</ul>
+   and the aggressive image downloading optimisation will also be disabled.</ul>
 
   <p>With this in mind, this specification introduces a number of features to address the above problems in a declarative manner.</p>
 
@@ -17457,7 +17457,7 @@
     <p>The <code id=introduction-3:the-picture-element><a href=#the-picture-element>picture</a></code> element and the <code id=introduction-3:the-source-element-when-used-with-the-picture-element><a href=#the-source-element-when-used-with-the-picture-element>source</a></code> element,
     together with the <code id=introduction-3:attr-picture-source-media><a href=#attr-picture-source-media>media</a></code> attribute,
     can be used, to provide multiple images that vary the image content
-    (for intance the smaller image might be a cropped version of the bigger image).</p>
+    (for instance the smaller image might be a cropped version of the bigger image).</p>
 
     <div class=example>
 
@@ -18080,7 +18080,7 @@
      and then <a href=#fire-a-simple-event id=the-img-element:fire-a-simple-event>fire a simple event</a> named <code id=the-img-element:event-load><a href=#event-load>load</a></code> at the <code id=the-img-element:the-img-element-21><a href=#the-img-element>img</a></code> element,
      and abort these steps.</ol>
 
-   <li><p>Asynchronously <a href=#await-a-stable-state id=the-img-element:await-a-stable-state>await a stable state</a>, allowing the <a href=#concept-task id=the-img-element:concept-task>task</a> that invoked this algorithm to continue.
+   <li><p><a href=#await-a-stable-state id=the-img-element:await-a-stable-state>Await a stable state</a>, allowing the <a href=#concept-task id=the-img-element:concept-task>task</a> that invoked this algorithm to continue.
    The <a href=#synchronous-section id=the-img-element:synchronous-section>synchronous
    section</a> consists of all the remaining steps of this algorithm until the algorithm says the
    <a href=#synchronous-section id=the-img-element:synchronous-section-2>synchronous section</a> has ended. (Steps in <a href=#synchronous-section id=the-img-element:synchronous-section-3>synchronous sections</a> are marked with ⌛.)<li>
@@ -18182,7 +18182,7 @@
     if <var>image request</var> is the <a href=#current-request id=the-img-element:current-request-17>current request</a>,
     must <a href=#fire-a-progress-event id=the-img-element:fire-a-progress-event-2>fire a progress event</a> named <code id=the-img-element:event-progress><a href=#event-progress>progress</a></code> at the <code id=the-img-element:the-img-element-28><a href=#the-img-element>img</a></code> element.</p>
 
-   <li><p>End the <a href=#synchronous-section id=the-img-element:synchronous-section-4>synchronous section</a>, continuing the remaining steps asynchronously,
+   <li><p>End the <a href=#synchronous-section id=the-img-element:synchronous-section-4>synchronous section</a>, continuing the remaining steps <a href=#in-parallel id=the-img-element:in-parallel>in parallel</a>,
    but without missing any data from the <a href=#fetch id=the-img-element:fetch-5>fetch</a> algorithm.<li>
 
     <p>As soon as possible, jump to the first applicable entry from the following list:</p>
@@ -18346,7 +18346,7 @@
   files whose root element is an HTML element). User agents must not run executable code (e.g.
   scripts) embedded in the image resource. User agents must only display the first page of a
   multipage resource (e.g. a PDF file). User agents must not allow the resource to act in an
-  interactive fashion, but should honor any animation in the resource.</p>
+  interactive fashion, but should honour any animation in the resource.</p>
 
   <p>This specification does not specify which image types are to be supported.</p>
 
@@ -18401,7 +18401,7 @@
        and <var>source set</var> does not contain an
        <a href=#image-source id=the-img-element:image-source-3>image source</a> with a density descriptor value of 1,
        and no <a href=#image-source id=the-img-element:image-source-4>image source</a> with a width descriptor,
-       append <var>child</var>'s <code id=the-img-element:attr-img-src-11><a href=#attr-img-src>src</a></code> attribute value to <var>source set</var>.<li><p><a href=#normalize-the-source-densities id=the-img-element:normalize-the-source-densities>Normalize the source densities</a> of <var>source set</var>.<li><p>Let <var>el</var>'s <a href=#source-set id=the-img-element:source-set-8>source set</a> be <var>source set</var>.<li><p>Abort this algorithm.</ol>
+       append <var>child</var>'s <code id=the-img-element:attr-img-src-11><a href=#attr-img-src>src</a></code> attribute value to <var>source set</var>.<li><p><a href=#normalise-the-source-densities id=the-img-element:normalise-the-source-densities>Normalise the source densities</a> of <var>source set</var>.<li><p>Let <var>el</var>'s <a href=#source-set id=the-img-element:source-set-8>source set</a> be <var>source set</var>.<li><p>Abort this algorithm.</ol>
 
      <li><p>If <var>child</var> is not a <code id=the-img-element:the-source-element-when-used-with-the-picture-element-7><a href=#the-source-element-when-used-with-the-picture-element>source</a></code> element,
      continue to the next child.
@@ -18413,7 +18413,7 @@
      continue to the next child.<li><p><a href=#parse-a-sizes-attribute id=the-img-element:parse-a-sizes-attribute-2>Parse <var>child</var>'s sizes attribute</a>
      and let <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-5>source size</a> be the returned value.<li><p>If <var>child</var> has a <code id=the-img-element:attr-picture-source-type-2><a href=#attr-picture-source-type>type</a></code> attribute,
      and its value is an unknown or unsupported <a href=#mime-type id=the-img-element:mime-type>MIME type</a>,
-     continue to the next child.<li><p><a href=#normalize-the-source-densities id=the-img-element:normalize-the-source-densities-2>Normalize the source densities</a> of <var>source set</var>.<li><p>Let <var>el</var>'s <a href=#source-set id=the-img-element:source-set-10>source set</a> be <var>source set</var>.<li><p>Abort this algorithm.</ol>
+     continue to the next child.<li><p><a href=#normalise-the-source-densities id=the-img-element:normalise-the-source-densities-2>Normalise the source densities</a> of <var>source set</var>.<li><p>Let <var>el</var>'s <a href=#source-set id=the-img-element:source-set-10>source set</a> be <var>source set</var>.<li><p>Abort this algorithm.</ol>
 
    </ol>
 
@@ -18441,7 +18441,7 @@
     if this removed more than one character, that is a <a href=#concept-microsyntax-parse-error id=the-img-element:concept-microsyntax-parse-error-2>parse error</a>.
     Otherwise, <a href=#skip-whitespace id=the-img-element:skip-whitespace>skip whitespace</a> and then follow these substeps:</p>
 
-    <ol><li><p><i>Descriptor tokenizer</i>: Let <var>current descriptor</var> be the empty string.<li><p>Let <var>state</var> be <i>in descriptor</i>.<li>
+    <ol><li><p><i>Descriptor tokeniser</i>: Let <var>current descriptor</var> be the empty string.<li><p>Let <var>state</var> be <i>in descriptor</i>.<li>
 
       <p>Let <var>c</var> be the character at <var>position</var>.
       Do the following depending on the value of <var>state</var>.
@@ -18458,7 +18458,7 @@
          Set <var>state</var> to <i>after descriptor</i>.<dt>U+002C COMMA (,)<dd><p>Advance <var>position</var> to the next character in <var>input</var>.
          If <var>current descriptor</var> is not empty,
          append <var>current descriptor</var> to <var>descriptors</var>.
-         Jump to the step labeled <i>descriptor parser</i>.<dt>U+0028 LEFT PARANTHESIS (()<dd><p>Append <var>c</var> to <var>current descriptor</var>.
+         Jump to the step labeled <i>descriptor parser</i>.<dt>U+0028 LEFT PARENTHESIS (()<dd><p>Append <var>c</var> to <var>current descriptor</var>.
          Set <var>state</var> to <i>in parens</i>.<dt>EOF<dd><p>If <var>current descriptor</var> is not empty,
          append <var>current descriptor</var> to <var>descriptors</var>.
          Jump to the step labeled <i>descriptor parser</i>.<dt>Anything else<dd><p>Append <var>c</var> to <var>current descriptor</var>.</dl>
@@ -18589,9 +18589,9 @@
   <p>An <a href=#image-source id=the-img-element:image-source-8>image source</a> can have a density descriptor,
   a width descriptor,
   or no descriptor at all accompanying its URL.
-  Normalizing a <a href=#source-set id=the-img-element:source-set-12>source set</a> gives every <a href=#image-source id=the-img-element:image-source-9>image source</a> a density descriptor.</p>
+  Normalising a <a href=#source-set id=the-img-element:source-set-12>source set</a> gives every <a href=#image-source id=the-img-element:image-source-9>image source</a> a density descriptor.</p>
 
-  <p>When asked to <dfn id=normalize-the-source-densities>normalize the source densities</dfn> of a <a href=#source-set id=the-img-element:source-set-13>source set</a> <var>source set</var>,
+  <p>When asked to <dfn id=normalise-the-source-densities>normalise the source densities</dfn> of a <a href=#source-set id=the-img-element:source-set-13>source set</a> <var>source set</var>,
   the user agent must do the following:</p>
 
   <ol><li><p>Let <var>source size</var> be <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-6>source size</a>.<li>
@@ -18620,7 +18620,7 @@
   more, the user agent might want to wait until the user has returned to the page before determining
   which image to use, in case the environment changes again in the meantime.)</p>
 
-  <ol><li><p>Asynchronously <a href=#await-a-stable-state id=the-img-element:await-a-stable-state-2>await a stable state</a>. The <a href=#synchronous-section id=the-img-element:synchronous-section-5>synchronous section</a>
+  <ol><li><p><a href=#await-a-stable-state id=the-img-element:await-a-stable-state-2>Await a stable state</a>. The <a href=#synchronous-section id=the-img-element:synchronous-section-5>synchronous section</a>
    consists of all the remaining steps of this algorithm until the algorithm says the
    <a href=#synchronous-section id=the-img-element:synchronous-section-6>synchronous section</a> has ended. (Steps in <a href=#synchronous-section id=the-img-element:synchronous-section-7>synchronous sections</a> are marked with ⌛.)<li><p>⌛ If the <code id=the-img-element:the-img-element-56><a href=#the-img-element>img</a></code> element does not have a <code id=the-img-element:attr-img-srcset-10><a href=#attr-img-srcset>srcset</a></code> attribute specified and it either has no parent
    or it is not a <code id=the-img-element:the-picture-element-11><a href=#the-picture-element>picture</a></code> element, is not in the <a href=#img-all id=the-img-element:img-all-6>completely available</a> state, has image data whose resource type is
@@ -18633,7 +18633,7 @@
    steps.</p>
 
    <li><p>End the <a href=#synchronous-section id=the-img-element:synchronous-section-8>synchronous section</a>, continuing the remaining steps
-   asynchronously.<li>
+   <a href=#in-parallel id=the-img-element:in-parallel-2>in parallel</a>.<li>
 
     <p>Do a <a href=#potentially-cors-enabled-fetch id=the-img-element:potentially-cors-enabled-fetch-2>potentially CORS-enabled fetch</a> of the resulting <a href=#absolute-url id=the-img-element:absolute-url-3>absolute
     URL</a>, with the <i>mode</i> being <var>CORS mode</var>, the <i>origin</i>
@@ -18741,7 +18741,7 @@
   a text terminal with no graphics capabilities. Such heuristics could include, for instance,
   optical character recognition (OCR) of text found within the image.</p>
 
-  <p class=warning>While user agents are encouraged to repair cases of missing <code id=the-img-element:attr-img-alt-15><a href=#attr-img-alt>alt</a></code> attributes, authors must not rely on such behavior. <a href=#alt>Requirements for providing text to act as an alternative for images</a> are described
+  <p class=warning>While user agents are encouraged to repair cases of missing <code id=the-img-element:attr-img-alt-15><a href=#attr-img-alt>alt</a></code> attributes, authors must not rely on such behaviour. <a href=#alt>Requirements for providing text to act as an alternative for images</a> are described
   in detail below.</p>
 
   <p>The <em>contents</em> of <code id=the-img-element:the-img-element-66><a href=#the-img-element>img</a></code> elements, if any, are ignored for the purposes of
@@ -18769,7 +18769,7 @@
 
   <p class=note>The <code id=the-img-element:attr-hyperlink-usemap-4><a href=#attr-hyperlink-usemap>usemap</a></code> and
   <code id=the-img-element:attr-img-ismap-3><a href=#attr-img-ismap>ismap</a></code> attributes
-  can result in confusing behavior when used together with
+  can result in confusing behaviour when used together with
   <code id=the-img-element:the-source-element-when-used-with-the-picture-element-11><a href=#the-source-element-when-used-with-the-picture-element>source</a></code> elements with the
   <code id=the-img-element:attr-picture-source-media-3><a href=#attr-picture-source-media>media</a></code> attribute specified
   in a <code id=the-img-element:the-picture-element-12><a href=#the-picture-element>picture</a></code> element.</p>
@@ -18938,7 +18938,7 @@
    <pre><article>
  <h1>My cats</h1>
  <h2>Fluffy</h2>
- <p>Fluffy is my favorite.</p>
+ <p>Fluffy is my favourite.</p>
  <img src="fluffy.jpg" alt="She likes playing with a ball of yarn.">
  <p>She's just too cute.</p>
  <h2>Miles</h2>
@@ -65965,8 +65965,8 @@
 
 [NoInterfaceObject, Exposed=(Window,Worker)]
 interface <dfn id=imagebitmapfactories>ImageBitmapFactories</dfn> {
-  <a href=#promise id=images:promise>Promise</a> <a href=#dom-createimagebitmap id=images:dom-createimagebitmap>createImageBitmap</a>(<a href=#imagebitmapsource id=images:imagebitmapsource>ImageBitmapSource</a> image);
-  <a href=#promise id=images:promise-2>Promise</a> <a href=#dom-createimagebitmap id=images:dom-createimagebitmap-2>createImageBitmap</a>(<a href=#imagebitmapsource id=images:imagebitmapsource-2>ImageBitmapSource</a> image, long sx, long sy, long sw, long sh);
+  <a href=#promise id=images:promise>Promise</a><ImageBitmap> <a href=#dom-createimagebitmap id=images:dom-createimagebitmap>createImageBitmap</a>(<a href=#imagebitmapsource id=images:imagebitmapsource>ImageBitmapSource</a> image);
+  <a href=#promise id=images:promise-2>Promise</a><ImageBitmap> <a href=#dom-createimagebitmap id=images:dom-createimagebitmap-2>createImageBitmap</a>(<a href=#imagebitmapsource id=images:imagebitmapsource-2>ImageBitmapSource</a> image, long sx, long sy, long sw, long sh);
 };
 <a href=#window id=images:window>Window</a> implements <a href=#imagebitmapfactories id=images:imagebitmapfactories>ImageBitmapFactories</a>;
 <a href=#workerglobalscope id=images:workerglobalscope>WorkerGlobalScope</a> implements <a href=#imagebitmapfactories id=images:imagebitmapfactories-2>ImageBitmapFactories</a>;</pre>
@@ -65994,10 +65994,10 @@
     any pixels missing in the original replaced by transparent black. These coordinates are in the
     source image's pixel coordinate space, <em>not</em> in CSS pixels.</p>
 
-    <p>Throws an <code id=images:invalidstateerror><a href=#invalidstateerror>InvalidStateError</a></code> exception if the source image is not in a valid
+    <p>Rejects the promise with an <code id=images:invalidstateerror><a href=#invalidstateerror>InvalidStateError</a></code> exception if the source image is not in a valid
     state (e.g. an <code id=images:the-img-element-2><a href=#the-img-element>img</a></code> element that hasn't finished loading, or a
     <code id=images:canvasrenderingcontext2d-3><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object whose bitmap data has zero length along one or both
-    dimensions, or an <code id=images:imagedata-3><a href=#imagedata>ImageData</a></code> object whose data is <code id=images:dom-imagedata-data><a href=#dom-imagedata-data>data</a></code> attribute has been <a href=#concept-transferable-neutered id=images:concept-transferable-neutered>neutered</a>). Throws a <code id=images:securityerror><a href=#securityerror>SecurityError</a></code>
+    dimensions, or an <code id=images:imagedata-3><a href=#imagedata>ImageData</a></code> object whose data is <code id=images:dom-imagedata-data><a href=#dom-imagedata-data>data</a></code> attribute has been <a href=#concept-transferable-neutered id=images:concept-transferable-neutered>neutered</a>). Rejects the promise with a <code id=images:securityerror><a href=#securityerror>SecurityError</a></code>
     exception if the script is not allowed to access the image data of the source image (e.g. a
     <code id=images:the-video-element-2><a href=#the-video-element>video</a></code> that is <a href=#cors-cross-origin id=images:cors-cross-origin>CORS-cross-origin</a>, or a <code id=images:the-canvas-element-2><a href=#the-canvas-element>canvas</a></code> being drawn
     on by a script in a worker from another <a href=#origin-2 id=images:origin-2>origin</a>).</p>
@@ -66028,20 +66028,19 @@
    <dd>
 
     <ol><li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code id=images:indexsizeerror><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-img-element-4><a href=#the-img-element>img</a></code> element is not <a href=#img-all id=images:img-all>completely
-     available</a>, then throw an <code id=images:invalidstateerror-2><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
+     but zero, return a promise rejected with an <code id=images:indexsizeerror><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-img-element-4><a href=#the-img-element>img</a></code> element is not <a href=#img-all id=images:img-all>completely
+     available</a>, then return a promise rejected with an <code id=images:invalidstateerror-2><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
      steps.<li><p>If the <a href=#origin-2 id=images:origin-2-2>origin</a> of the <code id=images:the-img-element-5><a href=#the-img-element>img</a></code> element's image is not the <a href=#same-origin id=images:same-origin>same
      origin</a> as the <a href=#origin-2 id=images:origin-2-3>origin</a> specified by the <a href=#entry-settings-object id=images:entry-settings-object>entry settings object</a>,
-     then throw a <code id=images:securityerror-2><a href=#securityerror>SecurityError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-img-element-6><a href=#the-img-element>img</a></code> element's media data is not a bitmap (e.g. it's a vector
-     graphic), then throw an <code id=images:invalidstateerror-3><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
+     then return a promise rejected with a <code id=images:securityerror-2><a href=#securityerror>SecurityError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-img-element-6><a href=#the-img-element>img</a></code> element's media data is not a bitmap (e.g. it's a vector
+     graphic), then return a promise rejected with an <code id=images:invalidstateerror-3><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
      steps.<li><p>Create a new <code id=images:imagebitmap-9><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-10><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be a copy of the <code id=images:the-img-element-7><a href=#the-img-element>img</a></code>
      element's media data, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle>cropped to the source rectangle</a>. If this is an animated
      image, the <code id=images:imagebitmap-11><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data must only be taken from the default
      image of the animation (the one that the format defines is to be used when animation is not
      supported or is disabled), or, if there is no such image, the first frame of the
      animation.<li><p>Return a new <code id=images:promise-4><a href=#promise>Promise</a></code>, but continue running these steps
-     <a href=#in-parallel id=images:in-parallel>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill>Fulfill</a> the <code id=images:promise-5><a href=#promise>Promise</a></code>'s
-     associated <a href=#concept-resolver id=images:concept-resolver>resolver</a>, with the new
+     <a href=#in-parallel id=images:in-parallel>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill>Resolve</a> the <code id=images:promise-5><a href=#promise>Promise</a></code> with the new
      <code id=images:imagebitmap-12><a href=#imagebitmap>ImageBitmap</a></code> object as the value.</ol>
 
    <dt>If <var>image</var> is a <code id=images:the-video-element-3><a href=#the-video-element>video</a></code> element
@@ -66049,17 +66048,16 @@
    <dd>
 
     <ol><li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code id=images:indexsizeerror-2><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-video-element-4><a href=#the-video-element>video</a></code> element's <code id=images:dom-media-networkstate><a href=#dom-media-networkstate>networkState</a></code> attribute is <code id=images:dom-media-network_empty><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>, then throw an
+     but zero, return a promise rejected with an <code id=images:indexsizeerror-2><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-video-element-4><a href=#the-video-element>video</a></code> element's <code id=images:dom-media-networkstate><a href=#dom-media-networkstate>networkState</a></code> attribute is <code id=images:dom-media-network_empty><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>, then return a promise rejected with an
      <code id=images:invalidstateerror-4><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.<li><p>If the <a href=#origin-2 id=images:origin-2-4>origin</a> of the <code id=images:the-video-element-5><a href=#the-video-element>video</a></code> element is not the <a href=#same-origin id=images:same-origin-2>same
      origin</a> as the <a href=#origin-2 id=images:origin-2-5>origin</a> specified by the <a href=#entry-settings-object id=images:entry-settings-object-2>entry settings object</a>,
-     then throw a <code id=images:securityerror-3><a href=#securityerror>SecurityError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-video-element-6><a href=#the-video-element>video</a></code> element's <code id=images:dom-media-readystate><a href=#dom-media-readystate>readyState</a></code> attribute is either <code id=images:dom-media-have_nothing><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code> or <code id=images:dom-media-have_metadata><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>, then throw an
+     then return a promise rejected with a <code id=images:securityerror-3><a href=#securityerror>SecurityError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-video-element-6><a href=#the-video-element>video</a></code> element's <code id=images:dom-media-readystate><a href=#dom-media-readystate>readyState</a></code> attribute is either <code id=images:dom-media-have_nothing><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code> or <code id=images:dom-media-have_metadata><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>, then return a promise rejected with an
      <code id=images:invalidstateerror-5><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.<li><p>Create a new <code id=images:imagebitmap-13><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-14><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be a copy of the frame at the
      <a href=#current-playback-position id=images:current-playback-position>current playback position</a>, at the <a href=#media-resource id=images:media-resource>media resource</a>'s <a href=#concept-video-intrinsic-width id=images:concept-video-intrinsic-width>intrinsic width</a> and <a href=#concept-video-intrinsic-height id=images:concept-video-intrinsic-height>intrinsic height</a> (i.e. after any aspect-ratio
      correction has been applied), <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-2>cropped to the source rectangle</a>.</p>
 
      <li><p>Return a new <code id=images:promise-6><a href=#promise>Promise</a></code>, but continue running these steps
-     <a href=#in-parallel id=images:in-parallel-2>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-2>Fulfill</a> the <code id=images:promise-7><a href=#promise>Promise</a></code>'s
-     associated <a href=#concept-resolver id=images:concept-resolver-2>resolver</a>, with the new
+     <a href=#in-parallel id=images:in-parallel-2>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-2>Resolve</a> the <code id=images:promise-7><a href=#promise>Promise</a></code> with the new
      <code id=images:imagebitmap-15><a href=#imagebitmap>ImageBitmap</a></code> object as the value.</ol>
 
    <dt>If <var>image</var> is a <code id=images:the-canvas-element-3><a href=#the-canvas-element>canvas</a></code> element
@@ -66067,13 +66065,12 @@
    <dd>
 
     <ol><li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code id=images:indexsizeerror-3><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-canvas-element-4><a href=#the-canvas-element>canvas</a></code> element's bitmap data does not have its <a href=#concept-canvas-origin-clean id=images:concept-canvas-origin-clean>origin-clean</a> flag set, then throw an
+     but zero, return a promise rejected with an <code id=images:indexsizeerror-3><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-canvas-element-4><a href=#the-canvas-element>canvas</a></code> element's bitmap data does not have its <a href=#concept-canvas-origin-clean id=images:concept-canvas-origin-clean>origin-clean</a> flag set, then return a promise rejected with an
      <code id=images:invalidstateerror-6><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-canvas-element-5><a href=#the-canvas-element>canvas</a></code> element's bitmap has either a horizontal dimension or a
-     vertical dimension equal to zero, then throw an <code id=images:invalidstateerror-7><a href=#invalidstateerror>InvalidStateError</a></code> exception and
+     vertical dimension equal to zero, then return a promise rejected with an <code id=images:invalidstateerror-7><a href=#invalidstateerror>InvalidStateError</a></code> exception and
      abort these steps.<li><p>Create a new <code id=images:imagebitmap-16><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-17><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be a copy of the
      <code id=images:the-canvas-element-6><a href=#the-canvas-element>canvas</a></code> element's bitmap data, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-3>cropped to the source
-     rectangle</a>.<li><p>Return a new <code id=images:promise-8><a href=#promise>Promise</a></code>, but continue running these steps <a href=#in-parallel id=images:in-parallel-3>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-3>Fulfill</a> the <code id=images:promise-9><a href=#promise>Promise</a></code>'s
-     associated <a href=#concept-resolver id=images:concept-resolver-3>resolver</a>, with the new
+     rectangle</a>.<li><p>Return a new <code id=images:promise-8><a href=#promise>Promise</a></code>, but continue running these steps <a href=#in-parallel id=images:in-parallel-3>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-3>Resolve</a> the <code id=images:promise-9><a href=#promise>Promise</a></code> with the new
      <code id=images:imagebitmap-18><a href=#imagebitmap>ImageBitmap</a></code> object as the value.</ol>
 
    <dt>If <var>image</var> is a <code id=images:blob-3><a href=#blob>Blob</a></code> object
@@ -66081,23 +66078,22 @@
    <dd>
 
     <ol><li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code id=images:indexsizeerror-4><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:blob-4><a href=#blob>Blob</a></code> object has been disabled through the <code id=images:dom-blob-close><a href=#dom-blob-close>close()</a></code> method, then throw an <code id=images:invalidstateerror-8><a href=#invalidstateerror>InvalidStateError</a></code>
+     but zero, return a promise rejected with an <code id=images:indexsizeerror-4><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:blob-4><a href=#blob>Blob</a></code> object has been disabled through the <code id=images:dom-blob-close><a href=#dom-blob-close>close()</a></code> method, then return a promise rejected with an <code id=images:invalidstateerror-8><a href=#invalidstateerror>InvalidStateError</a></code>
      exception and abort these steps.<li><p>Return a new <code id=images:promise-10><a href=#promise>Promise</a></code>, but continue running these steps <a href=#in-parallel id=images:in-parallel-4>in parallel</a>.<li><p>Read the <code id=images:blob-5><a href=#blob>Blob</a></code> object's data. If an <a href=#file-error-read id=images:file-error-read>error
-     occurs during reading of the object</a>, then <a href=#concept-resolver-reject id=images:concept-resolver-reject>reject</a> the <code id=images:promise-11><a href=#promise>Promise</a></code>'s associated <a href=#concept-resolver id=images:concept-resolver-4>resolver</a>, with null as the value, and abort these
+     occurs during reading of the object</a>, then <a href=#concept-resolver-reject id=images:concept-resolver-reject>reject</a> the <code id=images:promise-11><a href=#promise>Promise</a></code>'s associated <a href=#concept-resolver id=images:concept-resolver>resolver</a>, with null as the value, and abort these
      steps.<li><p>Apply the <a href=https://mimesniff.spec.whatwg.org/#rules-for-sniffing-images-specifically id=images:content-type-sniffing:-image data-x-internal=content-type-sniffing:-image>image sniffing rules</a> to
      determine the file format of the image data, with MIME type of the <code id=images:blob-6><a href=#blob>Blob</a></code> (as given
      by the <code id=images:blob-7><a href=#blob>Blob</a></code> object's <code id=images:dom-blob-type><a href=#dom-blob-type>type</a></code> attribute) giving the
      official type.<li><p>If the image data is not in a supported file format (e.g. it's not actually an image at
      all), or if the image data is corrupted in some fatal way such that the image dimensions cannot
      be obtained, then <a href=#concept-resolver-reject id=images:concept-resolver-reject-2>reject</a> the
-     <code id=images:promise-12><a href=#promise>Promise</a></code>'s associated <a href=#concept-resolver id=images:concept-resolver-5>resolver</a>, with null as
+     <code id=images:promise-12><a href=#promise>Promise</a></code>'s associated <a href=#concept-resolver id=images:concept-resolver-2>resolver</a>, with null as
      the value, and abort these steps.<li><p>Create a new <code id=images:imagebitmap-19><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-20><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be the image data read from the
      <code id=images:blob-8><a href=#blob>Blob</a></code> object, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-4>cropped to the source rectangle</a>. If this is an animated
      image, the <code id=images:imagebitmap-21><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data must only be taken from the default
      image of the animation (the one that the format defines is to be used when animation is not
      supported or is disabled), or, if there is no such image, the first frame of the
-     animation.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-4>Fulfill</a> the <code id=images:promise-13><a href=#promise>Promise</a></code>'s
-     associated <a href=#concept-resolver id=images:concept-resolver-6>resolver</a>, with the new
+     animation.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-4>Resolve</a> the <code id=images:promise-13><a href=#promise>Promise</a></code> with the new
      <code id=images:imagebitmap-22><a href=#imagebitmap>ImageBitmap</a></code> object as the value.</ol>
 
    <dt>If <var>image</var> is an <code id=images:imagedata-4><a href=#imagedata>ImageData</a></code> object
@@ -66105,11 +66101,10 @@
    <dd>
 
     <ol><li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code id=images:indexsizeerror-5><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <var>image</var> object's <code id=images:dom-imagedata-data-2><a href=#dom-imagedata-data>data</a></code>
-     attribute has been <a href=#concept-transferable-neutered id=images:concept-transferable-neutered-2>neutered</a>, throw an
+     but zero, return a promise rejected with an <code id=images:indexsizeerror-5><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <var>image</var> object's <code id=images:dom-imagedata-data-2><a href=#dom-imagedata-data>data</a></code>
+     attribute has been <a href=#concept-transferable-neutered id=images:concept-transferable-neutered-2>neutered</a>, return a promise rejected with an
      <code id=images:invalidstateerror-9><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.<li><p>Create a new <code id=images:imagebitmap-23><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-24><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be the image data given by the
-     <code id=images:imagedata-5><a href=#imagedata>ImageData</a></code> object, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-5>cropped to the source rectangle</a>.<li><p>Return a new <code id=images:promise-14><a href=#promise>Promise</a></code>, but continue running these steps <a href=#in-parallel id=images:in-parallel-5>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-5>Fulfill</a> the <code id=images:promise-15><a href=#promise>Promise</a></code>'s
-     associated <a href=#concept-resolver id=images:concept-resolver-7>resolver</a>, with the new
+     <code id=images:imagedata-5><a href=#imagedata>ImageData</a></code> object, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-5>cropped to the source rectangle</a>.<li><p>Return a new <code id=images:promise-14><a href=#promise>Promise</a></code>, but continue running these steps <a href=#in-parallel id=images:in-parallel-5>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-5>Resolve</a> the <code id=images:promise-15><a href=#promise>Promise</a></code> with the new
      <code id=images:imagebitmap-25><a href=#imagebitmap>ImageBitmap</a></code> object as the value.</ol>
 
    <dt>If <var>image</var> is a <code id=images:canvasrenderingcontext2d-4><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object
@@ -66117,15 +66112,14 @@
    <dd>
 
     <ol><li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code id=images:indexsizeerror-6><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:canvasrenderingcontext2d-5><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's <a href=#scratch-bitmap id=images:scratch-bitmap>scratch bitmap</a> does
-     not have its <a href=#concept-canvas-origin-clean id=images:concept-canvas-origin-clean-2>origin-clean</a> flag set, then throw
+     but zero, return a promise rejected with an <code id=images:indexsizeerror-6><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:canvasrenderingcontext2d-5><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's <a href=#scratch-bitmap id=images:scratch-bitmap>scratch bitmap</a> does
+     not have its <a href=#concept-canvas-origin-clean id=images:concept-canvas-origin-clean-2>origin-clean</a> flag set, then return a promise rejected with
      an <code id=images:invalidstateerror-10><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.<li><p>If the <code id=images:canvasrenderingcontext2d-6><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's <a href=#scratch-bitmap id=images:scratch-bitmap-2>scratch bitmap</a> has
-     either a horizontal dimension or a vertical dimension equal to zero, then throw an
+     either a horizontal dimension or a vertical dimension equal to zero, then return a promise rejected with an
      <code id=images:invalidstateerror-11><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.<li><p>Create a new <code id=images:imagebitmap-26><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-27><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be a copy of the
      <code id=images:canvasrenderingcontext2d-7><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's <a href=#scratch-bitmap id=images:scratch-bitmap-3>scratch bitmap</a>, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-6>cropped to
      the source rectangle</a>.<li><p>Return a new <code id=images:promise-16><a href=#promise>Promise</a></code>, but continue running these steps
-     <a href=#in-parallel id=images:in-parallel-6>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-6>Fulfill</a> the <code id=images:promise-17><a href=#promise>Promise</a></code>'s
-     associated <a href=#concept-resolver id=images:concept-resolver-8>resolver</a>, with the new
+     <a href=#in-parallel id=images:in-parallel-6>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-6>Resolve</a> the <code id=images:promise-17><a href=#promise>Promise</a></code> with the new
      <code id=images:imagebitmap-28><a href=#imagebitmap>ImageBitmap</a></code> object as the value.</ol>
 
    <dt>If <var>image</var> is an <code id=images:imagebitmap-29><a href=#imagebitmap>ImageBitmap</a></code> object
@@ -66133,10 +66127,9 @@
    <dd>
 
     <ol><li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code id=images:indexsizeerror-7><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>Create a new <code id=images:imagebitmap-30><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-31><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be a copy of the <var>image</var> argument's bitmap data, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-7>cropped to the source
+     but zero, return a promise rejected with an <code id=images:indexsizeerror-7><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>Create a new <code id=images:imagebitmap-30><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-31><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be a copy of the <var>image</var> argument's bitmap data, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-7>cropped to the source
      rectangle</a>.<li><p>Return a new <code id=images:promise-18><a href=#promise>Promise</a></code>, but continue running these steps
-     <a href=#in-parallel id=images:in-parallel-7>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-7>Fulfill</a> the <code id=images:promise-19><a href=#promise>Promise</a></code>'s
-     associated <a href=#concept-resolver id=images:concept-resolver-9>resolver</a>, with the new
+     <a href=#in-parallel id=images:in-parallel-7>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-7>Resolve</a> the <code id=images:promise-19><a href=#promise>Promise</a></code> with the new
      <code id=images:imagebitmap-32><a href=#imagebitmap>ImageBitmap</a></code> object as the value.</ol>
 
    </dl>
@@ -66178,7 +66171,7 @@
   var resolver;
   var promise = new Promise(function (arg) { resolver = arg });
   image.onload = function () {
-    resolver.resolve(Promise.every(
+    resolver(Promise.all(
       createImageBitmap(image,  0,  0, 40, 40).then(function (image) { sprites.woman = image }),
       createImageBitmap(image, 40,  0, 40, 40).then(function (image) { sprites.man   = image }),
       createImageBitmap(image, 80,  0, 40, 40).then(function (image) { sprites.tree  = image }),

Modified: index
===================================================================
--- index	2014-09-19 23:39:54 UTC (rev 8803)
+++ index	2014-09-22 18:28:19 UTC (rev 8804)
@@ -291,7 +291,7 @@
   </style><link rel=stylesheet href=status.css><body onload=init()>
   <header id=head class="head with-buttons">
    <p><a href=https://whatwg.org/ class=logo><img src=//whatwg.org/images/logo width=101 alt=WHATWG height=101></a></p>
-   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>19 September 2014</span></h2></hgroup>
+   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>22 September 2014</span></h2></hgroup>
    
    <nav>
     <div>
@@ -17360,7 +17360,7 @@
     <p>Authors might want to show different image content depending on the rendered size of the image.
     This is usually referred to as <dfn id=art-direction>art direction</dfn>.</p>
 
-    <p class=example>When a Web page is viewed on a screen with a large physical size (assuming a maximized browser window),
+    <p class=example>When a Web page is viewed on a screen with a large physical size (assuming a maximised browser window),
     the author might wish to include some less relevant parts surrounding the critical part of the image.
     When the same Web page is viewed on a screen with a small physical size,
     the author might wish to show only the critical part of the image.</p>
@@ -17371,7 +17371,7 @@
     This is usually referred to as <dfn id=viewport-based-selection>viewport-based selection</dfn>.</p>
 
     <p class=example>A Web page might have a banner at the top that always spans the entire viewport width.
-    In this case, the rendered size of the image depends on the physical size of the screen (assuming a maximized browser window).</p>
+    In this case, the rendered size of the image depends on the physical size of the screen (assuming a maximised browser window).</p>
 
     <p class=example>Another Web page might have images in columns,
     with a single column for screens with a small physical size,
@@ -17390,7 +17390,7 @@
     with the latter two having better compression abilities compared to JPEG.
     Since different user agents can support different image formats,
     with some formats offering better compression ratios,
-    the author would like to serve the better formats to user agenst that support them,
+    the author would like to serve the better formats to user agents that support them,
     while providing JPEG fallback for user agents that don't.</p>
 
    </ul>
@@ -17410,7 +17410,7 @@
    and instead instantiates a single download from script,
    that avoids the double download problem above
    but then no image will be downloaded at all for users with scripting disabled
-   and the aggressive image downloading optimization will also be disabled.</ul>
+   and the aggressive image downloading optimisation will also be disabled.</ul>
 
   <p>With this in mind, this specification introduces a number of features to address the above problems in a declarative manner.</p>
 
@@ -17457,7 +17457,7 @@
     <p>The <code id=introduction-3:the-picture-element><a href=#the-picture-element>picture</a></code> element and the <code id=introduction-3:the-source-element-when-used-with-the-picture-element><a href=#the-source-element-when-used-with-the-picture-element>source</a></code> element,
     together with the <code id=introduction-3:attr-picture-source-media><a href=#attr-picture-source-media>media</a></code> attribute,
     can be used, to provide multiple images that vary the image content
-    (for intance the smaller image might be a cropped version of the bigger image).</p>
+    (for instance the smaller image might be a cropped version of the bigger image).</p>
 
     <div class=example>
 
@@ -18080,7 +18080,7 @@
      and then <a href=#fire-a-simple-event id=the-img-element:fire-a-simple-event>fire a simple event</a> named <code id=the-img-element:event-load><a href=#event-load>load</a></code> at the <code id=the-img-element:the-img-element-21><a href=#the-img-element>img</a></code> element,
      and abort these steps.</ol>
 
-   <li><p>Asynchronously <a href=#await-a-stable-state id=the-img-element:await-a-stable-state>await a stable state</a>, allowing the <a href=#concept-task id=the-img-element:concept-task>task</a> that invoked this algorithm to continue.
+   <li><p><a href=#await-a-stable-state id=the-img-element:await-a-stable-state>Await a stable state</a>, allowing the <a href=#concept-task id=the-img-element:concept-task>task</a> that invoked this algorithm to continue.
    The <a href=#synchronous-section id=the-img-element:synchronous-section>synchronous
    section</a> consists of all the remaining steps of this algorithm until the algorithm says the
    <a href=#synchronous-section id=the-img-element:synchronous-section-2>synchronous section</a> has ended. (Steps in <a href=#synchronous-section id=the-img-element:synchronous-section-3>synchronous sections</a> are marked with ⌛.)<li>
@@ -18182,7 +18182,7 @@
     if <var>image request</var> is the <a href=#current-request id=the-img-element:current-request-17>current request</a>,
     must <a href=#fire-a-progress-event id=the-img-element:fire-a-progress-event-2>fire a progress event</a> named <code id=the-img-element:event-progress><a href=#event-progress>progress</a></code> at the <code id=the-img-element:the-img-element-28><a href=#the-img-element>img</a></code> element.</p>
 
-   <li><p>End the <a href=#synchronous-section id=the-img-element:synchronous-section-4>synchronous section</a>, continuing the remaining steps asynchronously,
+   <li><p>End the <a href=#synchronous-section id=the-img-element:synchronous-section-4>synchronous section</a>, continuing the remaining steps <a href=#in-parallel id=the-img-element:in-parallel>in parallel</a>,
    but without missing any data from the <a href=#fetch id=the-img-element:fetch-5>fetch</a> algorithm.<li>
 
     <p>As soon as possible, jump to the first applicable entry from the following list:</p>
@@ -18346,7 +18346,7 @@
   files whose root element is an HTML element). User agents must not run executable code (e.g.
   scripts) embedded in the image resource. User agents must only display the first page of a
   multipage resource (e.g. a PDF file). User agents must not allow the resource to act in an
-  interactive fashion, but should honor any animation in the resource.</p>
+  interactive fashion, but should honour any animation in the resource.</p>
 
   <p>This specification does not specify which image types are to be supported.</p>
 
@@ -18401,7 +18401,7 @@
        and <var>source set</var> does not contain an
        <a href=#image-source id=the-img-element:image-source-3>image source</a> with a density descriptor value of 1,
        and no <a href=#image-source id=the-img-element:image-source-4>image source</a> with a width descriptor,
-       append <var>child</var>'s <code id=the-img-element:attr-img-src-11><a href=#attr-img-src>src</a></code> attribute value to <var>source set</var>.<li><p><a href=#normalize-the-source-densities id=the-img-element:normalize-the-source-densities>Normalize the source densities</a> of <var>source set</var>.<li><p>Let <var>el</var>'s <a href=#source-set id=the-img-element:source-set-8>source set</a> be <var>source set</var>.<li><p>Abort this algorithm.</ol>
+       append <var>child</var>'s <code id=the-img-element:attr-img-src-11><a href=#attr-img-src>src</a></code> attribute value to <var>source set</var>.<li><p><a href=#normalise-the-source-densities id=the-img-element:normalise-the-source-densities>Normalise the source densities</a> of <var>source set</var>.<li><p>Let <var>el</var>'s <a href=#source-set id=the-img-element:source-set-8>source set</a> be <var>source set</var>.<li><p>Abort this algorithm.</ol>
 
      <li><p>If <var>child</var> is not a <code id=the-img-element:the-source-element-when-used-with-the-picture-element-7><a href=#the-source-element-when-used-with-the-picture-element>source</a></code> element,
      continue to the next child.
@@ -18413,7 +18413,7 @@
      continue to the next child.<li><p><a href=#parse-a-sizes-attribute id=the-img-element:parse-a-sizes-attribute-2>Parse <var>child</var>'s sizes attribute</a>
      and let <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-5>source size</a> be the returned value.<li><p>If <var>child</var> has a <code id=the-img-element:attr-picture-source-type-2><a href=#attr-picture-source-type>type</a></code> attribute,
      and its value is an unknown or unsupported <a href=#mime-type id=the-img-element:mime-type>MIME type</a>,
-     continue to the next child.<li><p><a href=#normalize-the-source-densities id=the-img-element:normalize-the-source-densities-2>Normalize the source densities</a> of <var>source set</var>.<li><p>Let <var>el</var>'s <a href=#source-set id=the-img-element:source-set-10>source set</a> be <var>source set</var>.<li><p>Abort this algorithm.</ol>
+     continue to the next child.<li><p><a href=#normalise-the-source-densities id=the-img-element:normalise-the-source-densities-2>Normalise the source densities</a> of <var>source set</var>.<li><p>Let <var>el</var>'s <a href=#source-set id=the-img-element:source-set-10>source set</a> be <var>source set</var>.<li><p>Abort this algorithm.</ol>
 
    </ol>
 
@@ -18441,7 +18441,7 @@
     if this removed more than one character, that is a <a href=#concept-microsyntax-parse-error id=the-img-element:concept-microsyntax-parse-error-2>parse error</a>.
     Otherwise, <a href=#skip-whitespace id=the-img-element:skip-whitespace>skip whitespace</a> and then follow these substeps:</p>
 
-    <ol><li><p><i>Descriptor tokenizer</i>: Let <var>current descriptor</var> be the empty string.<li><p>Let <var>state</var> be <i>in descriptor</i>.<li>
+    <ol><li><p><i>Descriptor tokeniser</i>: Let <var>current descriptor</var> be the empty string.<li><p>Let <var>state</var> be <i>in descriptor</i>.<li>
 
       <p>Let <var>c</var> be the character at <var>position</var>.
       Do the following depending on the value of <var>state</var>.
@@ -18458,7 +18458,7 @@
          Set <var>state</var> to <i>after descriptor</i>.<dt>U+002C COMMA (,)<dd><p>Advance <var>position</var> to the next character in <var>input</var>.
          If <var>current descriptor</var> is not empty,
          append <var>current descriptor</var> to <var>descriptors</var>.
-         Jump to the step labeled <i>descriptor parser</i>.<dt>U+0028 LEFT PARANTHESIS (()<dd><p>Append <var>c</var> to <var>current descriptor</var>.
+         Jump to the step labeled <i>descriptor parser</i>.<dt>U+0028 LEFT PARENTHESIS (()<dd><p>Append <var>c</var> to <var>current descriptor</var>.
          Set <var>state</var> to <i>in parens</i>.<dt>EOF<dd><p>If <var>current descriptor</var> is not empty,
          append <var>current descriptor</var> to <var>descriptors</var>.
          Jump to the step labeled <i>descriptor parser</i>.<dt>Anything else<dd><p>Append <var>c</var> to <var>current descriptor</var>.</dl>
@@ -18589,9 +18589,9 @@
   <p>An <a href=#image-source id=the-img-element:image-source-8>image source</a> can have a density descriptor,
   a width descriptor,
   or no descriptor at all accompanying its URL.
-  Normalizing a <a href=#source-set id=the-img-element:source-set-12>source set</a> gives every <a href=#image-source id=the-img-element:image-source-9>image source</a> a density descriptor.</p>
+  Normalising a <a href=#source-set id=the-img-element:source-set-12>source set</a> gives every <a href=#image-source id=the-img-element:image-source-9>image source</a> a density descriptor.</p>
 
-  <p>When asked to <dfn id=normalize-the-source-densities>normalize the source densities</dfn> of a <a href=#source-set id=the-img-element:source-set-13>source set</a> <var>source set</var>,
+  <p>When asked to <dfn id=normalise-the-source-densities>normalise the source densities</dfn> of a <a href=#source-set id=the-img-element:source-set-13>source set</a> <var>source set</var>,
   the user agent must do the following:</p>
 
   <ol><li><p>Let <var>source size</var> be <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-6>source size</a>.<li>
@@ -18620,7 +18620,7 @@
   more, the user agent might want to wait until the user has returned to the page before determining
   which image to use, in case the environment changes again in the meantime.)</p>
 
-  <ol><li><p>Asynchronously <a href=#await-a-stable-state id=the-img-element:await-a-stable-state-2>await a stable state</a>. The <a href=#synchronous-section id=the-img-element:synchronous-section-5>synchronous section</a>
+  <ol><li><p><a href=#await-a-stable-state id=the-img-element:await-a-stable-state-2>Await a stable state</a>. The <a href=#synchronous-section id=the-img-element:synchronous-section-5>synchronous section</a>
    consists of all the remaining steps of this algorithm until the algorithm says the
    <a href=#synchronous-section id=the-img-element:synchronous-section-6>synchronous section</a> has ended. (Steps in <a href=#synchronous-section id=the-img-element:synchronous-section-7>synchronous sections</a> are marked with ⌛.)<li><p>⌛ If the <code id=the-img-element:the-img-element-56><a href=#the-img-element>img</a></code> element does not have a <code id=the-img-element:attr-img-srcset-10><a href=#attr-img-srcset>srcset</a></code> attribute specified and it either has no parent
    or it is not a <code id=the-img-element:the-picture-element-11><a href=#the-picture-element>picture</a></code> element, is not in the <a href=#img-all id=the-img-element:img-all-6>completely available</a> state, has image data whose resource type is
@@ -18633,7 +18633,7 @@
    steps.</p>
 
    <li><p>End the <a href=#synchronous-section id=the-img-element:synchronous-section-8>synchronous section</a>, continuing the remaining steps
-   asynchronously.<li>
+   <a href=#in-parallel id=the-img-element:in-parallel-2>in parallel</a>.<li>
 
     <p>Do a <a href=#potentially-cors-enabled-fetch id=the-img-element:potentially-cors-enabled-fetch-2>potentially CORS-enabled fetch</a> of the resulting <a href=#absolute-url id=the-img-element:absolute-url-3>absolute
     URL</a>, with the <i>mode</i> being <var>CORS mode</var>, the <i>origin</i>
@@ -18741,7 +18741,7 @@
   a text terminal with no graphics capabilities. Such heuristics could include, for instance,
   optical character recognition (OCR) of text found within the image.</p>
 
-  <p class=warning>While user agents are encouraged to repair cases of missing <code id=the-img-element:attr-img-alt-15><a href=#attr-img-alt>alt</a></code> attributes, authors must not rely on such behavior. <a href=#alt>Requirements for providing text to act as an alternative for images</a> are described
+  <p class=warning>While user agents are encouraged to repair cases of missing <code id=the-img-element:attr-img-alt-15><a href=#attr-img-alt>alt</a></code> attributes, authors must not rely on such behaviour. <a href=#alt>Requirements for providing text to act as an alternative for images</a> are described
   in detail below.</p>
 
   <p>The <em>contents</em> of <code id=the-img-element:the-img-element-66><a href=#the-img-element>img</a></code> elements, if any, are ignored for the purposes of
@@ -18769,7 +18769,7 @@
 
   <p class=note>The <code id=the-img-element:attr-hyperlink-usemap-4><a href=#attr-hyperlink-usemap>usemap</a></code> and
   <code id=the-img-element:attr-img-ismap-3><a href=#attr-img-ismap>ismap</a></code> attributes
-  can result in confusing behavior when used together with
+  can result in confusing behaviour when used together with
   <code id=the-img-element:the-source-element-when-used-with-the-picture-element-11><a href=#the-source-element-when-used-with-the-picture-element>source</a></code> elements with the
   <code id=the-img-element:attr-picture-source-media-3><a href=#attr-picture-source-media>media</a></code> attribute specified
   in a <code id=the-img-element:the-picture-element-12><a href=#the-picture-element>picture</a></code> element.</p>
@@ -18938,7 +18938,7 @@
    <pre><article>
  <h1>My cats</h1>
  <h2>Fluffy</h2>
- <p>Fluffy is my favorite.</p>
+ <p>Fluffy is my favourite.</p>
  <img src="fluffy.jpg" alt="She likes playing with a ball of yarn.">
  <p>She's just too cute.</p>
  <h2>Miles</h2>
@@ -65965,8 +65965,8 @@
 
 [NoInterfaceObject, Exposed=(Window,Worker)]
 interface <dfn id=imagebitmapfactories>ImageBitmapFactories</dfn> {
-  <a href=#promise id=images:promise>Promise</a> <a href=#dom-createimagebitmap id=images:dom-createimagebitmap>createImageBitmap</a>(<a href=#imagebitmapsource id=images:imagebitmapsource>ImageBitmapSource</a> image);
-  <a href=#promise id=images:promise-2>Promise</a> <a href=#dom-createimagebitmap id=images:dom-createimagebitmap-2>createImageBitmap</a>(<a href=#imagebitmapsource id=images:imagebitmapsource-2>ImageBitmapSource</a> image, long sx, long sy, long sw, long sh);
+  <a href=#promise id=images:promise>Promise</a><ImageBitmap> <a href=#dom-createimagebitmap id=images:dom-createimagebitmap>createImageBitmap</a>(<a href=#imagebitmapsource id=images:imagebitmapsource>ImageBitmapSource</a> image);
+  <a href=#promise id=images:promise-2>Promise</a><ImageBitmap> <a href=#dom-createimagebitmap id=images:dom-createimagebitmap-2>createImageBitmap</a>(<a href=#imagebitmapsource id=images:imagebitmapsource-2>ImageBitmapSource</a> image, long sx, long sy, long sw, long sh);
 };
 <a href=#window id=images:window>Window</a> implements <a href=#imagebitmapfactories id=images:imagebitmapfactories>ImageBitmapFactories</a>;
 <a href=#workerglobalscope id=images:workerglobalscope>WorkerGlobalScope</a> implements <a href=#imagebitmapfactories id=images:imagebitmapfactories-2>ImageBitmapFactories</a>;</pre>
@@ -65994,10 +65994,10 @@
     any pixels missing in the original replaced by transparent black. These coordinates are in the
     source image's pixel coordinate space, <em>not</em> in CSS pixels.</p>
 
-    <p>Throws an <code id=images:invalidstateerror><a href=#invalidstateerror>InvalidStateError</a></code> exception if the source image is not in a valid
+    <p>Rejects the promise with an <code id=images:invalidstateerror><a href=#invalidstateerror>InvalidStateError</a></code> exception if the source image is not in a valid
     state (e.g. an <code id=images:the-img-element-2><a href=#the-img-element>img</a></code> element that hasn't finished loading, or a
     <code id=images:canvasrenderingcontext2d-3><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object whose bitmap data has zero length along one or both
-    dimensions, or an <code id=images:imagedata-3><a href=#imagedata>ImageData</a></code> object whose data is <code id=images:dom-imagedata-data><a href=#dom-imagedata-data>data</a></code> attribute has been <a href=#concept-transferable-neutered id=images:concept-transferable-neutered>neutered</a>). Throws a <code id=images:securityerror><a href=#securityerror>SecurityError</a></code>
+    dimensions, or an <code id=images:imagedata-3><a href=#imagedata>ImageData</a></code> object whose data is <code id=images:dom-imagedata-data><a href=#dom-imagedata-data>data</a></code> attribute has been <a href=#concept-transferable-neutered id=images:concept-transferable-neutered>neutered</a>). Rejects the promise with a <code id=images:securityerror><a href=#securityerror>SecurityError</a></code>
     exception if the script is not allowed to access the image data of the source image (e.g. a
     <code id=images:the-video-element-2><a href=#the-video-element>video</a></code> that is <a href=#cors-cross-origin id=images:cors-cross-origin>CORS-cross-origin</a>, or a <code id=images:the-canvas-element-2><a href=#the-canvas-element>canvas</a></code> being drawn
     on by a script in a worker from another <a href=#origin-2 id=images:origin-2>origin</a>).</p>
@@ -66028,20 +66028,19 @@
    <dd>
 
     <ol><li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code id=images:indexsizeerror><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-img-element-4><a href=#the-img-element>img</a></code> element is not <a href=#img-all id=images:img-all>completely
-     available</a>, then throw an <code id=images:invalidstateerror-2><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
+     but zero, return a promise rejected with an <code id=images:indexsizeerror><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-img-element-4><a href=#the-img-element>img</a></code> element is not <a href=#img-all id=images:img-all>completely
+     available</a>, then return a promise rejected with an <code id=images:invalidstateerror-2><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
      steps.<li><p>If the <a href=#origin-2 id=images:origin-2-2>origin</a> of the <code id=images:the-img-element-5><a href=#the-img-element>img</a></code> element's image is not the <a href=#same-origin id=images:same-origin>same
      origin</a> as the <a href=#origin-2 id=images:origin-2-3>origin</a> specified by the <a href=#entry-settings-object id=images:entry-settings-object>entry settings object</a>,
-     then throw a <code id=images:securityerror-2><a href=#securityerror>SecurityError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-img-element-6><a href=#the-img-element>img</a></code> element's media data is not a bitmap (e.g. it's a vector
-     graphic), then throw an <code id=images:invalidstateerror-3><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
+     then return a promise rejected with a <code id=images:securityerror-2><a href=#securityerror>SecurityError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-img-element-6><a href=#the-img-element>img</a></code> element's media data is not a bitmap (e.g. it's a vector
+     graphic), then return a promise rejected with an <code id=images:invalidstateerror-3><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
      steps.<li><p>Create a new <code id=images:imagebitmap-9><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-10><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be a copy of the <code id=images:the-img-element-7><a href=#the-img-element>img</a></code>
      element's media data, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle>cropped to the source rectangle</a>. If this is an animated
      image, the <code id=images:imagebitmap-11><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data must only be taken from the default
      image of the animation (the one that the format defines is to be used when animation is not
      supported or is disabled), or, if there is no such image, the first frame of the
      animation.<li><p>Return a new <code id=images:promise-4><a href=#promise>Promise</a></code>, but continue running these steps
-     <a href=#in-parallel id=images:in-parallel>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill>Fulfill</a> the <code id=images:promise-5><a href=#promise>Promise</a></code>'s
-     associated <a href=#concept-resolver id=images:concept-resolver>resolver</a>, with the new
+     <a href=#in-parallel id=images:in-parallel>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill>Resolve</a> the <code id=images:promise-5><a href=#promise>Promise</a></code> with the new
      <code id=images:imagebitmap-12><a href=#imagebitmap>ImageBitmap</a></code> object as the value.</ol>
 
    <dt>If <var>image</var> is a <code id=images:the-video-element-3><a href=#the-video-element>video</a></code> element
@@ -66049,17 +66048,16 @@
    <dd>
 
     <ol><li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code id=images:indexsizeerror-2><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-video-element-4><a href=#the-video-element>video</a></code> element's <code id=images:dom-media-networkstate><a href=#dom-media-networkstate>networkState</a></code> attribute is <code id=images:dom-media-network_empty><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>, then throw an
+     but zero, return a promise rejected with an <code id=images:indexsizeerror-2><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-video-element-4><a href=#the-video-element>video</a></code> element's <code id=images:dom-media-networkstate><a href=#dom-media-networkstate>networkState</a></code> attribute is <code id=images:dom-media-network_empty><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>, then return a promise rejected with an
      <code id=images:invalidstateerror-4><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.<li><p>If the <a href=#origin-2 id=images:origin-2-4>origin</a> of the <code id=images:the-video-element-5><a href=#the-video-element>video</a></code> element is not the <a href=#same-origin id=images:same-origin-2>same
      origin</a> as the <a href=#origin-2 id=images:origin-2-5>origin</a> specified by the <a href=#entry-settings-object id=images:entry-settings-object-2>entry settings object</a>,
-     then throw a <code id=images:securityerror-3><a href=#securityerror>SecurityError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-video-element-6><a href=#the-video-element>video</a></code> element's <code id=images:dom-media-readystate><a href=#dom-media-readystate>readyState</a></code> attribute is either <code id=images:dom-media-have_nothing><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code> or <code id=images:dom-media-have_metadata><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>, then throw an
+     then return a promise rejected with a <code id=images:securityerror-3><a href=#securityerror>SecurityError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-video-element-6><a href=#the-video-element>video</a></code> element's <code id=images:dom-media-readystate><a href=#dom-media-readystate>readyState</a></code> attribute is either <code id=images:dom-media-have_nothing><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code> or <code id=images:dom-media-have_metadata><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>, then return a promise rejected with an
      <code id=images:invalidstateerror-5><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.<li><p>Create a new <code id=images:imagebitmap-13><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-14><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be a copy of the frame at the
      <a href=#current-playback-position id=images:current-playback-position>current playback position</a>, at the <a href=#media-resource id=images:media-resource>media resource</a>'s <a href=#concept-video-intrinsic-width id=images:concept-video-intrinsic-width>intrinsic width</a> and <a href=#concept-video-intrinsic-height id=images:concept-video-intrinsic-height>intrinsic height</a> (i.e. after any aspect-ratio
      correction has been applied), <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-2>cropped to the source rectangle</a>.</p>
 
      <li><p>Return a new <code id=images:promise-6><a href=#promise>Promise</a></code>, but continue running these steps
-     <a href=#in-parallel id=images:in-parallel-2>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-2>Fulfill</a> the <code id=images:promise-7><a href=#promise>Promise</a></code>'s
-     associated <a href=#concept-resolver id=images:concept-resolver-2>resolver</a>, with the new
+     <a href=#in-parallel id=images:in-parallel-2>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-2>Resolve</a> the <code id=images:promise-7><a href=#promise>Promise</a></code> with the new
      <code id=images:imagebitmap-15><a href=#imagebitmap>ImageBitmap</a></code> object as the value.</ol>
 
    <dt>If <var>image</var> is a <code id=images:the-canvas-element-3><a href=#the-canvas-element>canvas</a></code> element
@@ -66067,13 +66065,12 @@
    <dd>
 
     <ol><li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code id=images:indexsizeerror-3><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-canvas-element-4><a href=#the-canvas-element>canvas</a></code> element's bitmap data does not have its <a href=#concept-canvas-origin-clean id=images:concept-canvas-origin-clean>origin-clean</a> flag set, then throw an
+     but zero, return a promise rejected with an <code id=images:indexsizeerror-3><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-canvas-element-4><a href=#the-canvas-element>canvas</a></code> element's bitmap data does not have its <a href=#concept-canvas-origin-clean id=images:concept-canvas-origin-clean>origin-clean</a> flag set, then return a promise rejected with an
      <code id=images:invalidstateerror-6><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.<li><p>If the <code id=images:the-canvas-element-5><a href=#the-canvas-element>canvas</a></code> element's bitmap has either a horizontal dimension or a
-     vertical dimension equal to zero, then throw an <code id=images:invalidstateerror-7><a href=#invalidstateerror>InvalidStateError</a></code> exception and
+     vertical dimension equal to zero, then return a promise rejected with an <code id=images:invalidstateerror-7><a href=#invalidstateerror>InvalidStateError</a></code> exception and
      abort these steps.<li><p>Create a new <code id=images:imagebitmap-16><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-17><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be a copy of the
      <code id=images:the-canvas-element-6><a href=#the-canvas-element>canvas</a></code> element's bitmap data, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-3>cropped to the source
-     rectangle</a>.<li><p>Return a new <code id=images:promise-8><a href=#promise>Promise</a></code>, but continue running these steps <a href=#in-parallel id=images:in-parallel-3>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-3>Fulfill</a> the <code id=images:promise-9><a href=#promise>Promise</a></code>'s
-     associated <a href=#concept-resolver id=images:concept-resolver-3>resolver</a>, with the new
+     rectangle</a>.<li><p>Return a new <code id=images:promise-8><a href=#promise>Promise</a></code>, but continue running these steps <a href=#in-parallel id=images:in-parallel-3>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-3>Resolve</a> the <code id=images:promise-9><a href=#promise>Promise</a></code> with the new
      <code id=images:imagebitmap-18><a href=#imagebitmap>ImageBitmap</a></code> object as the value.</ol>
 
    <dt>If <var>image</var> is a <code id=images:blob-3><a href=#blob>Blob</a></code> object
@@ -66081,23 +66078,22 @@
    <dd>
 
     <ol><li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code id=images:indexsizeerror-4><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:blob-4><a href=#blob>Blob</a></code> object has been disabled through the <code id=images:dom-blob-close><a href=#dom-blob-close>close()</a></code> method, then throw an <code id=images:invalidstateerror-8><a href=#invalidstateerror>InvalidStateError</a></code>
+     but zero, return a promise rejected with an <code id=images:indexsizeerror-4><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:blob-4><a href=#blob>Blob</a></code> object has been disabled through the <code id=images:dom-blob-close><a href=#dom-blob-close>close()</a></code> method, then return a promise rejected with an <code id=images:invalidstateerror-8><a href=#invalidstateerror>InvalidStateError</a></code>
      exception and abort these steps.<li><p>Return a new <code id=images:promise-10><a href=#promise>Promise</a></code>, but continue running these steps <a href=#in-parallel id=images:in-parallel-4>in parallel</a>.<li><p>Read the <code id=images:blob-5><a href=#blob>Blob</a></code> object's data. If an <a href=#file-error-read id=images:file-error-read>error
-     occurs during reading of the object</a>, then <a href=#concept-resolver-reject id=images:concept-resolver-reject>reject</a> the <code id=images:promise-11><a href=#promise>Promise</a></code>'s associated <a href=#concept-resolver id=images:concept-resolver-4>resolver</a>, with null as the value, and abort these
+     occurs during reading of the object</a>, then <a href=#concept-resolver-reject id=images:concept-resolver-reject>reject</a> the <code id=images:promise-11><a href=#promise>Promise</a></code>'s associated <a href=#concept-resolver id=images:concept-resolver>resolver</a>, with null as the value, and abort these
      steps.<li><p>Apply the <a href=https://mimesniff.spec.whatwg.org/#rules-for-sniffing-images-specifically id=images:content-type-sniffing:-image data-x-internal=content-type-sniffing:-image>image sniffing rules</a> to
      determine the file format of the image data, with MIME type of the <code id=images:blob-6><a href=#blob>Blob</a></code> (as given
      by the <code id=images:blob-7><a href=#blob>Blob</a></code> object's <code id=images:dom-blob-type><a href=#dom-blob-type>type</a></code> attribute) giving the
      official type.<li><p>If the image data is not in a supported file format (e.g. it's not actually an image at
      all), or if the image data is corrupted in some fatal way such that the image dimensions cannot
      be obtained, then <a href=#concept-resolver-reject id=images:concept-resolver-reject-2>reject</a> the
-     <code id=images:promise-12><a href=#promise>Promise</a></code>'s associated <a href=#concept-resolver id=images:concept-resolver-5>resolver</a>, with null as
+     <code id=images:promise-12><a href=#promise>Promise</a></code>'s associated <a href=#concept-resolver id=images:concept-resolver-2>resolver</a>, with null as
      the value, and abort these steps.<li><p>Create a new <code id=images:imagebitmap-19><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-20><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be the image data read from the
      <code id=images:blob-8><a href=#blob>Blob</a></code> object, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-4>cropped to the source rectangle</a>. If this is an animated
      image, the <code id=images:imagebitmap-21><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data must only be taken from the default
      image of the animation (the one that the format defines is to be used when animation is not
      supported or is disabled), or, if there is no such image, the first frame of the
-     animation.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-4>Fulfill</a> the <code id=images:promise-13><a href=#promise>Promise</a></code>'s
-     associated <a href=#concept-resolver id=images:concept-resolver-6>resolver</a>, with the new
+     animation.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-4>Resolve</a> the <code id=images:promise-13><a href=#promise>Promise</a></code> with the new
      <code id=images:imagebitmap-22><a href=#imagebitmap>ImageBitmap</a></code> object as the value.</ol>
 
    <dt>If <var>image</var> is an <code id=images:imagedata-4><a href=#imagedata>ImageData</a></code> object
@@ -66105,11 +66101,10 @@
    <dd>
 
     <ol><li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code id=images:indexsizeerror-5><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <var>image</var> object's <code id=images:dom-imagedata-data-2><a href=#dom-imagedata-data>data</a></code>
-     attribute has been <a href=#concept-transferable-neutered id=images:concept-transferable-neutered-2>neutered</a>, throw an
+     but zero, return a promise rejected with an <code id=images:indexsizeerror-5><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <var>image</var> object's <code id=images:dom-imagedata-data-2><a href=#dom-imagedata-data>data</a></code>
+     attribute has been <a href=#concept-transferable-neutered id=images:concept-transferable-neutered-2>neutered</a>, return a promise rejected with an
      <code id=images:invalidstateerror-9><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.<li><p>Create a new <code id=images:imagebitmap-23><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-24><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be the image data given by the
-     <code id=images:imagedata-5><a href=#imagedata>ImageData</a></code> object, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-5>cropped to the source rectangle</a>.<li><p>Return a new <code id=images:promise-14><a href=#promise>Promise</a></code>, but continue running these steps <a href=#in-parallel id=images:in-parallel-5>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-5>Fulfill</a> the <code id=images:promise-15><a href=#promise>Promise</a></code>'s
-     associated <a href=#concept-resolver id=images:concept-resolver-7>resolver</a>, with the new
+     <code id=images:imagedata-5><a href=#imagedata>ImageData</a></code> object, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-5>cropped to the source rectangle</a>.<li><p>Return a new <code id=images:promise-14><a href=#promise>Promise</a></code>, but continue running these steps <a href=#in-parallel id=images:in-parallel-5>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-5>Resolve</a> the <code id=images:promise-15><a href=#promise>Promise</a></code> with the new
      <code id=images:imagebitmap-25><a href=#imagebitmap>ImageBitmap</a></code> object as the value.</ol>
 
    <dt>If <var>image</var> is a <code id=images:canvasrenderingcontext2d-4><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object
@@ -66117,15 +66112,14 @@
    <dd>
 
     <ol><li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code id=images:indexsizeerror-6><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:canvasrenderingcontext2d-5><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's <a href=#scratch-bitmap id=images:scratch-bitmap>scratch bitmap</a> does
-     not have its <a href=#concept-canvas-origin-clean id=images:concept-canvas-origin-clean-2>origin-clean</a> flag set, then throw
+     but zero, return a promise rejected with an <code id=images:indexsizeerror-6><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>If the <code id=images:canvasrenderingcontext2d-5><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's <a href=#scratch-bitmap id=images:scratch-bitmap>scratch bitmap</a> does
+     not have its <a href=#concept-canvas-origin-clean id=images:concept-canvas-origin-clean-2>origin-clean</a> flag set, then return a promise rejected with
      an <code id=images:invalidstateerror-10><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.<li><p>If the <code id=images:canvasrenderingcontext2d-6><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's <a href=#scratch-bitmap id=images:scratch-bitmap-2>scratch bitmap</a> has
-     either a horizontal dimension or a vertical dimension equal to zero, then throw an
+     either a horizontal dimension or a vertical dimension equal to zero, then return a promise rejected with an
      <code id=images:invalidstateerror-11><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these steps.<li><p>Create a new <code id=images:imagebitmap-26><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-27><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be a copy of the
      <code id=images:canvasrenderingcontext2d-7><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's <a href=#scratch-bitmap id=images:scratch-bitmap-3>scratch bitmap</a>, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-6>cropped to
      the source rectangle</a>.<li><p>Return a new <code id=images:promise-16><a href=#promise>Promise</a></code>, but continue running these steps
-     <a href=#in-parallel id=images:in-parallel-6>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-6>Fulfill</a> the <code id=images:promise-17><a href=#promise>Promise</a></code>'s
-     associated <a href=#concept-resolver id=images:concept-resolver-8>resolver</a>, with the new
+     <a href=#in-parallel id=images:in-parallel-6>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-6>Resolve</a> the <code id=images:promise-17><a href=#promise>Promise</a></code> with the new
      <code id=images:imagebitmap-28><a href=#imagebitmap>ImageBitmap</a></code> object as the value.</ol>
 
    <dt>If <var>image</var> is an <code id=images:imagebitmap-29><a href=#imagebitmap>ImageBitmap</a></code> object
@@ -66133,10 +66127,9 @@
    <dd>
 
     <ol><li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code id=images:indexsizeerror-7><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>Create a new <code id=images:imagebitmap-30><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-31><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be a copy of the <var>image</var> argument's bitmap data, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-7>cropped to the source
+     but zero, return a promise rejected with an <code id=images:indexsizeerror-7><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.<li><p>Create a new <code id=images:imagebitmap-30><a href=#imagebitmap>ImageBitmap</a></code> object.<li><p>Let the <code id=images:imagebitmap-31><a href=#imagebitmap>ImageBitmap</a></code> object's bitmap data be a copy of the <var>image</var> argument's bitmap data, <a href=#cropped-to-the-source-rectangle id=images:cropped-to-the-source-rectangle-7>cropped to the source
      rectangle</a>.<li><p>Return a new <code id=images:promise-18><a href=#promise>Promise</a></code>, but continue running these steps
-     <a href=#in-parallel id=images:in-parallel-7>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-7>Fulfill</a> the <code id=images:promise-19><a href=#promise>Promise</a></code>'s
-     associated <a href=#concept-resolver id=images:concept-resolver-9>resolver</a>, with the new
+     <a href=#in-parallel id=images:in-parallel-7>in parallel</a>.<li><p><a href=#concept-resolver-fulfill id=images:concept-resolver-fulfill-7>Resolve</a> the <code id=images:promise-19><a href=#promise>Promise</a></code> with the new
      <code id=images:imagebitmap-32><a href=#imagebitmap>ImageBitmap</a></code> object as the value.</ol>
 
    </dl>
@@ -66178,7 +66171,7 @@
   var resolver;
   var promise = new Promise(function (arg) { resolver = arg });
   image.onload = function () {
-    resolver.resolve(Promise.every(
+    resolver(Promise.all(
       createImageBitmap(image,  0,  0, 40, 40).then(function (image) { sprites.woman = image }),
       createImageBitmap(image, 40,  0, 40, 40).then(function (image) { sprites.man   = image }),
       createImageBitmap(image, 80,  0, 40, 40).then(function (image) { sprites.tree  = image }),

Modified: source
===================================================================
--- source	2014-09-19 23:39:54 UTC (rev 8803)
+++ source	2014-09-22 18:28:19 UTC (rev 8804)
@@ -89309,8 +89309,8 @@
 
 [NoInterfaceObject, Exposed=(Window,Worker)]
 interface <dfn>ImageBitmapFactories</dfn> {
-  <span>Promise</span> <span data-x="dom-createImageBitmap">createImageBitmap</span>(<span>ImageBitmapSource</span> image);
-  <span>Promise</span> <span data-x="dom-createImageBitmap">createImageBitmap</span>(<span>ImageBitmapSource</span> image, long sx, long sy, long sw, long sh);
+  <span>Promise</span><ImageBitmap> <span data-x="dom-createImageBitmap">createImageBitmap</span>(<span>ImageBitmapSource</span> image);
+  <span>Promise</span><ImageBitmap> <span data-x="dom-createImageBitmap">createImageBitmap</span>(<span>ImageBitmapSource</span> image, long sx, long sy, long sw, long sh);
 };
 <span>Window</span> implements <span>ImageBitmapFactories</span>;
 <span>WorkerGlobalScope</span> implements <span>ImageBitmapFactories</span>;</pre>
@@ -89342,12 +89342,12 @@
     any pixels missing in the original replaced by transparent black. These coordinates are in the
     source image's pixel coordinate space, <em>not</em> in CSS pixels.</p>
 
-    <p>Throws an <code>InvalidStateError</code> exception if the source image is not in a valid
+    <p>Rejects the promise with an <code>InvalidStateError</code> exception if the source image is not in a valid
     state (e.g. an <code>img</code> element that hasn't finished loading, or a
     <code>CanvasRenderingContext2D</code> object whose bitmap data has zero length along one or both
     dimensions, or an <code>ImageData</code> object whose data is <code
     data-x="dom-imagedata-data">data</code> attribute has been <span
-    data-x="concept-Transferable-neutered">neutered</span>). Throws a <code>SecurityError</code>
+    data-x="concept-Transferable-neutered">neutered</span>). Rejects the promise with a <code>SecurityError</code>
     exception if the script is not allowed to access the image data of the source image (e.g. a
     <code>video</code> that is <span>CORS-cross-origin</span>, or a <code>canvas</code> being drawn
     on by a script in a worker from another <span>origin</span>).</p>
@@ -89393,20 +89393,20 @@
     <ol>
 
      <li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code>IndexSizeError</code> exception and abort these steps.</p></li>
+     but zero, return a promise rejected with an <code>IndexSizeError</code> exception and abort these steps.</p></li>
 
      <li><p>If the <code>img</code> element is not <span data-x="img-all">completely
-     available</span>, then throw an <code>InvalidStateError</code> exception and abort these
+     available</span>, then return a promise rejected with an <code>InvalidStateError</code> exception and abort these
      steps.</p></li>
 
 <!--ADD-TOPIC:Security-->
      <li><p>If the <span>origin</span> of the <code>img</code> element's image is not the <span>same
      origin</span> as the <span>origin</span> specified by the <span>entry settings object</span>,
-     then throw a <code>SecurityError</code> exception and abort these steps.</p></li>
+     then return a promise rejected with a <code>SecurityError</code> exception and abort these steps.</p></li>
 <!--REMOVE-TOPIC:Security-->
 
      <li><p>If the <code>img</code> element's media data is not a bitmap (e.g. it's a vector
-     graphic), then throw an <code>InvalidStateError</code> exception and abort these
+     graphic), then return a promise rejected with an <code>InvalidStateError</code> exception and abort these
      steps.</p></li>
 
      <li><p>Create a new <code>ImageBitmap</code> object.</p></li>
@@ -89421,8 +89421,7 @@
      <li><p>Return a new <code>Promise</code>, but continue running these steps
      <span>in parallel</span>.</p></li>
 
-     <li><p><span data-x="concept-resolver-fulfill">Fulfill</span> the <code>Promise</code>'s
-     associated <span data-x="concept-resolver">resolver</span>, with the new
+     <li><p><span data-x="concept-resolver-fulfill">Resolve</span> the <code>Promise</code> with the new
      <code>ImageBitmap</code> object as the value.</p></li>
 
     </ol>
@@ -89436,23 +89435,23 @@
     <ol>
 
      <li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code>IndexSizeError</code> exception and abort these steps.</p></li>
+     but zero, return a promise rejected with an <code>IndexSizeError</code> exception and abort these steps.</p></li>
 
      <li><p>If the <code>video</code> element's <code
      data-x="dom-media-networkState">networkState</code> attribute is <code
-     data-x="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</code>, then throw an
+     data-x="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</code>, then return a promise rejected with an
      <code>InvalidStateError</code> exception and abort these steps.</p></li>
 
 <!--ADD-TOPIC:Security-->
      <li><p>If the <span>origin</span> of the <code>video</code> element is not the <span>same
      origin</span> as the <span>origin</span> specified by the <span>entry settings object</span>,
-     then throw a <code>SecurityError</code> exception and abort these steps.</p></li>
+     then return a promise rejected with a <code>SecurityError</code> exception and abort these steps.</p></li>
 <!--REMOVE-TOPIC:Security-->
 
      <li><p>If the <code>video</code> element's <code
      data-x="dom-media-readyState">readyState</code> attribute is either <code
      data-x="dom-media-HAVE_NOTHING">HAVE_NOTHING</code> or <code
-     data-x="dom-media-HAVE_METADATA">HAVE_METADATA</code>, then throw an
+     data-x="dom-media-HAVE_METADATA">HAVE_METADATA</code>, then return a promise rejected with an
      <code>InvalidStateError</code> exception and abort these steps.</p></li>
 
      <li><p>Create a new <code>ImageBitmap</code> object.</p></li>
@@ -89466,8 +89465,7 @@
      <li><p>Return a new <code>Promise</code>, but continue running these steps
      <span>in parallel</span>.</p></li>
 
-     <li><p><span data-x="concept-resolver-fulfill">Fulfill</span> the <code>Promise</code>'s
-     associated <span data-x="concept-resolver">resolver</span>, with the new
+     <li><p><span data-x="concept-resolver-fulfill">Resolve</span> the <code>Promise</code> with the new
      <code>ImageBitmap</code> object as the value.</p></li>
 
     </ol>
@@ -89481,16 +89479,16 @@
     <ol>
 
      <li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code>IndexSizeError</code> exception and abort these steps.</p></li>
+     but zero, return a promise rejected with an <code>IndexSizeError</code> exception and abort these steps.</p></li>
 
 <!--ADD-TOPIC:Security-->
      <li><p>If the <code>canvas</code> element's bitmap data does not have its <span
-     data-x="concept-canvas-origin-clean">origin-clean</span> flag set, then throw an
+     data-x="concept-canvas-origin-clean">origin-clean</span> flag set, then return a promise rejected with an
      <code>InvalidStateError</code> exception and abort these steps.</p></li>
 <!--REMOVE-TOPIC:Security-->
 
      <li><p>If the <code>canvas</code> element's bitmap has either a horizontal dimension or a
-     vertical dimension equal to zero, then throw an <code>InvalidStateError</code> exception and
+     vertical dimension equal to zero, then return a promise rejected with an <code>InvalidStateError</code> exception and
      abort these steps.</p></li>
 
      <li><p>Create a new <code>ImageBitmap</code> object.</p></li>
@@ -89501,8 +89499,7 @@
 
      <li><p>Return a new <code>Promise</code>, but continue running these steps <span>in parallel</span>.</p></li>
 
-     <li><p><span data-x="concept-resolver-fulfill">Fulfill</span> the <code>Promise</code>'s
-     associated <span data-x="concept-resolver">resolver</span>, with the new
+     <li><p><span data-x="concept-resolver-fulfill">Resolve</span> the <code>Promise</code> with the new
      <code>ImageBitmap</code> object as the value.</p></li>
 
     </ol>
@@ -89517,10 +89514,10 @@
     <ol>
 
      <li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code>IndexSizeError</code> exception and abort these steps.</p></li>
+     but zero, return a promise rejected with an <code>IndexSizeError</code> exception and abort these steps.</p></li>
 
      <li><p>If the <code>Blob</code> object has been disabled through the <code
-     data-x="dom-Blob-close">close()</code> method, then throw an <code>InvalidStateError</code>
+     data-x="dom-Blob-close">close()</code> method, then return a promise rejected with an <code>InvalidStateError</code>
      exception and abort these steps.</p></li>
 
      <li><p>Return a new <code>Promise</code>, but continue running these steps <span>in parallel</span>.</p></li>
@@ -89551,8 +89548,7 @@
      supported or is disabled), or, if there is no such image, the first frame of the
      animation.</p></li>
 
-     <li><p><span data-x="concept-resolver-fulfill">Fulfill</span> the <code>Promise</code>'s
-     associated <span data-x="concept-resolver">resolver</span>, with the new
+     <li><p><span data-x="concept-resolver-fulfill">Resolve</span> the <code>Promise</code> with the new
      <code>ImageBitmap</code> object as the value.</p></li>
 
     </ol>
@@ -89567,10 +89563,10 @@
     <ol>
 
      <li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code>IndexSizeError</code> exception and abort these steps.</p></li>
+     but zero, return a promise rejected with an <code>IndexSizeError</code> exception and abort these steps.</p></li>
 
      <li><p>If the <var>image</var> object's <code data-x="dom-imagedata-data">data</code>
-     attribute has been <span data-x="concept-Transferable-neutered">neutered</span>, throw an
+     attribute has been <span data-x="concept-Transferable-neutered">neutered</span>, return a promise rejected with an
      <code>InvalidStateError</code> exception and abort these steps.</p></li>
 
      <li><p>Create a new <code>ImageBitmap</code> object.</p></li>
@@ -89580,8 +89576,7 @@
 
      <li><p>Return a new <code>Promise</code>, but continue running these steps <span>in parallel</span>.</p></li>
 
-     <li><p><span data-x="concept-resolver-fulfill">Fulfill</span> the <code>Promise</code>'s
-     associated <span data-x="concept-resolver">resolver</span>, with the new
+     <li><p><span data-x="concept-resolver-fulfill">Resolve</span> the <code>Promise</code> with the new
      <code>ImageBitmap</code> object as the value.</p></li>
 
     </ol>
@@ -89595,16 +89590,16 @@
     <ol>
 
      <li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code>IndexSizeError</code> exception and abort these steps.</p></li>
+     but zero, return a promise rejected with an <code>IndexSizeError</code> exception and abort these steps.</p></li>
 
 <!--ADD-TOPIC:Security-->
      <li><p>If the <code>CanvasRenderingContext2D</code> object's <span>scratch bitmap</span> does
-     not have its <span data-x="concept-canvas-origin-clean">origin-clean</span> flag set, then throw
+     not have its <span data-x="concept-canvas-origin-clean">origin-clean</span> flag set, then return a promise rejected with
      an <code>InvalidStateError</code> exception and abort these steps.</p></li>
 <!--REMOVE-TOPIC:Security-->
 
      <li><p>If the <code>CanvasRenderingContext2D</code> object's <span>scratch bitmap</span> has
-     either a horizontal dimension or a vertical dimension equal to zero, then throw an
+     either a horizontal dimension or a vertical dimension equal to zero, then return a promise rejected with an
      <code>InvalidStateError</code> exception and abort these steps.</p></li>
 
      <li><p>Create a new <code>ImageBitmap</code> object.</p></li>
@@ -89616,8 +89611,7 @@
      <li><p>Return a new <code>Promise</code>, but continue running these steps
      <span>in parallel</span>.</p></li>
 
-     <li><p><span data-x="concept-resolver-fulfill">Fulfill</span> the <code>Promise</code>'s
-     associated <span data-x="concept-resolver">resolver</span>, with the new
+     <li><p><span data-x="concept-resolver-fulfill">Resolve</span> the <code>Promise</code> with the new
      <code>ImageBitmap</code> object as the value.</p></li>
 
     </ol>
@@ -89632,7 +89626,7 @@
     <ol>
 
      <li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified
-     but zero, throw an <code>IndexSizeError</code> exception and abort these steps.</p></li>
+     but zero, return a promise rejected with an <code>IndexSizeError</code> exception and abort these steps.</p></li>
 
      <li><p>Create a new <code>ImageBitmap</code> object.</p></li>
 
@@ -89642,8 +89636,7 @@
      <li><p>Return a new <code>Promise</code>, but continue running these steps
      <span>in parallel</span>.</p></li>
 
-     <li><p><span data-x="concept-resolver-fulfill">Fulfill</span> the <code>Promise</code>'s
-     associated <span data-x="concept-resolver">resolver</span>, with the new
+     <li><p><span data-x="concept-resolver-fulfill">Resolve</span> the <code>Promise</code> with the new
      <code>ImageBitmap</code> object as the value.</p></li>
 
     </ol>
@@ -89705,7 +89698,7 @@
   var resolver;
   var promise = new Promise(function (arg) { resolver = arg });
   image.onload = function () {
-    resolver.resolve(Promise.every(
+    resolver(Promise.all(
       createImageBitmap(image,  0,  0, 40, 40).then(function (image) { sprites.woman = image }),
       createImageBitmap(image, 40,  0, 40, 40).then(function (image) { sprites.man   = image }),
       createImageBitmap(image, 80,  0, 40, 40).then(function (image) { sprites.tree  = image }),



More information about the Commit-Watchers mailing list