Re: [whatwg/fetch] Define "Request URL serialization for reporting" (#1028)

@annevk commented on this pull request.

This seems like a good idea!

I wonder if this obsoletes the need for https://github.com/whatwg/url/issues/476 @mikewest? If it doesn't I guess we identified at least one other user of that algorithm.

> @@ -1748,6 +1748,26 @@ is to return the result of <a>serializing a request origin</a> with <var>request
 source of security bugs. Please seek security review for features that deal with partial responses.
 
 
+<p>To <dfn export for=request id=concept-request-serialize-url-for-reporting>serialize a request URL
+for reporting</dfn>, given a <a for=/>request</a> <var>request</var>, run these steps:
+
+<ol>
+ <li>
+  <p>Let <var>url</var> be <var>request</var>'s <a for=request>URL</a>.

Should we make a copy here for clarity?

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

Received on Friday, 29 May 2020 09:10:00 UTC