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 metcoder95 committed Jul 21, 2023
1 parent b34a759 commit c14c6c6
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 c14c6c6

Please sign in to comment.