Re: [whatwg/url] Editorial: modernize URL's origin language (PR #664)

@domenic approved this pull request.



>  
-   <li><p>Return a new <a>opaque origin</a>, if <var>url</var> is failure, and <var>url</var>'s
-   <a for=url>origin</a> otherwise.
+   <li><p>Return a new <a>opaque origin</a>, if <var>pathURL</var> is failure; otherwise
+   <var>pathURL</var>'s <a for=url>origin</a>.

I think this might be clearer as two steps: "1. If pathURL is failure, return a new opaque origin. 2. Return pathURL's origin."

-- 
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/url/pull/664#pullrequestreview-784692461

Received on Wednesday, 20 October 2021 15:56:29 UTC