[html5] r2356 - [giow] (2) Serialise a unique (non-host) origin to the string 'null' instead of [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Oct 20 08:13:16 PDT 2008
Author: ianh
Date: 2008-10-20 08:13:15 -0700 (Mon, 20 Oct 2008)
New Revision: 2356
Modified:
index
source
Log:
[giow] (2) Serialise a unique (non-host) origin to the string 'null' instead of the empty stirng.
Modified: index
===================================================================
--- index 2008-10-20 14:56:21 UTC (rev 2355)
+++ index 2008-10-20 15:13:15 UTC (rev 2356)
@@ -32020,8 +32020,7 @@
<a href=#origin-0>origin</a>:</p>
<ol><li><p>If the <a href=#origin-0>origin</a> in question is not a
- scheme/host/port tuple, then return the empty string and abort
- these steps.</li>
+ scheme/host/port tuple, then return the literal string "<code title="">null</code>" and abort these steps.</li>
<li><p>Otherwise, let <var title="">result</var> be the scheme part
of the <a href=#origin-0>origin</a> tuple.</li>
@@ -32046,8 +32045,7 @@
<a href=#origin-0>origin</a>:</p>
<ol><li><p>If the <a href=#origin-0>origin</a> in question is not a
- scheme/host/port tuple, then return the empty string and abort
- these steps.</li>
+ scheme/host/port tuple, then return the literal string "<code title="">null</code>" and abort these steps.</li>
<li><p>Otherwise, let <var title="">result</var> be the scheme part
of the <a href=#origin-0>origin</a> tuple.</li>
Modified: source
===================================================================
--- source 2008-10-20 14:56:21 UTC (rev 2355)
+++ source 2008-10-20 15:13:15 UTC (rev 2356)
@@ -36351,8 +36351,8 @@
<ol>
<li><p>If the <span>origin</span> in question is not a
- scheme/host/port tuple, then return the empty string and abort
- these steps.</p></li>
+ scheme/host/port tuple, then return the literal string "<code
+ title="">null</code>" and abort these steps.</p></li>
<li><p>Otherwise, let <var title="">result</var> be the scheme part
of the <span>origin</span> tuple.</p></li>
@@ -36375,6 +36375,7 @@
</ol>
+
<p>The <dfn>ASCII serialization of an origin</dfn> is the string
obtained by applying the following algorithm to the given
<span>origin</span>:</p>
@@ -36382,8 +36383,8 @@
<ol>
<li><p>If the <span>origin</span> in question is not a
- scheme/host/port tuple, then return the empty string and abort
- these steps.</p></li>
+ scheme/host/port tuple, then return the literal string "<code
+ title="">null</code>" and abort these steps.</p></li>
<li><p>Otherwise, let <var title="">result</var> be the scheme part
of the <span>origin</span> tuple.</p></li>
@@ -36415,6 +36416,7 @@
</ol>
+
<p>Two <span title="origin">origins</span> are said to be the
<dfn>same origin</dfn> if the following algorithm returns true:</p>
More information about the Commit-Watchers
mailing list