- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 23 Jun 2009 22:10:59 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/workers In directory hutz:/tmp/cvs-serv2331 Modified Files: Overview.html Log Message: Workers have to define how to resolve the URL passed to the constructor, oops. (whatwg r3309) Index: Overview.html =================================================================== RCS file: /sources/public/html5/workers/Overview.html,v retrieving revision 1.132 retrieving revision 1.133 diff -u -d -r1.132 -r1.133 --- Overview.html 23 Jun 2009 01:58:34 -0000 1.132 +++ Overview.html 23 Jun 2009 22:10:57 -0000 1.133 @@ -1545,7 +1545,9 @@ the <code><a href="#worker">Worker</a></code> interface:<table><thead><tr><th><span title="event handler attributes">event handler attribute</span> <th><span>Event handler event type</span> <tbody><tr><td><dfn id="handler-worker-onmessage" title="handler-Worker-onmessage"><code>onmessage</code></dfn> <td> <code title="event-message">message</code> </table><hr><p>When the <dfn id="dom-worker" title="dom-Worker"><code>Worker(<var title="">scriptURL</var>)</code></dfn> constructor is invoked, the - user agent must run the following steps:<ol><li><p><span title="resolve a url">Resolve</span> the <var title="">scriptURL</var> argument.</li> + user agent must run the following steps:<ol><li><p><span title="resolve a url">Resolve</span> the <var title="">scriptURL</var> argument relative to the <span>first + script</span>'s <span title="script's base URL">base URL</span>, + when the method is invoked.</li> <li><p>If this fails, throw a <code>SYNTAX_ERR</code> exception.</li>
Received on Tuesday, 23 June 2009 22:11:09 UTC