blob: 19f05ab339175f7d1b449f02c27cbf5b048d7ed6 [file] [log] [blame]
addEventListener("message", (e) => {
self.port = e.data.port;
});
addEventListener("fetch", (e) => {
if (self.internals) {
self.port.postMessage(self.internals.fetchEventIsSameSite(e) ? "FAIL" : "PASS");
return;
}
self.port.postMessage("PASS");
});