- From: Marijn Kruisselbrink <notifications@github.com>
- Date: Fri, 04 Jan 2019 09:25:11 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/url/pull/371/review/189452877@github.com>
mkruisselbrink commented on this pull request. Sorry for losing track of this PR, I addressed some more of your comments. WDYT? > @@ -1026,6 +1026,12 @@ resource the <a for=/>URL</a>'s other components identify. It is initially null. "<code>blob</code>" <a for=/>URLs</a>, but others can be added going forward, hence "object". +<p>A <a for=/>URL</a> also has an associated +<dfn for=url>object origin</dfn> that is either null or an <a>ASCII string</a>. +It is initially null. Yes, good point. Done. > @@ -1026,6 +1026,12 @@ resource the <a for=/>URL</a>'s other components identify. It is initially null. "<code>blob</code>" <a for=/>URLs</a>, but others can be added going forward, hence "object". +<p>A <a for=/>URL</a> also has an associated +<dfn for=url>object origin</dfn> that is either null or an <a>ASCII string</a>. +It is initially null. + +<p class="note">This is used to support caching the origin of a "<code>blob</code>" +<a for=/>URL</a> at the time it is parsed. Done > @@ -1325,12 +1331,12 @@ different document encoding. Using the <a>UTF-8</a> encoding everywhere solves t <li><p>If <var>url</var>'s <a for=url>scheme</a> is not "<code>blob</code>", return <var>url</var>. - <li><p>If <var>url</var>'s <a for=url>path</a> <a for=list>is empty</a> or <var>url</var>'s - <a for=url>path</a>[0] is not in the <a>Blob URL Store</a>, then return <var>url</var>. - [[!FILEAPI]] + <li><p>Set <var>url</var>'s <a for=url>object origin</a> to the result of + <a for="blob URL" lt="resolve the origin">resolving the origin of the blob URL</a> <var>url</var>. Sure, I don't think it makes a difference in practice, but it might be clearer that way, so done. -- 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/371#pullrequestreview-189452877
Received on Friday, 4 January 2019 17:25:33 UTC