This was was cloned from bug 17731 as part of operation convergence.
Originally filed: 2012-07-10 11:40:00 +0000
#0 email@example.com 2012-07-10 11:40:19 +0000
Support 'column' here for consistency with window.onerror?
Posted from: 2001:4c28:a030:30:f5b8:b3bc:1bdc:22c2 by firstname.lastname@example.org
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.3; U; en) Presto/2.10.289 Version/12.00
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:
Change Description: No change
Rationale: The bug report applies to the WHATWG specification and not the HTML5 specification.
Web Workers exist in a spec published by the Web Applications WG-instead of resolving this as invalid, we should move it to the correct WebApps component for consideration by that WG.
(In reply to comment #2)
> Web Workers exist in a spec published by the Web Applications WG-instead of
> resolving this as invalid, we should move it to the correct WebApps component
> for consideration by that WG.
Thank you Ted, that was an oversight on my part (sorry Ian!). I'm removing the "outOfScope" keyword I originally applied to this while it was in the HTML WG product.
What exactly is the bug here?
Is the question whether column number should be included in the ErrorEvent interface and the ErrorEventInit dictionary?
The prose in the spec indicates column number should be included in the API but there is no such member in the ErrorEvent interface nor the ErrorEventInit dictionary:
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 report the error at the URL of the resource that contained the script, with the position (line number and column number) ...
FYI, the following test case assumes the ErrorEvent should have a "colno" member:
This was fixed as part of bug 17731.
The attribute is "column", not "colno". No idea where Microsoft got that. That test is invalid.
Who do I assign this to to fix the test?
I've no idea who to reassign the bug to for the test.
The test is not invalid, it's just confusing. It's actually testing the 4th argument to 'onerror' in the worker.