Web/API/WindowEventHandlers/onmessageerror

From Get docs


The onmessageerror event handler of the WindowEventHandlers interface is an EventListener, called whenever an MessageEvent of type messageerror is fired on a window—that is, when it receives a message that cannot be deserialized.

Note: This feature is available in Web Workers.

Syntax

window.onmessageerror = function() { ... };

Specifications

Specification Status Comment
HTML Living StandardThe definition of 'onmessageerror' in that specification. Living Standard  

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
onmessageerror Chrome

Full support 60

Edge

Full support ≤79

Firefox

Full support 57

IE

?

Opera

Full support 47

Safari

?

WebView Android

Full support 60

Chrome Android

Full support 60

Firefox Android

Full support 57

Opera Android

Full support 44

Safari iOS

?

Samsung Internet Android

Full support 8.0

Available in workers Chrome

Full support 60

Edge

Full support ≤79

Firefox

Full support 57

IE

?

Opera

Full support 47

Safari

?

WebView Android

Full support 60

Chrome Android

Full support 60

Firefox Android

Full support 57

Opera Android

Full support 44

Safari iOS

?

Samsung Internet Android

Full support 8.0

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown


See also