Files
node/lib
Anna Henningsen 007a85ce83 worker: add ports property to MessageEvents
Add `ev.ports` for spec compliancy.

Since we only emit the raw `data` value, and only create the
`MessageEvent` instance if there are EventTarget-style listeners,
we store the ports list temporarily on the MessagePort object itself,
so that we can look it up when we need to create the event object.

Fixes: https://github.com/nodejs/node/issues/37358

PR-URL: https://github.com/nodejs/node/pull/37538
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2021-03-03 23:23:38 +01:00
..
2020-05-24 03:26:21 +02:00
2020-02-18 22:15:50 -08:00
2020-10-21 01:26:34 +02:00
2021-02-11 19:30:28 +05:30
2021-01-22 19:54:34 -08:00
2021-01-22 19:56:34 -08:00
2021-03-03 19:53:24 +01:00
2020-12-29 16:06:05 +01:00
2021-02-11 19:30:28 +05:30
2021-01-30 07:49:28 -08:00
2021-03-03 19:53:24 +01:00
2021-01-28 12:53:50 +01:00
2021-03-03 19:53:24 +01:00
2021-02-11 19:30:28 +05:30
2020-12-28 19:47:41 +00:00