Open saghul opened 11 months ago
To avoid duplication across embedders, atob, btoa, structuredClone1, queueMicrotask and performance could be implemented as quickjs-ng C APIs or JS globals. We'd also have to add DOMException but that seems okay to me. We can make them opt-in when the JSContext is created.
Thoughts?
1 TBD how to handle transferables
Yep makes sense to me, let's do that!
For a better Blob and File polyfill I would recommend taking a look at fetch-blob
Thanks!
navigator.userAgent
. See https://github.com/wintercg/proposal-common-minimum-api/issues/62.
navigator.userAgent
. See wintercg/proposal-common-minimum-api#62.
Ehe WinterCG folks banned me from over there at Minimum Common world already. No notice, no reason given. Weak. Anyway, carry on.
https://common-min-api.proposal.wintercg.org/
Interfaces:
Global methods / properties: