mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 15:43:10 -10:00
10 lines
132 B
JavaScript
10 lines
132 B
JavaScript
"use strict"
|
|
|
|
this.onmessage = function (event) {
|
|
switch (event.data) {
|
|
case "ping":
|
|
postMessage("pong");
|
|
break;
|
|
}
|
|
};
|