Movatterモバイル変換


[0]ホーム

URL:


  1. 面向开发者的 Web 技术
  2. Web API
  3. Window
  4. WindowEventHandlers.onmessageerror

此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in EnglishAlways switch to English

WindowEventHandlers.onmessageerror

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2023年3月.

WindowEventHandlers接口的 onmessageerror 事件处理器是一个EventListener,每当一个类型为messageerrorEventListener 事件在一个窗口被触发 --也就是说,当它收到的消息不能是deserialized

备注: 此特性在Web Worker 中可用。

语法

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

规范

Specification
HTML
# event-messageerror
HTML
# handler-window-onmessageerror

浏览器兼容性

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp