[html5] r7105 - [giow] (0) Allow UAs more flexibility in error handling. https://bugs.webkit.org [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue May 15 16:40:47 PDT 2012
Author: ianh
Date: 2012-05-15 16:40:46 -0700 (Tue, 15 May 2012)
New Revision: 7105
Modified:
complete.html
index
source
Log:
[giow] (0) Allow UAs more flexibility in error handling. https://bugs.webkit.org/show_bug.cgi?id=39017
Affected topics: DOM APIs
Modified: complete.html
===================================================================
--- complete.html 2012-05-15 23:18:36 UTC (rev 7104)
+++ complete.html 2012-05-15 23:40:46 UTC (rev 7105)
@@ -65345,16 +65345,21 @@
<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
Modified: index
===================================================================
--- index 2012-05-15 23:18:36 UTC (rev 7104)
+++ index 2012-05-15 23:40:46 UTC (rev 7105)
@@ -65345,16 +65345,21 @@
<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
Modified: source
===================================================================
--- source 2012-05-15 23:18:36 UTC (rev 7104)
+++ source 2012-05-15 23:40:46 UTC (rev 7105)
@@ -76592,16 +76592,22 @@
<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
More information about the Commit-Watchers
mailing list