Workers have to define how to resolve the URL passed to the constructor, oops. (whatwg r3309)

Workers have to define how to resolve the URL passed to the constructor,
oops. (whatwg r3309)

http://dev.w3.org/cvsweb/html5/workers/Overview.html?r1=1.132&r2=1.133&f=h
http://html5.org/tools/web-apps-tracker?from=3308&to=3309

===================================================================
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:21:13 UTC