[html5] r6745 - [] (0) Kill Location.resolveURL() in favour of the new URL() API. Fixing http:// [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Oct 24 17:23:26 PDT 2011
Author: ianh
Date: 2011-10-24 17:23:25 -0700 (Mon, 24 Oct 2011)
New Revision: 6745
Modified:
complete.html
index
source
Log:
[] (0) Kill Location.resolveURL() in favour of the new URL() API.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14148
Modified: complete.html
===================================================================
--- complete.html 2011-10-25 00:06:22 UTC (rev 6744)
+++ complete.html 2011-10-25 00:23:25 UTC (rev 6745)
@@ -64321,9 +64321,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>
@@ -64360,14 +64357,6 @@
</dd>
- <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>
@@ -64477,18 +64466,7 @@
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></p>
- <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>6.4.3.1 </span>Security</h5>
Modified: index
===================================================================
--- index 2011-10-25 00:06:22 UTC (rev 6744)
+++ index 2011-10-25 00:23:25 UTC (rev 6745)
@@ -64321,9 +64321,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>
@@ -64360,14 +64357,6 @@
</dd>
- <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>
@@ -64477,18 +64466,7 @@
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></p>
- <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>6.4.3.1 </span>Security</h5>
Modified: source
===================================================================
--- source 2011-10-25 00:06:22 UTC (rev 6744)
+++ source 2011-10-25 00:23:25 UTC (rev 6745)
@@ -1,4 +1,4 @@
-<!-- EDITOR NOTES
+veurl<!-- EDITOR NOTES
!
! Adding a new element involves editing the following sections:
! - description of the element's categories
@@ -73022,9 +73022,6 @@
attribute DOMString <span title="dom-location-pathname">pathname</span>;
attribute DOMString <span title="dom-location-search">search</span>;
attribute DOMString <span title="dom-location-hash">hash</span>;
-
- // resolving relative URLs
- DOMString <span title="dom-location-resolveURL">resolveURL</span>(DOMString url);
};</pre>
<dl class="domintro">
@@ -73063,14 +73060,6 @@
</dd>
- <dt><var title="">url</var> = <var title="">location</var> . <code title="dom-location-resolveURL">resolveURL</code>(<var title="">url</var>)</dt>
-
- <dd>
-
- <p>Resolves the given relative URL to an absolute URL.</p>
-
- </dd>
-
</dl>
<div class="impl">
@@ -73208,21 +73197,7 @@
title="dom-location-href">href</code> attribute to the new output
value.</span></p>
- <div class="impl">
- <hr>
-
- <p>The <dfn title="dom-location-resolveURL"><code>resolveURL(<var
- title="">url</var>)</code></dfn> method must <span title="resolve a
- url">resolve</span> its <var title="">url</var> argument, relative
- to the <span>entry script</span>'s <span title="script's base
- URL">base URL</span>, and if that succeeds, return the resulting
- <span>absolute URL</span>. If it fails, it must throw a
- <code>SyntaxError</code> exception instead.</p>
-
- </div>
-
-
<div class="impl">
<h5 id="security-location">Security</h5>
More information about the Commit-Watchers
mailing list