[Webkit-unassigned] [Bug 35302] Worker error events do not have their message, filename, and lineno fields properly set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 15 09:14:08 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=35302


Owen Merkling <omerkling at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |omerkling at google.com




--- Comment #2 from Owen Merkling <omerkling at google.com>  2011-06-15 09:14:08 PST ---
ErrorEvents created inside the WorkerGlobal scope also do not have their properties defined.  It appears that instead the paramater passed to onerror is the message itself, not an ErrorEvent.
Attached files that demonstrate this issue.


Expected output to console from running errors.html:
Message recieved from worker1: Uncaught Error: Test Error (or similar message)
Message recieved from worker2:  Uncaught Error: Test Error (or similar message)
Uncaught Error: Test Error


Actual:
Message recieved from worker1: No Error Message:Uncaught Error: Test Error
Message recieved from worker2: No Error Message:Uncaught Error: Test Error
Uncaught Error: Test Error


The 'No Error Message' indicates that error.message was undefined, and 'Uncaught Error: Test Error' was the string value of error.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list