mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-02-08 01:31:00 +00: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]]);
|
|
}
|