The error event fires when the browser encounters a JavaScript error or when an image file does not exist.
| Event | IE 5.5 | IE 6 | IE 7 | IE8b1 | FF 2 | FF 3b5 | Saf 3.0 Win | Saf 3.1 Win | Opera 9.26 | Opera 9.5b | Konqueror 3.5.7 |
|---|---|---|---|---|---|---|---|---|---|---|---|
|
On the window
|
Incom |
Incom |
No | No | No | ||||||
|
When the browser encounters a JavaScript error it should fire the error event from the window.
|
|||||||||||
|
On the document
|
No | No | No | Yes | Yes | ||||||
|
Is the error event available on the document? |
|||||||||||
|
On an image
|
Yes | Yes | Yes | Yes | Yes | ||||||
|
When an image file does not exist the error event should fire. |
|||||||||||
|
Event bubbling
The spec says this event should bubble, but most browsers disagree. |
No | No | Untest |
Yes | No | ||||||
| Event | IE 5.5 | IE 6 | IE 7 | IE8b1 | FF 2 | FF 3b5 | Saf 3.0 Win | Saf 3.1 Win | Opera 9.26 | Opera 9.5b | Konqueror 3.5.7 |