Short URL: http://html5.org/r/6745
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 6745 | 14148 | Kill Location.resolveURL() in favour of the new URL() API. | 2011-10-25 00:23 |
Index: source
===================================================================
--- source (revision 6744)
+++ source (revision 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>