The error event fires when the browser encounters a JavaScript error or when an asset does not exist.
Test | IE 5.5 | IE 6 | IE 7 | IE8 | IE9 | IE10 pr2 | FF 7.0 Win | FF 6.1 Mac | Saf 5.1 Win | Saf 5.1 Mac | Chrome 14 Win | Chrome 13 Mac | Opera 11.51 Win | Opera 11.51 Mac |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JavaScript error
|
Yes | Yes | Almost | Yes | No | |||||||||
When the browser encounters a JavaScript error it does the following:
|
||||||||||||||
Image source wrong
|
Yes | Yes | Yes | Yes | Yes | |||||||||
When an image file does not exist the error event should fire from the |
||||||||||||||
Script source wrong
|
Not tested | No | Yes | Incom |
Yes | Yes | No | |||||||
When a script file does not exist the error event should fire from the
|
||||||||||||||
CSS source wrong
|
Not tested | Incom |
No | No | No | No | ||||||||
When a CSS file does not exist the error event should fire from the
|
||||||||||||||
iframe source wrong
|
Not tested | No | No | No | No | No | ||||||||
When an HTML file loaded into an iframe does not exist the error event should fire from the |
||||||||||||||
Test | IE 5.5 | IE 6 | IE 7 | IE8 | IE9 | IE10 pr2 | FF 7.0 Win | FF 6.1 Mac | Saf 5.1 Win | Saf 5.1 Mac | Chrome 14 Win | Chrome 13 Mac | Opera 11.51 Win | Opera 11.51 Mac |