WindowEventHandlers.onmessageerror
Baseline 2023Newly available
Since March 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
WindowEventHandlers
接口的 onmessageerror 事件处理器是一个 EventListener
,每当一个类型为 messageerror
的 EventListener
事件在一个窗口被触发 --也就是说,当它收到的消息不能是deserialized 。
备注: 此特性在 Web Worker 中可用。
语法
window.onmessageerror = function() { ... };
规范
Specification |
---|
HTML # event-messageerror |
HTML # handler-window-onmessageerror |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
messageerror event |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.