messageerror
Newly available since 2023-03-27
The messageerror
event fires on a target, such as a window or worker, when an incoming message cannot be deserialized. This event can fire for many types of messages, such as cross-document messages or broadcast channel messages.
To learn more, see
DedicatedWorkerGlobalScope: messageerror event,
MessagePort: messageerror event,
ServiceWorkerContainer: messageerror event,
Window: messageerror event at MDN.
Compatibility
- Chrome 80 Released on 2020-02-04
- Chrome Android 80 Released on 2020-02-04
- Edge 80 Released on 2020-02-07
- Firefox 65 Released on 2019-01-29
- Firefox for Android 65 Released on 2019-01-29
- Safari 16.4 Released on 2023-03-27
- Safari on iOS 16.4 Released on 2023-03-27