diff --git a/index.bs b/index.bs index 420bd0014..a901980d0 100644 --- a/index.bs +++ b/index.bs @@ -5829,6 +5829,8 @@ network.RequestData = { cookies: [*network.Cookie], headersSize: js-uint, bodySize: js-uint / null, + destination: text, + initiatorType: text / null, timings: network.FetchTimingInfo, }; @@ -5879,15 +5881,20 @@ To get the request data given |request|: 1. Append the result of [=serialize cookie=] given |cookie| to |cookies|. +1. Let |destination| be |request|'s [=request/destination=]. + +1. Let |initiator type| be |request|'s [=request/initiator type=]. + 1. Let |timings| be [=get the fetch timings=] with |request|. 1. Return a map matching the network.RequestData production, with the request field set to |request id|, url field set to |url|, the method field set to |method|, the headers field set to |headers|, the |cookies| field set to - |cookies|, and the headersSize field set to |headers size|, - the bodySize field set to |body size|, and the - timings field set to |timings|. + |cookies|, the headersSize field set to |headers size|, the + bodySize field set to |body size|, the destination + field set to |destination|, the initiatorType field set to + |initiator type|, and the timings field set to |timings|.