summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_child-src_shared_worker.js
blob: dbcdf9c9d7ac55d9ded7154d134833fd3fbad77f (plain)
1
2
3
4
5
6
7
8
onconnect = function (e) {
  var port = e.ports[0];
  port.addEventListener("message", function (e) {
    port.postMessage("success");
  });

  port.start();
};