mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
8 lines
158 B
JavaScript
8 lines
158 B
JavaScript
var mc = new MessageChannel();
|
|
var i = 0;
|
|
|
|
onconnect = function(evt) {
|
|
dump("CONNECTING: "+ i +"\n");
|
|
evt.ports[0].postMessage(42, [mc['port' + ++i]]);
|
|
}
|