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

hixie: Kill Location.resolveURL() in favour of the new URL() API. (whatwg r6745)

From: poot <cvsmail@w3.org>
Date: Mon, 24 Oct 2011 20:27:45 -0400
To: public-html-diffs@w3.org
Message-Id: <E1RIUro-0008Ns-VV@jay.w3.org>
hixie: Kill Location.resolveURL() in favour of the new URL() API.
(whatwg r6745)


RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5407
retrieving revision 1.5408
diff -u -d -r1.5407 -r1.5408
--- Overview.html	24 Oct 2011 23:52:08 -0000	1.5407
+++ Overview.html	25 Oct 2011 00:27:26 -0000	1.5408
@@ -320,7 +320,7 @@
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-24-october-2011">Editor's Draft 24 October 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-25-october-2011">Editor's Draft 25 October 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -466,7 +466,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
-  This specification is the 24 October 2011 Editor's Draft.
+  This specification is the 25 October 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -46041,9 +46041,6 @@
            attribute DOMString <a href="#dom-location-pathname" title="dom-location-pathname">pathname</a>;
            attribute DOMString <a href="#dom-location-search" title="dom-location-search">search</a>;
            attribute DOMString <a href="#dom-location-hash" title="dom-location-hash">hash</a>;
-  // resolving relative URLs
-  DOMString <a href="#dom-location-resolveurl" title="dom-location-resolveURL">resolveURL</a>(DOMString url);
 };</pre><dl class="domintro"><dt><var title="">location</var> . <code title="dom-location-href"><a href="#dom-location-href">href</a></code> [ = <var title="">value</var> ]</dt>
@@ -46078,14 +46075,6 @@
-   <dt><var title="">url</var> = <var title="">location</var> . <code title="dom-location-resolveURL"><a href="#dom-location-resolveurl">resolveURL</a></code>(<var title="">url</var>)</dt>
-   <dd>
-    <p>Resolves the given relative URL to an absolute URL.</p>
-   </dd>
   </dl><div class="impl">
   <p>The <dfn id="dom-location-href" title="dom-location-href"><code>href</code></dfn>
@@ -46185,15 +46174,6 @@
   action</a> being the same as setting the <code title="dom-location-href"><a href="#dom-location-href">href</a></code> attribute to the new output
   value.</span><div class="impl">
-  <hr><p>The <dfn id="dom-location-resolveurl" title="dom-location-resolveURL"><code>resolveURL(<var title="">url</var>)</code></dfn> method must <a href="#resolve-a-url" title="resolve a
-  url">resolve</a> its <var title="">url</var> argument, relative
-  to the <a href="#entry-script">entry script</a>'s <a href="#script-s-base-url" title="script's base
-  URL">base URL</a>, and if that succeeds, return the resulting
-  <a href="#absolute-url">absolute URL</a>. If it fails, it must throw a
-  <code><a href="#syntaxerror">SyntaxError</a></code> exception instead.</p>
-  </div><div class="impl">
   <h5 id="security-location"><span class="secno"> </span>Security</h5>
   <p id="security-3">User agents must throw a
Received on Tuesday, 25 October 2011 00:27:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:09:20 UTC