[html5] r7391 - [giow] (2) Add 'column' to Worker error events, to match onerror. Also, a typo x [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Sep 21 12:58:50 PDT 2012


Author: ianh
Date: 2012-09-21 12:58:49 -0700 (Fri, 21 Sep 2012)
New Revision: 7391

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Add 'column' to Worker error events, to match onerror. Also, a typo xref fix.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17731
Affected topics: HTML, Web Workers

Modified: complete.html
===================================================================
--- complete.html	2012-09-21 19:56:47 UTC (rev 7390)
+++ complete.html	2012-09-21 19:58:49 UTC (rev 7391)
@@ -45803,8 +45803,8 @@
   <p class=note>There is no particular significance to the way some
   of the attributes have their values quoted and others don't. The
   HTML syntax allows a variety of equally valid ways to specify
-  attributes, as discussed <span title=syntax-attribute>in the
-  syntax section.</span></p>
+  attributes, as discussed <a href=#syntax-attributes title=syntax-attributes>in the
+  syntax section.</a></p>
 
   <p>For example, if the customer entered "Denise Lawrence" as their
   name, "555-321-8642" as their telephone number, did not specify an
@@ -83201,7 +83201,7 @@
   the error occurred while handling a previous script error, the user
   agent must <a href=#queue-a-task>queue a task</a> 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
@@ -83228,12 +83228,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> : <a href=#eventinit>EventInit</a> {
   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
@@ -83253,8 +83255,14 @@
   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>
 
 
+
   <h4 id=creating-workers><span class=secno>9.2.6 </span>Creating workers</h4>
 
   <h5 id=the-abstractworker-abstract-interface><span class=secno>9.2.6.1 </span>The <code><a href=#abstractworker>AbstractWorker</a></code> abstract interface</h5>

Modified: index
===================================================================
--- index	2012-09-21 19:56:47 UTC (rev 7390)
+++ index	2012-09-21 19:58:49 UTC (rev 7391)
@@ -45803,8 +45803,8 @@
   <p class=note>There is no particular significance to the way some
   of the attributes have their values quoted and others don't. The
   HTML syntax allows a variety of equally valid ways to specify
-  attributes, as discussed <span title=syntax-attribute>in the
-  syntax section.</span></p>
+  attributes, as discussed <a href=#syntax-attributes title=syntax-attributes>in the
+  syntax section.</a></p>
 
   <p>For example, if the customer entered "Denise Lawrence" as their
   name, "555-321-8642" as their telephone number, did not specify an
@@ -83201,7 +83201,7 @@
   the error occurred while handling a previous script error, the user
   agent must <a href=#queue-a-task>queue a task</a> 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
@@ -83228,12 +83228,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> : <a href=#eventinit>EventInit</a> {
   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
@@ -83253,8 +83255,14 @@
   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>
 
 
+
   <h4 id=creating-workers><span class=secno>9.2.6 </span>Creating workers</h4>
 
   <h5 id=the-abstractworker-abstract-interface><span class=secno>9.2.6.1 </span>The <code><a href=#abstractworker>AbstractWorker</a></code> abstract interface</h5>

Modified: source
===================================================================
--- source	2012-09-21 19:56:47 UTC (rev 7390)
+++ source	2012-09-21 19:58:49 UTC (rev 7391)
@@ -53506,7 +53506,7 @@
   <p class="note">There is no particular significance to the way some
   of the attributes have their values quoted and others don't. The
   HTML syntax allows a variety of equally valid ways to specify
-  attributes, as discussed <span title="syntax-attribute">in the
+  attributes, as discussed <span title="syntax-attributes">in the
   syntax section</a>.</p>
 
   <p>For example, if the customer entered "Denise Lawrence" as their
@@ -96520,8 +96520,9 @@
   title="event-error">error</code>, that doesn't bubble and is
   cancelable, with its <code
   title="dom-ErrorEvent-message">message</code>, <code
-  title="dom-ErrorEvent-filename">filename</code>, and <code
-  title="dom-ErrorEvent-lineno">lineno</code> attributes initialized
+  title="dom-ErrorEvent-filename">filename</code>, <code
+  title="dom-ErrorEvent-lineno">lineno</code>, and <code
+  title="dom-ErrorEvent-column">column</code> attributes initialized
   appropriately, at the <code>Worker</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
@@ -96552,12 +96553,14 @@
   readonly attribute DOMString <span title="dom-ErrorEvent-message">message</span>;
   readonly attribute DOMString <span title="dom-ErrorEvent-filename">filename</span>;
   readonly attribute unsigned long <span title="dom-ErrorEvent-lineno">lineno</span>;
+  readonly attribute unsigned long <span title="dom-ErrorEvent-column">column</span>;
 };
 
 dictionary <dfn>ErrorEventInit</dfn> : <span>EventInit</span> {
   DOMString message;
   DOMString filename;
   unsigned long lineno;
+  unsigned long column;
 };</pre>
 
   <p>The <dfn
@@ -96579,8 +96582,14 @@
   represents the line number where the error occurred in the
   script.</p>
 
+  <p>The <dfn 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>
 
 
+
   <h4>Creating workers</h4>
 
   <h5>The <code>AbstractWorker</code> abstract interface</h5>




More information about the Commit-Watchers mailing list