WindowEventHandlers.onmessageerror

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!
您也可以阅读此文章的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

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 60 ? 57 (57) ? 47 ?
Available in workers 60 ? 57 (57) ? 47 ?
Feature Android Webview Chrome for Android Edge Firefox Mobile (Gecko) Firefox OS (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support 60 60 ? 57.0 (57) ? ? 47 ?
Available in workers 60 60 ? 57.0 (57) ? ? 47 ?

See also

文档标签和贡献者

 此页面的贡献者: chrisdavidmills, jpmedley
 最后编辑者: chrisdavidmills,