fix(docs): remove extra code in timing docs (#4466)

This commit is contained in:
Darío Kondratiuk 2020-11-17 14:58:38 -03:00 committed by GitHub
parent ab4a627988
commit c1a5cd51b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3988,7 +3988,6 @@ ResourceType will be one of the following: `document`, `stylesheet`, `image`, `m
- `requestStart` <[number]> Time immediately before the browser starts requesting the resource from the server, cache, or local resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `responseStart` <[number]> Time immediately after the browser starts requesting the resource from the server, cache, or local resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `responseEnd` <[number]> Time immediately after the browser receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first. The value is given in milliseconds relative to `startTime`, -1 if not available.
};
Returns resource timing information for given request. Most of the timing values become available upon the response, `responseEnd` becomes available when request finishes. Find more information at [Resource Timing API](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming).