Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blob.arrayBuffer() returns Uint8Array not ArrayBuffer #78

Open
angiedemarc opened this issue Jan 26, 2021 · 0 comments · Fixed by bjornstar/blob-polyfill#9
Open

Blob.arrayBuffer() returns Uint8Array not ArrayBuffer #78

angiedemarc opened this issue Jan 26, 2021 · 0 comments · Fixed by bjornstar/blob-polyfill#9

Comments

@angiedemarc
Copy link

Blob.arrayBuffer() returns a Uint8Array instead of an ArrayBuffer. This line should have additional '.buffer' after saying 'this._buffer' to return an ArrayBuffer

bjornstar added a commit to bjornstar/blob-polyfill that referenced this issue Feb 3, 2021
* [Blob.js] Blob.arrayBuffer() should return a promise that resolves with an ArrayBuffer (Fixes eligrey#78) (@bjornstar)
* [test] Add a test for Blob.arrayBuffer (@bjornstar)
* [package.json] Update devDependencies: `eslint` & `mocha` (@bjornstar)
* [package.json] Add devDependency: `@sindresorhus/is` (@bjornstar)
bjornstar added a commit to bjornstar/blob-polyfill that referenced this issue Feb 3, 2021
* [Blob.js] Blob.arrayBuffer() should return a promise that resolves with an ArrayBuffer (Fixes eligrey#78) (@bjornstar)
* [test] Add a test for Blob.arrayBuffer (@bjornstar)
* [package.json] Update devDependencies: `eslint` & `mocha` (@bjornstar)
* [package.json] Add devDependency: `@sindresorhus/is` (@bjornstar)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant