W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2011

html5/spec origin-0.html,1.50,1.51 spec.html,1.1740,1.1741

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 21 Oct 2011 22:46:26 +0000
To: public-html-commits@w3.org
Message-Id: <E1RHNr8-0006dA-DH@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv25455

Modified Files:
	origin-0.html spec.html 
Log Message:
Defer to the origin spec for URL origin. (whatwg r6728)

[updated by splitter]


Index: origin-0.html
===================================================================
RCS file: /sources/public/html5/spec/origin-0.html,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- origin-0.html	11 Oct 2011 00:48:09 -0000	1.50
+++ origin-0.html	21 Oct 2011 22:46:24 -0000	1.51
@@ -348,67 +348,8 @@
    <dd>
 
     <p>The <a href="#origin">origin</a> and <a href="#effective-script-origin">effective script
-    origin</a> of the <a href="urls.html#url">URL</a> is whatever is returned by
-    the following algorithm:</p>
-
-    <ol><li><p>Let <var title="">url</var> be the <a href="urls.html#url">URL</a> for
-     which the <a href="#origin">origin</a> is being determined.</p></li>
-
-     <li><p><a href="urls.html#parse-a-url" title="parse a url">Parse</a> <var title="">url</var>.</p></li>
-
-     <li><p>If <var title="">url</var> identifies a resource that is
-     its own trust domain (e.g. it identifies an e-mail on an IMAP
-     server or a post on an NNTP server) then return a globally unique
-     identifier specific to the resource identified by <var title="">url</var>, so that if this algorithm is invoked again
-     for <a href="urls.html#url" title="URL">URLs</a> that identify the same resource,
-     the same identifier will be returned.</p></li>
-
-     <li><p>If <var title="">url</var> does not use a server-based
-     naming authority, or if parsing <var title="">url</var> failed,
-     or if <var title="">url</var> is not an <a href="urls.html#absolute-url">absolute
-     URL</a>, then return a new globally unique
-     identifier.</p></li>
-
-     <li><p>Let <var title="">scheme</var> be the <a href="urls.html#url-scheme" title="url-scheme">&lt;scheme&gt;</a> component of <var title="">url</var>, <a href="infrastructure.html#converted-to-ascii-lowercase">converted to ASCII lowercase</a>.</p></li>
-
-     <li><p>If the UA doesn't support the protocol given by <var title="">scheme</var>, then return a new globally unique
-     identifier.</p></li>
-
-     <li><p>If <var title="">scheme</var> is "<code title="">file</code>", then the user agent may return a
-     UA-specific value.</p></li>
-
-     <li><p>Let <var title="">host</var> be the <a href="urls.html#url-host" title="url-host">&lt;host&gt;</a> component of <var title="">url</var>.</p></li>
-
-     <li>
-
-      <p>Apply the IDNA ToASCII algorithm to <var title="">host</var>,
-      with both the AllowUnassigned and UseSTD3ASCIIRules flags
-      set. Let <var title="">host</var> be the result of the ToASCII
-      algorithm.</p>
-
-      <p>If ToASCII fails to convert one of the components of the
-      string, e.g. because it is too long or because it contains
-      invalid characters, then return a new globally unique
-      identifier. <a href="references.html#refsRFC3490">[RFC3490]</a></p>
-
-     </li>
-
-     <li><p>Let <var title="">host</var> be the result of converting
-     <var title="">host</var> <a href="infrastructure.html#converted-to-ascii-lowercase" title="converted to ASCII lowercase">to
-     ASCII lowercase</a>.</p></li>
-
-     <li><p>If there is no <a href="urls.html#url-port" title="url-port">&lt;port&gt;</a>
-     component, then let <var title="">port</var> be the default port
-     for the protocol given by <var title="">scheme</var>. Otherwise,
-     let <var title="">port</var> be the <a href="urls.html#url-port" title="url-port">&lt;port&gt;</a> component of <var title="">url</var>.</p></li>
-
-     <li><p>Return the tuple (<var title="">scheme</var>, <var title="">host</var>, <var title="">port</var>).</p></li>
-
-    </ol><p>In addition, if the <a href="urls.html#url">URL</a> is in fact associated with
-    a <code><a href="infrastructure.html#document">Document</a></code> object that was created by parsing the
-    resource obtained from fetching <a href="urls.html#url">URL</a>, and this was
-    done over a secure connection, then the server's secure
-    certificate may be added to the origin as additional data.</p>
+    origin</a> of the <a href="urls.html#url">URL</a> are the origin defined in
+    <cite>The Web Origin Concept</cite>. <a href="references.html#refsORIGIN">[ORIGIN]</a></p>
 
    </dd>
 

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1740
retrieving revision 1.1741
diff -u -d -r1.1740 -r1.1741
--- spec.html	21 Oct 2011 21:46:26 -0000	1.1740
+++ spec.html	21 Oct 2011 22:46:24 -0000	1.1741
@@ -349,7 +349,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">web developer edition</a>.
-This is revision 1.5393.
+This is revision 1.5394.
    </p> 
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Friday, 21 October 2011 22:46:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 October 2011 22:46:45 GMT