Skip to content

Commit

Permalink
fixup! fixup! lib: define FormData and fetch etc. in the built-in sna…
Browse files Browse the repository at this point in the history
…pshot
  • Loading branch information
joyeecheung committed Jan 29, 2024
1 parent 4581306 commit ea40f6d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/internal/bootstrap/web/exposed-window-or-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ installObjectURLMethods();
configurable: true,
enumerable: true,
set,
});
ObjectDefineProperty(globalThis, 'fetch', {
__proto__: null,
configurable: true,
enumerable: true,
get() {
function fetch(input, init = undefined) {
// Loading undici alone lead to promises which breaks lots of tests so we
Expand Down

0 comments on commit ea40f6d

Please sign in to comment.