messageerror event and event handlers
- Category
- DOM
- Type
- New or changed feature
- Status
- In development (Chrome In development)
- Intent stage
- None
Summary
Notifies the receiver when a posted message could not be decoded. Currently its only use is when a SharedArrayBuffer cannot be shared. There are also plans to use it for other objects (WebAssembly modules, for example). The messageerror event and associated onmessageerror handler attaches to windows, message ports, broadcast channels, and workers.
Standards & signals
- Specification: https://html.spec.whatwg.org/
- Firefox: Positive
- Safari: No signal
- Web developers: No signals
- Tracking bug: https://bugs.chromium.org/p/chromium/issues/detail?id=714582
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=messageerror-event-and-event-handlers
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+messageerror%20event%20and%20event%20handlers
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=messageerror%20event%20and%20event%20handlers
- Baseline status: https://webstatus.dev/?q=messageerror%20event%20and%20event%20handlers
Docs: https://github.com/whatwg/html/pull/2530 https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessageerror
Samples: https://github.com/w3c/web-platform-tests/issues/5567