From e05cf824af850386e4d4a217c080cf5ecd312172 Mon Sep 17 00:00:00 2001 From: Sohom Date: Mon, 17 Apr 2023 08:25:20 -0400 Subject: [PATCH] fix: Add http method to fetch timing info This change will allow for the addition of the http method to the resource-timing spec Explainer: https://github.com/rt-explainer Associated resource-timing PR: w3c/resource-timing#375 --- fetch.bs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fetch.bs b/fetch.bs index d719cdf35..ddddd186b 100644 --- a/fetch.bs +++ b/fetch.bs @@ -353,6 +353,8 @@ following items: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
A list of strings.
render-blocking (default false)
A boolean. +
http method (default: GET) +
A {{ByteString}}

A response body info is a struct used to maintain @@ -4231,7 +4233,9 @@ the response. [[!HTTP-CACHING]]

  • Let timingInfo be a new fetch timing info whose start time and post-redirect start time are the - coarsened shared current time given crossOriginIsolatedCapability, and + coarsened shared current time given crossOriginIsolatedCapability, + http method is set to request's + method, and render-blocking is set to request's render-blocking.