Open
Description
Continuing from saghul/txiki.js#418:
To avoid duplication across embedders, implement atob, btoa, structuredClone1, queueMicrotask and performance as quickjs-ng C APIs and/or JS globals. We also have to add DOMException but that seems okay to me. We can make them opt-in when the JSContext is created.
1 TBD how to handle transferables
- globalThis.atob()
- globalThis.btoa()
- globalThis.performance.now()
- globalThis.performance.timeOrigin
- globalThis.queueMicrotask()
- globalThis.structuredClone()