Skip to content

Commit

Permalink
fix(wpts): Blob is a global getter in >=v19.x.x (nodejs#1880)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev authored and crysmags committed Feb 27, 2024
1 parent 4d82c5f commit 59f21ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/wpt/runner/runner/worker.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ Object.defineProperties(globalThis, {
CloseEvent: {
...globalPropertyDescriptors,
value: CloseEvent
},
Blob: {
...globalPropertyDescriptors,
// See https://github.com/nodejs/node/pull/45659
value: buffer.Blob
}
})

Expand Down

0 comments on commit 59f21ef

Please sign in to comment.