diff --git a/index.html b/index.html index 517778b..a4a59cd 100644 --- a/index.html +++ b/index.html @@ -354,10 +354,13 @@

The steps for fetching an image resource are given by the following algorithm. The algorithm takes an [=image - resource=] |image|, and an optional [=Request=] |request|. It returns a + resource=] |image|, an optional [=Request=] |request|, and an optional + [=request/Mode=] |mode| (default "`cors`"). It returns a [=Response=].

    +
  1. [=Assert=]: |mode| is "`cors`" or "`same-origin`". +
  2. If |request| is `undefined`:
    1. Set |request| to a new [=Request=]. @@ -371,14 +374,18 @@

  3. -
  4. If |request|'s [=request/Client=] is null, throw a {{TypeError}}. +
  5. [=Assert=]: |request|'s [=request/Client=] is not null. +
  6. +
  7. Set |request|'s [=request/Mode=] to |mode|.
  8. Perform a [=fetch=] using |request| and return the [=Response=].