summaryrefslogtreecommitdiffstats
path: root/toolkit/components/extensions/test/mochitest/webrequest_chromeworker.js
blob: ccfb2ac1fc13b5572691fdb2b25c8dccb7b412ff (plain)
1
2
3
4
5
6
7
8
"use strict";

onmessage = function(event) {
  fetch("https://example.com/example.txt").then(() => {
    postMessage("Done!");
  });
};