buffer: add @@toStringTag to Blob · nodejs/node@c160d88 · GitHub
Skip to content

Commit c160d88

Browse files
cjihrigdanielleadams
authored andcommitted
buffer: add @@toStringTag to Blob
This commit adds the toStringTag to the Blob class to match the behavior of Chrome and Firefox. PR-URL: #37336 Fixes: #37337 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent dd054ca commit c160d88

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

lib/internal/blob.js

Lines changed: 7 additions & 0 deletions

test/parallel/test-blob.js

Lines changed: 11 additions & 0 deletions

0 commit comments

Comments
 (0)