mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
12 lines
185 B
JavaScript
12 lines
185 B
JavaScript
"use strict";
|
|
|
|
self.onconnect = function (event) {
|
|
event.ports[0].onmessage = function (event) {
|
|
switch (event.data) {
|
|
case "close":
|
|
close();
|
|
break;
|
|
}
|
|
};
|
|
};
|