Skip to content

Commit c14c6c6

Browse files
KhafraDevmetcoder95
authored andcommitted
fix(wpts): Blob is a global getter in >=v19.x.x (nodejs#1880)
1 parent b34a759 commit c14c6c6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/wpt/runner/runner/worker.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ Object.defineProperties(globalThis, {
6464
CloseEvent: {
6565
...globalPropertyDescriptors,
6666
value: CloseEvent
67+
},
68+
Blob: {
69+
...globalPropertyDescriptors,
70+
// See https://github.com/nodejs/node/pull/45659
71+
value: buffer.Blob
6772
}
6873
})
6974

0 commit comments

Comments
 (0)