WindowEventHandlers.onmessageerror

Our volunteers haven't translated this article into Bahasa Indonesia yet. Join us and help get the job done!
You can also read the article in English (US).

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 Standard
The definition of 'onmessageerror' in that specification.
Living Standard  

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support60 ?57 ?47 ?
Available in workers60 ?57 ?47 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support6060 ?5747 ? ?
Available in workers6060 ?5747 ? ?

See also

Tag Dokumen dan Kontributor

Kontributor untuk laman ini: fscholz, chrisdavidmills, jpmedley
Terakhir diperbarui oleh: fscholz,