- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 21 Sep 2012 19:58:55 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/workers In directory hutz:/tmp/cvs-serv22420 Modified Files: Overview.html Log Message: Add 'column' to Worker error events, to match onerror. Also, a typo xref fix. (whatwg r7391) Index: Overview.html =================================================================== RCS file: /sources/public/html5/workers/Overview.html,v retrieving revision 1.342 retrieving revision 1.343 diff -u -d -r1.342 -r1.343 --- Overview.html 17 Sep 2012 03:06:22 -0000 1.342 +++ Overview.html 21 Sep 2012 19:58:53 -0000 1.343 @@ -216,7 +216,7 @@ <h1>Web Workers</h1> - <h2 class="no-num no-toc" id="editor-s-draft-17-september-2012">Editor's Draft 17 September 2012</h2> + <h2 class="no-num no-toc" id="editor-s-draft-21-september-2012">Editor's Draft 21 September 2012</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> @@ -355,7 +355,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 17 September 2012 Editor's Draft. + This specification is the 21 September 2012 Editor's Draft. </p> @@ -1851,7 +1851,7 @@ the error occurred while handling a previous script error, the user agent must <span>queue a task</span> to fire an event that uses the <code><a href="#errorevent">ErrorEvent</a></code> interface, with the name <code title="event-error">error</code>, that doesn't bubble and is - cancelable, with its <code title="dom-ErrorEvent-message"><a href="#dom-errorevent-message">message</a></code>, <code title="dom-ErrorEvent-filename"><a href="#dom-errorevent-filename">filename</a></code>, and <code title="dom-ErrorEvent-lineno"><a href="#dom-errorevent-lineno">lineno</a></code> attributes initialized + cancelable, with its <code title="dom-ErrorEvent-message"><a href="#dom-errorevent-message">message</a></code>, <code title="dom-ErrorEvent-filename"><a href="#dom-errorevent-filename">filename</a></code>, <code title="dom-ErrorEvent-lineno"><a href="#dom-errorevent-lineno">lineno</a></code>, and <code title="dom-ErrorEvent-column"><a href="#dom-errorevent-column">column</a></code> attributes initialized appropriately, at the <code><a href="#worker">Worker</a></code> object associated with the worker. If the event is not canceled, the user agent must act as if the uncaught runtime script error had occurred in the global scope @@ -1878,12 +1878,14 @@ readonly attribute DOMString <a href="#dom-errorevent-message" title="dom-ErrorEvent-message">message</a>; readonly attribute DOMString <a href="#dom-errorevent-filename" title="dom-ErrorEvent-filename">filename</a>; readonly attribute unsigned long <a href="#dom-errorevent-lineno" title="dom-ErrorEvent-lineno">lineno</a>; + readonly attribute unsigned long <a href="#dom-errorevent-column" title="dom-ErrorEvent-column">column</a>; }; dictionary <dfn id="erroreventinit">ErrorEventInit</dfn> : <span>EventInit</span> { DOMString message; DOMString filename; unsigned long lineno; + unsigned long column; };</pre> <p>The <dfn id="dom-errorevent-message" title="dom-ErrorEvent-message"><code>message</code></dfn> attribute @@ -1903,6 +1905,12 @@ represents the line number where the error occurred in the script.</p> + <p>The <dfn id="dom-errorevent-column" title="dom-ErrorEvent-column"><code>column</code></dfn> + attribute must return the value it was initialized to. When the + object is created, this attribute must be initialized to zero. It + represents the column number where the error occurred in the + script.</p> + <h3 id="creating-workers"><span class="secno">4.7 </span>Creating workers</h3>
Received on Friday, 21 September 2012 19:58:56 UTC