workers; hixie: Tighten up onerror's definition. (whatwg r6819)

workers; hixie: Tighten up onerror's definition. (whatwg r6819)

http://dev.w3.org/cvsweb/html5/workers/Overview.html?r1=1.313&r2=1.314&f=h
http://html5.org/tools/web-apps-tracker?from=6818&to=6819

===================================================================
RCS file: /sources/public/html5/workers/Overview.html,v
retrieving revision 1.313
retrieving revision 1.314
diff -u -d -r1.313 -r1.314
--- Overview.html 28 Oct 2011 20:24:46 -0000 1.313
+++ Overview.html 10 Nov 2011 23:45:13 -0000 1.314
@@ -215,7 +215,7 @@
 
    <h1>Web Workers</h1>
    
-   <h2 class="no-num no-toc" id="editor-s-draft-28-october-2011">Editor's Draft 28 October 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-10-november-2011">Editor's Draft 10 November 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/workers/">http://www.w3.org/TR/workers/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -322,7 +322,7 @@
   </dl><p>The W3C <a href="http://www.w3.org/2008/webapps/">Web Applications
   Working Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation track.
-  This specification is the 28 October 2011 Editor's Draft.
+  This specification is the 10 November 2011 Editor's Draft.
   </p><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
   February 2004 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/42538/status" rel="disclosure">public list of
   any patent disclosures</a> made in connection with the deliverables
@@ -1398,8 +1398,10 @@
   <span>DOM manipulation task source</span>.<h3 id="runtime-script-errors"><span class="secno">4.7 </span>Runtime script errors</h3><p>Whenever an uncaught runtime script error occurs in one of the
   worker's scripts, if the error did not occur while handling a
   previous script error, the user agent must <span>report the
-  error</span> using the <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object's <code title="handler-WorkerGlobalScope-onerror"><a href="#handler-workerglobalscope-onerror">onerror</a></code>
-  attribute.
+  error</span> at the <span>URL</span> of the resource that contained
+  the script, with the line number where the error occurred, in the
+  <span>origin</span> of the scripts running in the worker, using the
+  <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object's <code title="handler-WorkerGlobalScope-onerror"><a href="#handler-workerglobalscope-onerror">onerror</a></code> attribute.
   
   <a href="#refsHTML">[HTML]</a>
   
@@ -1858,7 +1860,8 @@
 
      <li>
 
-      <p><span>Create a script</span>, using <var title="">source</var> as the script source and <var title="">language</var> as the scripting language, using the
+      <p><span>Create a script</span>, using <var title="">source</var> as the script source, the <span>URL</span>
+      from which <var title="">source</var> was obtained, and <var title="">language</var> as the scripting language, using the
       same global object, browsing context, URL character encoding,
       base URL, and script group as the <span title="concept-script">script</span> that was created by the
       worker's <a href="#run-a-worker">run a worker</a> algorithm.</p>

Received on Thursday, 10 November 2011 23:45:37 UTC