Bug 171216 - Implement messageerror event
Summary: Implement messageerror event
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-04-24 04:05 PDT by Anne van Kesteren
Modified: 2023-04-19 14:25 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anne van Kesteren 2017-04-24 04:05:25 PDT
Change to HTML: https://github.com/whatwg/html/pull/2530.

Change to service workers: https://github.com/w3c/ServiceWorker/pull/1130.

Tests: https://github.com/w3c/web-platform-tests/issues/5567.

(https://github.com/w3c/web-platform-tests/pull/5003 has more tests as part of SharedArrayBuffer postMessage() integration.)
Comment 1 Ben Smith 2017-05-05 15:57:58 PDT
I'm implementing this in Chromium (see intent to implement here: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/Z_XzejHJTrs). It would be useful to know if this is on the radar for WebKit.
Comment 2 Philip Jägenstedt 2021-06-10 06:06:37 PDT
Search for "messageerror" shows that this isn't implemented yet. It is in EventNames.h, but never fired.

Unfortunately, these event handler attributes were added, which might confuse feature detection:
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/workers/service/ServiceWorkerContainer.idl?rev=267935#L49
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/workers/service/ServiceWorkerGlobalScope.idl?rev=267935#L48
Comment 3 Radar WebKit Bug Importer 2022-07-05 14:16:47 PDT
<rdar://problem/96467919>
Comment 4 Chris Dumez 2022-11-18 14:52:28 PST
Pull request: https://github.com/WebKit/WebKit/pull/6654
Comment 5 EWS 2022-11-20 15:25:36 PST
Committed 256896@main (5e2beb55a112): <https://commits.webkit.org/256896@main>

Reviewed commits have been landed. Closing PR #6654 and removing active labels.