mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
8219a5c503
Differential Revision: https://phabricator.services.mozilla.com/D177025
5 lines
88 B
JavaScript
5 lines
88 B
JavaScript
var counter = 0;
|
|
onconnect = function (evt) {
|
|
evt.ports[0].postMessage(++counter);
|
|
};
|