Closed
Description
We currently have one polyfill that I know of in the form of src/promise_polyfill.js
. I was proposing adding a second as part of #15822, and the discussion prompted me to open this issue.
It seems we lack a policy if how/when to include polyfill code in JS. This issue is opened to discuss what policy we should have.
Open questions:
- Should we prefer to polyfill the JS library or provide implementations under our own namespace?
- Should we allow the user to disable the output of all polyfills (i.e. maybe they want to provide their own centralized polyfills outside of emscripten-generated code).
Metadata
Metadata
Assignees
Labels
No labels