diff --git a/index.html b/index.html index 89e683c..1c7b426 100644 --- a/index.html +++ b/index.html @@ -376,6 +376,7 @@

readonly attribute unsigned short responseStatus; readonly attribute RenderBlockingStatusType renderBlockingStatus; readonly attribute DOMString contentType; + readonly attribute DOMString contentEncoding; [Default] object toJSON(); }; @@ -667,8 +668,7 @@

info's [=response body info/decoded size=].

- The transferSize getter steps are to perform the following - steps: + The transferSize getter steps are the following:

  1. @@ -715,6 +715,47 @@

    resource info's [=response body info/content type=].

    +

    + The contentEncoding getter steps are the following: +

    +
      +
    1. +

      + Let codings be this's response body info's [=response + body info/content encoding=]. +

      +
    2. +
    3. +

      + If codings is null, return the empty string. +

      +
    4. +
    5. +

      + If codings contains two strings or more, return + "multiple". +

      +
    6. +
    7. +

      + If codings[0] is the empty string, or it is supported by the user agent, + and is listed in the + + content encoding registry on IANA, return codings[0]. +

      +

      + "identity" is never supported as a coding. See details + + here. +

      +
    8. +
    9. +

      + Otherwise, return "unknown". +

      +
    10. +

    The renderBlockingStatus getter steps are to return blocking if