summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_child-src_shared_worker.js
blob: 0fca1394c3bf7979ce6fb094545025ee5ec1349c (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();
}