summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/WorkerDebugger.postMessage_debugger.js
blob: 4a231b7ab9c6e7b14873cbf70011d77db67f452b (plain)
1
2
3
4
5
6
7
8
9
"use strict"

this.onmessage = function (event) {
  switch (event.data) {
  case "ping":
    postMessage("pong");
    break;
  }
};