diff --git a/index.html b/index.html index 73fd25cf2..21da5d7a8 100644 --- a/index.html +++ b/index.html @@ -1300,13 +1300,26 @@

"!FETCH#concept-request-body">body.
  • Let manifest be the result of running processing a - manifest given text, manifest URL, and the - URL that represents the address of the top-level browsing - context. + manifest given text and manifest URL. +
  • +
  • If + manifest["start_url"] is not same origin as + the URL that represents the address of the top-level browsing + context, issue a developer warning that the start_url + needs to be same-origin as Document of the + top-level browsing context, then abort these steps.
  • Return manifest and manifest URL.
  • +

    + There is currently no way to invoke this algorithm without a + top-level browsing context. However, several user agents do + just that (when they install a web application directly from a + manifest URL, without a document). This, and other algorithms, should + be written to not require a document. See #668. +

    Authors are encouraged to use the HTTP cache directives to @@ -1395,17 +1408,8 @@

    following algorithm. The algorithm takes a string text as an argument, which represents a manifest, and a URL manifest URL, which represents the - location of the manifest, and an optional URL document - URL. The output from inputting an JSON document into this - algorithm is a processed manifest. -

    -

    - There is currently no way to invoke this algorithm without a - document URL. However, several user agents do just that - (when they install a web application directly from a manifest URL, - without a document). The algorithms that invoke this one should - similarly be written to not require a document URL. See - #668. + location of the manifest. The output from inputting an JSON document + into this algorithm is a processed manifest.

    We need to catch throws associated with enumerations in IDL @@ -1447,8 +1451,7 @@

  • Set manifest["start_url"] to the result of running processing the start_url member given - manifest["start_url"], manifest URL, and - document URL. + manifest["start_url"], and manifest URL.
  • Set manifest["lang"] to the result of running processing the lang member given @@ -1952,17 +1955,12 @@

    The steps for processing the start_url member are given by the following algorithm. The algorithm takes a - USVString value, a URL manifest - URL, and an optional URL document URL. This - algorithm returns a URL. + USVString value, and a URL manifest + URL. This algorithm returns a URL.

      -
    1. If document URL is given, and manifest URL - is not same origin as document URL, let - default be document URL. -
    2. -
    3. Otherwise, let default be the result of parsing - ".", using manifest URL as the base URL. +
    4. Let default be the result of parsing ".", using + manifest URL as the base URL.
    5. If value is the empty string, return default. @@ -1980,18 +1978,6 @@

  • -
  • If document URL is given, and start URL is - not same origin as document URL: -
      -
    1. - Issue a developer warning that the start_url - needs to be same-origin as Document of the - top-level browsing context. -
    2. -
    3. Return default. -
    4. -
    -
  • Otherwise, return start URL.