Re: [whatwg/fetch] Allow timing reporting with origin (for iframes) (PR #1388)

@noamr commented on this pull request.



> @@ -4289,6 +4289,26 @@ steps:
 <var>response</var>, a <a for=/>global object</a> <var>global</var>, and a <a for=/>string</a>
 <var>initiatorType</var> (default "<code>other</code>"), run these steps:
 
+<ol>
+ <li><p>Let <var>taoPass</var> be true <var>response</var>'s
+ <a for=response>timing allow passed flag</a> is set; otherwise false.
+
+ <li>Set <var>response</var>'s <a for="response">timing info</a> to the
+ result of calling <a>report timing</a> given <var>response</var>, <var>global</var>,
+ <var>initiatorType</var>, and <var>taoPass</var>.
+</ol>
+
+<p>To <dfn export>report timing with origin</dfn> given a <a for=/>response</a>
+<var>response</var>, a <a for=/>global object</a> <var>global</var>, an <a for=/>origin</a>
+<var>origin</var>, and a <a for=/>string</a> <var>initiatorType</var> (default
+"<code>other</code>"), <a>report timing</a> for <var>response</var>,

That's inconsistent with the rest of the fetch spec though

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1388#discussion_r802605284
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1388/review/877380321@github.com>

Received on Wednesday, 9 February 2022 12:23:54 UTC