mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-11 02:56:06 +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;
|
|
}
|
|
};
|
|
};
|