Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (0) Allow UAs more flexibility in error handling. https://bugs…
….webkit.org/show_bug.cgi?id=39017

Affected topics: DOM APIs

git-svn-id: http://svn.whatwg.org/webapps@7105 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 15, 2012
1 parent 2ed0f94 commit 77827d5
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 15 deletions.
15 changes: 10 additions & 5 deletions complete.html
Expand Up @@ -65345,16 +65345,21 @@ <h4 id=apis-for-creating-and-navigating-browsing-contexts-by-name><span class=se
<p>Otherwise, if <var title="">url</var> is not
"<code><a href=#about:blank>about:blank</a></code>", the user agent must
<a href=#navigate>navigate</a><!--DONAV window.open()--> the selected
<a href=#browsing-context>browsing context</a> to the <a href=#absolute-url>absolute URL</a> (or
error) obtained from <a href=#resolve-a-url title="resolve a url">resolving</a>
<var title="">url</var> earlier. If the <var title="">replace</var>
is true or if the <a href=#browsing-context>browsing context</a> was just created as
<a href=#browsing-context>browsing context</a> to the <a href=#absolute-url>absolute URL</a>
obtained from <a href=#resolve-a-url title="resolve a url">resolving</a> <var title="">url</var> earlier. If the <var title="">replace</var> is
true or if the <a href=#browsing-context>browsing context</a> was just created as
part of <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a
browsing context name</a>, then <a href=#replacement-enabled title="replacement
enabled">replacement must be enabled</a>. The navigation must be
done with the <a href="#script's-browsing-context" title="script's browsing context">browsing
context</a> of the <a href=#entry-script>entry script</a> as the <a href=#source-browsing-context>source
browsing context</a>.</p>
browsing context</a>. If the <a href=#resolve-a-url>resolve a URL</a> algorithm
failed, then the user agent may either instead <a href=#navigate>navigate</a>
to an inline error page, using the same replacement behavior and
source browsing context behavior as described earlier in this
paragraph; or treat the <var title="">url</var> as
"<code><a href=#about:blank>about:blank</a></code>", acting as described in the next
paragraph.</p>

<p>If <var title="">url</var> <em>is</em>
"<code><a href=#about:blank>about:blank</a></code>", the user agent must instead <a href=#queue-a-task>queue
Expand Down
15 changes: 10 additions & 5 deletions index
Expand Up @@ -65345,16 +65345,21 @@ interface <dfn id=window>Window</dfn> : <a href=#eventtarget>EventTarget</a> {
<p>Otherwise, if <var title="">url</var> is not
"<code><a href=#about:blank>about:blank</a></code>", the user agent must
<a href=#navigate>navigate</a><!--DONAV window.open()--> the selected
<a href=#browsing-context>browsing context</a> to the <a href=#absolute-url>absolute URL</a> (or
error) obtained from <a href=#resolve-a-url title="resolve a url">resolving</a>
<var title="">url</var> earlier. If the <var title="">replace</var>
is true or if the <a href=#browsing-context>browsing context</a> was just created as
<a href=#browsing-context>browsing context</a> to the <a href=#absolute-url>absolute URL</a>
obtained from <a href=#resolve-a-url title="resolve a url">resolving</a> <var title="">url</var> earlier. If the <var title="">replace</var> is
true or if the <a href=#browsing-context>browsing context</a> was just created as
part of <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a
browsing context name</a>, then <a href=#replacement-enabled title="replacement
enabled">replacement must be enabled</a>. The navigation must be
done with the <a href="#script's-browsing-context" title="script's browsing context">browsing
context</a> of the <a href=#entry-script>entry script</a> as the <a href=#source-browsing-context>source
browsing context</a>.</p>
browsing context</a>. If the <a href=#resolve-a-url>resolve a URL</a> algorithm
failed, then the user agent may either instead <a href=#navigate>navigate</a>
to an inline error page, using the same replacement behavior and
source browsing context behavior as described earlier in this
paragraph; or treat the <var title="">url</var> as
"<code><a href=#about:blank>about:blank</a></code>", acting as described in the next
paragraph.</p>

<p>If <var title="">url</var> <em>is</em>
"<code><a href=#about:blank>about:blank</a></code>", the user agent must instead <a href=#queue-a-task>queue
Expand Down
16 changes: 11 additions & 5 deletions source
Expand Up @@ -76592,16 +76592,22 @@ interface <dfn>Window</dfn> : <span>EventTarget</span> {
<p>Otherwise, if <var title="">url</var> is not
"<code>about:blank</code>", the user agent must
<span>navigate</span><!--DONAV window.open()--> the selected
<span>browsing context</span> to the <span>absolute URL</span> (or
error) obtained from <span title="resolve a url">resolving</span>
<var title="">url</var> earlier. If the <var title="">replace</var>
is true or if the <span>browsing context</span> was just created as
<span>browsing context</span> to the <span>absolute URL</span>
obtained from <span title="resolve a url">resolving</span> <var
title="">url</var> earlier. If the <var title="">replace</var> is
true or if the <span>browsing context</span> was just created as
part of <span>the rules for choosing a browsing context given a
browsing context name</span>, then <span title="replacement
enabled">replacement must be enabled</span>. The navigation must be
done with the <span title="script's browsing context">browsing
context</span> of the <span>entry script</span> as the <span>source
browsing context</span>.</p>
browsing context</span>. If the <span>resolve a URL</span> algorithm
failed, then the user agent may either instead <span>navigate</span>
to an inline error page, using the same replacement behavior and
source browsing context behavior as described earlier in this
paragraph; or treat the <var title="">url</var> as
"<code>about:blank</code>", acting as described in the next
paragraph.</p>

<p>If <var title="">url</var> <em>is</em>
"<code>about:blank</code>", the user agent must instead <span>queue
Expand Down

0 comments on commit 77827d5

Please sign in to comment.