mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
0a8ff0ad85
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D35951 --HG-- extra : source : 62f3501af4bc1c0bd1ee1977a28aee04706a6663
10 lines
138 B
JavaScript
10 lines
138 B
JavaScript
"use strict";
|
|
|
|
this.onmessage = function(event) {
|
|
switch (event.data) {
|
|
case "ping":
|
|
postMessage("pong");
|
|
break;
|
|
}
|
|
};
|