14 lines
359 B
Plaintext
14 lines
359 B
Plaintext
Test that "error" event listener added with window.addEventListener is invoked for uncaucht exceptions. Bug 8519.
|
|
|
|
event passed to the listener is the same as window.event: true
|
|
Event details:
|
|
type: error
|
|
phase: 2
|
|
currentTarget is the global object: true
|
|
message: Error: My fault.
|
|
filename: window-onerror10.html
|
|
lineno: 31
|
|
colno: 29
|
|
error: Error: My fault.
|
|
|