- From: poot <cvsmail@w3.org>
- Date: Fri, 17 Jun 2011 05:53:30 -0400
- To: public-html-diffs@w3.org
hixie: Fire 'load' on the about:blank document created by window.open() (whatwg r6208) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4974&r2=1.4975&f=h http://html5.org/tools/web-apps-tracker?from=6207&to=6208 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4974 retrieving revision 1.4975 diff -u -d -r1.4974 -r1.4975 --- Overview.html 9 Jun 2011 18:46:01 -0000 1.4974 +++ Overview.html 9 Jun 2011 22:36:57 -0000 1.4975 @@ -43622,15 +43622,27 @@ agent could override the selection of the target browsing context to instead target a new tab.</p> - <p>Then, the user agent must <a href="#navigate">navigate</a> 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 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> + <p>Then, 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> 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 + 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> + + <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 + a task</a> to <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-load">load</code> at the the selected <a href="#browsing-context">browsing + context</a>'s <code><a href="#window">Window</a></code> object, but with its <code title="dom-event-target"><a href="#dom-event-target">target</a></code> set to the the selected + <a href="#browsing-context">browsing context</a>'s <code><a href="#window">Window</a></code> object's + <code><a href="#document">Document</a></code> object (and the <code title="dom-event-currentTarget">currentTarget</code> set to the + <code><a href="#window">Window</a></code> object).</p> <p>The method must return the <code><a href="#windowproxy">WindowProxy</a></code> object of the <a href="#browsing-context">browsing context</a> that was navigated, or null if no
Received on Friday, 17 June 2011 09:53:31 UTC