You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2class="no-num no-toc no-ref heading settled" id="subtitle"><spanclass="content">Living Standard — Last Updated <timeclass="dt-updated" datetime="2016-03-30">30 March 2016</time></span></h2>
<h2class="no-num no-toc no-ref heading settled" id="subtitle"><spanclass="content">Living Standard — Last Updated <timeclass="dt-updated" datetime="2016-04-05">5 April 2016</time></span></h2>
<pclass="note" role="note">See <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#origin-2">origin</a>’s definition in HTML for the necessary
1531
+
<pclass="note" role="note">See <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#concept-origin">origin</a>’s definition in HTML for the necessary
<p>A <adata-link-type="dfn" href="#concept-url">URL</a>’s <dfndata-dfn-for="url" data-dfn-type="dfn" data-export="" id="concept-url-origin">origin<aclass="self-link" href="#concept-url-origin"></a></dfn> is the <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#origin-2">origin</a> returned by running these steps, switching on <adata-link-type="dfn" href="#concept-url">URL</a>’s <adata-link-type="dfn" href="#concept-url-scheme">scheme</a>: </p>
1533
+
<p>A <adata-link-type="dfn" href="#concept-url">URL</a>’s <dfndata-dfn-for="url" data-dfn-type="dfn" data-export="" id="concept-url-origin">origin<aclass="self-link" href="#concept-url-origin"></a></dfn> is the <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#concept-origin">origin</a> returned by running these steps, switching on <adata-link-type="dfn" href="#concept-url">URL</a>’s <adata-link-type="dfn" href="#concept-url-scheme">scheme</a>: </p>
1532
1534
<dlclass="switch">
1533
1535
<dt>"<code>blob</code>"
1534
1536
<dd>
1535
1537
<p>Let <var>url</var> be the result of <adata-link-type="dfn" href="#concept-basic-url-parser">parsing</a> the first
1536
1538
string in <adata-link-type="dfn" href="#concept-url">URL</a>’s <adata-link-type="dfn" href="#concept-url-path">path</a>. </p>
1537
-
<p>If <var>url</var> is failure, return a new globally unique identifier. Otherwise,
<p>Return a new <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#concept-origin-opaque">opaque origin</a>, if <var>url</var> is failure, and <var>url</var>’s <adata-link-type="dfn" href="#concept-url-origin">origin</a> otherwise. </p>
1539
1540
<pclass="example no-backref" id="example-f4c8ee39"><aclass="self-link" href="#example-f4c8ee39"></a>The <adata-link-type="dfn" href="#concept-url-origin">origin</a> of <code>blob:https://whatwg.org/d0360e2f-caee-469f-9a2f-87d5b0456f6f</code> is the tuple
<p>Return a tuple consisting of <adata-link-type="dfn" href="#concept-url">URL</a>’s <adata-link-type="dfn" href="#concept-url-scheme">scheme</a>, its <adata-link-type="dfn" href="#concept-url-host">host</a>, and its <adata-link-type="dfn" href="#default-port">default port</a> if its <adata-link-type="dfn" href="#concept-url-port">port</a> is null, and
1549
-
its <adata-link-type="dfn" href="#concept-url-port">port</a> otherwise. </p>
1549
+
<p>Return a tuple consisting of <adata-link-type="dfn" href="#concept-url">URL</a>’s <adata-link-type="dfn" href="#concept-url-scheme">scheme</a>, <adata-link-type="dfn" href="#concept-url">URL</a>’s <adata-link-type="dfn" href="#concept-url-host">host</a>, <adata-link-type="dfn" href="#concept-url">URL</a>’s <adata-link-type="dfn" href="#concept-url-port">port</a>, and null. </p>
1550
1550
<dt>"<code>file</code>"
1551
1551
<dd>
1552
1552
<p>Unfortunate as it is, this is left as an exercise to the reader. When in doubt,
1553
-
return a new globally unique identifier. </p>
1553
+
return a new <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#concept-origin-opaque">opaque origin</a>. </p>
1554
1554
<dt>Otherwise
1555
1555
<dd>
1556
-
<p>Return a new globally unique identifier. </p>
1556
+
<p>Return a new <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#concept-origin-opaque">opaque origin</a>. </p>
1557
1557
<pclass="note no-backref" role="note">This does indeed mean that these <adata-link-type="dfn" href="#concept-url">URLs</a> cannot
1558
1558
be <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#same-origin">same-origin</a> with themselves. </p>
0 commit comments