kripken/emscripten — Issue #139: Polyfill around typed arrays
Author: kripken
Created: 2011-12-12 21:17:55+00:00
State: open

https://github.com/mozilla/pdf.js/blob/master/web/compatibility.js#L7-49

is a polyfill for some of the typed arrays spec, letting older browsers use the typed arrays API (slowly).

Would be nice for emscripten to use that too, so typed array builds would work and not fail as they do not, if the environment lacks typed arrays. We do need more support than in that link, though (different size arrays, shared buffers, etc.).