Sign in
◑
Theme
chromium
/
external
/
github.com
/
v8
/
node
/
refs/heads/node-ci-2024-02-13
/
.
/
test
/
parallel
/
test-messagechannel.js
blob: 4f92924daa50485aa05285ab0690ba013edfe36a [
file
] [
edit
]
'use strict'
;
const
common
=
require
(
'../common'
);
// See: https://github.com/nodejs/node/issues/49940
(
async
()
=>
{
new
MessageChannel
().
port1
.
postMessage
({},
{
transfer
:
{
*[
Symbol
.
iterator
]()
{}
}
});
})().
then
(
common
.
mustCall
());