← Back to release summary

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

Ecosystem

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

View on chromestatus.com