- From: poot <cvsmail@w3.org>
- Date: Tue, 26 May 2009 07:12:27 +0900 (JST)
- To: public-html-diffs@w3.org
Clarify how registered handlers work a little. (bug 6457) (whatwg r3125) http://www.w3.org/Bugs/Public/show_bug.cgi?id=6457 Diffs for this change per section: http://people.w3.org/mike/diffs/html5/spec/Overview.1.2283.html#navigate-fragid-step http://people.w3.org/mike/diffs/html5/spec/Overview.1.2283.html#override-url http://people.w3.org/mike/diffs/html5/spec/Overview.1.2283.html#navigate-non-Document http://people.w3.org/mike/diffs/html5/spec/Overview.1.2283.html#dom-navigator-registercontenthandler http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2282&r2=1.2283&f=h http://html5.org/tools/web-apps-tracker?from=3124&to=3125 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2282 retrieving revision 1.2283 diff -u -d -r1.2282 -r1.2283 --- Overview.html 25 May 2009 02:35:01 -0000 1.2282 +++ Overview.html 25 May 2009 22:10:45 -0000 1.2283 @@ -44040,9 +44040,10 @@ a url">resolve</a> the resulting URL, relative to the <a href="#script-s-base-url" title="script's base URL">base URL</a> of the <a href="#first-script">first script</a> at the time the <code title="dom-navigator-registerContentHandler"><a href="#dom-navigator-registercontenthandler">registerContentHandler()</a></code> or <code title="dom-navigator-registerProtocolHandler"><a href="#dom-navigator-registerprotocolhandler">registerProtocolHandler()</a></code> - methods were invoked, and then <a href="#fetch">fetch</a> the resulting - URL using the GET method (<a href="#concept-http-equivalent-get" title="concept-http-equivalent-get">or equivalent</a> for - non-HTTP URLs).</p> + methods were invoked, and then <a href="#navigate">navigate</a> an + appropriate <a href="#browsing-context">browsing context</a> to the resulting URL + using the GET method (<a href="#concept-http-equivalent-get" title="concept-http-equivalent-get">or + equivalent</a> for non-HTTP URLs).</p> <p>To get the escaped version of the <a href="#absolute-url">absolute URL</a> of the content in question, the user agent must replace every @@ -46378,12 +46379,20 @@ equivalent</a>, then <a href="#scroll-to-fragid" title="navigate-fragid">navigate to that fragment identifier</a> and abort these steps.</li> - <li><p>If the new resource is to be handled by displaying some sort - of inline content, e.g. an error message because the specified - scheme is not one of the supported protocols, or an inline prompt - to allow the user to select <a href="#dom-navigator-registerprotocolhandler" title="dom-navigator-registerProtocolHandler">a registered - handler</a> for the given scheme, then <a href="#read-ua-inline" title="navigate-ua-inline">display the inline content</a> and - abort these steps.</li> + <li> + + <p>If the new resource is to be handled by displaying some sort of + inline content, e.g. an error message because the specified scheme + is not one of the supported protocols, or an inline prompt to + allow the user to select <a href="#dom-navigator-registerprotocolhandler" title="dom-navigator-registerProtocolHandler">a registered + handler</a> for the given scheme, then <a href="#read-ua-inline" title="navigate-ua-inline">display the inline content</a> and + abort these steps.</p> + + <p class="note">In the case of a registered handler being used, + the algorithm will be reinvoked with a new URL to handle the + request.</p> + + </li> <li><p>If the new resource is to be handled using a mechanism that does not affect the browsing context, e.g. ignoring the navigation @@ -46585,13 +46594,20 @@ </li> - <li id="navigate-non-Document"><p><i>Non-document content</i>: If, - given <var title="">type</var>, the new resource is to be handled - by displaying some sort of inline content, e.g. a native rendering - of the content, an error message because the specified type is not - supported, or an inline prompt to allow the user to select <a href="#dom-navigator-registercontenthandler" title="dom-navigator-registerContentHandler">a registered - handler</a> for the given type, then <a href="#read-ua-inline" title="navigate-ua-inline">display the inline content</a> and - abort these steps.</li> + <li id="navigate-non-Document"> + + <p><i>Non-document content</i>: If, given <var title="">type</var>, the new resource is to be handled by + displaying some sort of inline content, e.g. a native rendering of + the content, an error message because the specified type is not + supported, or an inline prompt to allow the user to select <a href="#dom-navigator-registercontenthandler" title="dom-navigator-registerContentHandler">a registered + handler</a> for the given type, then <a href="#read-ua-inline" title="navigate-ua-inline">display the inline content</a> and + abort these steps.</p> + + <p class="note">In the case of a registered handler being used, + the algorithm will be reinvoked with a new URL to handle the + request.</p> + + </li> <li><p>Otherwise, the document's <var title="">type</var> is such that the resource will not affect the browsing context,
Received on Monday, 25 May 2009 22:13:02 UTC