fix: fetch-dependent interfaces in Web Workers (#42595)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
trop[bot] 2024-06-20 16:32:58 -04:00 committed by GitHub
parent 50ea20168d
commit 79751340c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 101 additions and 13 deletions

View file

@ -0,0 +1,7 @@
self.postMessage([
typeof fetch,
typeof Response,
typeof Request,
typeof Headers,
typeof FormData
].join(' '));