Skip to content

Commit

Permalink
[e] (0) make 'fetch' support being called with a URL, since that is w…
Browse files Browse the repository at this point in the history
…hat the spec does all over the place anyway.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8462

git-svn-id: http://svn.whatwg.org/webapps@4518 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 6, 2010
1 parent 798f837 commit e22a399
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 4 additions & 3 deletions complete.html
Expand Up @@ -5070,9 +5070,10 @@ <h4 id=interfaces-for-url-manipulation><span class=secno>2.5.3 </span>Interfaces

<h3 id=fetching-resources><span class=secno>2.6 </span>Fetching resources</h3>

<p>When a user agent is to <dfn id=fetch>fetch</dfn> a resource, optionally
from an origin <i title="">origin</i>, the following steps must be
run:</p>
<p>When a user agent is to <dfn id=fetch>fetch</dfn> a resource or
<a href=#url>URL</a>, optionally from an origin <i title="">origin</i>,
the following steps must be run. (When a <em>URL</em> is to be
fetched, the URL identifies a resource to be obtained.)</p>

<ol><li><p>If the resource is identified by the <a href=#url>URL</a>
<dfn id=about:blank><code>about:blank</code></dfn>, then return the empty string
Expand Down
7 changes: 4 additions & 3 deletions index
Expand Up @@ -4905,9 +4905,10 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<h3 id=fetching-resources><span class=secno>2.6 </span>Fetching resources</h3>

<p>When a user agent is to <dfn id=fetch>fetch</dfn> a resource, optionally
from an origin <i title="">origin</i>, the following steps must be
run:</p>
<p>When a user agent is to <dfn id=fetch>fetch</dfn> a resource or
<a href=#url>URL</a>, optionally from an origin <i title="">origin</i>,
the following steps must be run. (When a <em>URL</em> is to be
fetched, the URL identifies a resource to be obtained.)</p>

<ol><li><p>If the resource is identified by the <a href=#url>URL</a>
<dfn id=about:blank><code>about:blank</code></dfn>, then return the empty string
Expand Down
7 changes: 4 additions & 3 deletions source
Expand Up @@ -4547,9 +4547,10 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<h3>Fetching resources</h3>

<p>When a user agent is to <dfn>fetch</dfn> a resource, optionally
from an origin <i title="">origin</i>, the following steps must be
run:</p>
<p>When a user agent is to <dfn>fetch</dfn> a resource or
<span>URL</span>, optionally from an origin <i title="">origin</i>,
the following steps must be run. (When a <em>URL</em> is to be
fetched, the URL identifies a resource to be obtained.)</p>

<ol>

Expand Down

0 comments on commit e22a399

Please sign in to comment.