Skip to content

Commit a323153

Browse files
Remove the 'no-cors' option, which no longer seems necessary, but at the (#189)
same time creates problem on certain websites. Difficult to confirm now, but most likely it was necessary in the past, because otherwise browsers included an Origin header with the extension ID. Especially on Firefox, this was problematic, since the extension ID is a unique identifier. But now with Firefox 148 and Chromium 145, I could no longer reproduce that this workaround is still useful.
1 parent 2b53dca commit a323153

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

reporting/src/http.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,6 @@ async function singleHttpGetStep(url, params = {}) {
454454
const controller = new AbortController();
455455
const options = {
456456
credentials: 'omit',
457-
mode: 'no-cors',
458457
redirect,
459458
signal: controller.signal,
460459
};

0 commit comments

Comments
 (0)