diff --git a/index.html b/index.html index 34de23b..1dee462 100644 --- a/index.html +++ b/index.html @@ -572,6 +572,7 @@

The PerformanceResourceTiming Interface

The time immediately after the user agent receives the last byte of the response or immediately before the transport connection is closed, whichever comes first. The resource here can be received either from relevant application caches, local resources, or from the server. +
  • The time immediately before the user agent aborts the fetch due to a network error.
  • On getting, the transferSize attribute MUST return as follows: @@ -775,7 +776,7 @@

    Processing Model

  • If the user agent is to reuse the data from another existing or completed fetch initiated from the current document, abort the remaining steps.
  • -
  • If fetching the resource is aborted for any reason, abort the remaining steps.
  • +
  • If the last non-redirected fetch of the resource fails the timing allow check, the user agent MUST set redirectStart, @@ -787,7 +788,7 @@

    Processing Model

    requestStart, responseStart and secureConnectionStart - to zero and go to step 17. + to zero and go to step 16.
  • Let domainLookupStart, domainLookupEnd, @@ -797,17 +798,17 @@

    Processing Model

  • If the resource is fetched from the relevant application cache or local resources, including the HTTP cache [[!RFC7234]], - go to step 15. + go to step 14.
  • -
  • If no domain lookup is required, go to step 13. Otherwise, immediately before a user agent +
  • If no domain lookup is required, go to step 12. Otherwise, immediately before a user agent starts the domain name lookup, record the time as domainLookupStart.
  • Record the time as domainLookupEnd immediately after the - domain name lookup is successfully done. A user agent may need multiple retries before that. If - the domain lookup fails, abort the remaining steps.
  • + domain name lookup is successfully done. A user agent may need multiple retries before that. If the domain name lookup fails and + resource passes the timing allow check record the time as domainLookupEnd and go to step 17.
  • If a persistent transport connection is used to fetch the resource, let connectStart and connectEnd be the same value of domainLookupEnd. Otherwise, record the time as - connectStart immediately before initiating the connection to the server and record the time as connectEnd immediately after the connection to the server or the proxy is established. A user agent may need multiple retries before this time. Once connection is established set the value of nextHopProtocol to the ALPN ID used by the connection. If a connection can not be established, abort the remaining steps. + connectStart immediately before initiating the connection to the server and record the time as connectEnd immediately after the connection to the server or the proxy is established. A user agent may need multiple retries before this time. Once connection is established set the value of nextHopProtocol to the ALPN ID used by the connection. If a connection can not be established, record the time up to the connection failure as connectEnd and go to step 17.
  • The user agent MUST set the secureConnectionStart attribute as follows:
      @@ -829,7 +830,7 @@

      Processing Model

    1. Record the time as responseEnd immediately after receiving the last byte of the response.
        -
      1. Return to step 13 if the user agent fails to send the request or receive the entire response, and needs to reopen the connection. +
      2. Return to step 12 if the user agent fails to send the request or receive the entire response, and needs to reopen the connection.
    2. -
    3. Record the difference between responseEnd and startTime in duration.
    4. +
    5. If responseEnd is not set, set it to the current time. Record the difference between responseEnd and startTime in duration.
    6. If the fetched resource results in an HTTP redirect or equivalent, then
        @@ -865,7 +866,7 @@

        Processing Model

    7. -
    8. Queue the PerformanceResourceTiming object. +
    9. Queue the PerformanceResourceTiming object.
    10. Add the PerformanceResourceTiming object.