W3C home > Mailing lists > Public > public-html-diffs@w3.org > October 2008

spec/Overview.html 1.1529 2356 Serialise a unique (non-host) origin to

From: poot <cvsmail@w3.org>
Date: Tue, 21 Oct 2008 00:16:25 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20081020151625.685872BBFC@toro.w3.mag.keio.ac.jp>

Serialise a unique (non-host) origin to the string 'null' instead of the
empty stirng. (whatwg r2356)

Unicode serialization of an origin
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1529.html#unicode-serialization-of-an-origin
ASCII serialization of an origin
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1529.html#ascii-serialization-of-an-origin

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1528&r2=1.1529&f=h
http://html5.org/tools/web-apps-tracker?from=2355&to=2356

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1528
retrieving revision 1.1529
diff -u -d -r1.1528 -r1.1529
--- Overview.html	20 Oct 2008 14:56:25 -0000	1.1528
+++ Overview.html	20 Oct 2008 15:13:19 -0000	1.1529
@@ -25876,8 +25876,7 @@
   </dl><p>The <dfn id=unicode-serialization-of-an-origin>Unicode serialization of an origin</dfn> is the string
   obtained by applying the following algorithm to the given
   <a href=#origin-0>origin</a>:<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>
@@ -25900,8 +25899,7 @@
   </ol><p>The <dfn id=ascii-serialization-of-an-origin>ASCII serialization of an origin</dfn> is the string
   obtained by applying the following algorithm to the given
   <a href=#origin-0>origin</a>:<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>
Received on Monday, 20 October 2008 15:17:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:13:56 GMT