Open
Description
Is your feature request related to a problem? Please describe.
In addition to what the NativeScript runtimes provide, they should also provide all the common interfaces and global objects expected from any state of the art JavaScript runtime. WinterCG is a community group doing excellent work in this space to help runtime interoperability of APIs across runtimes.
Describe the solution you'd like
Ensure compliance with at least the minimum specification:
Interfaces:
- AbortController
- AbortSignal
- Blob
- ByteLengthQueuingStrategy
- CompressionStream
- CountQueuingStrategy
- Crypto 8.8
- CryptoKey
- DecompressionStream
- DOMException
- Event
- EventTarget
- File
- ReadableByteStreamController
- ReadableStream
- ReadableStreamBYOBReader
- ReadableStreamBYOBRequest
- ReadableStreamDefaultController
- ReadableStreamDefaultReader
- SubtleCrypto 8.8
- TextDecoder
- TextDecoderStream
- TextEncoder
- TextEncoderStream
- TransformStream
- TransformStreamDefaultController
- URL 8.7
- URLPattern
- URLSearchParams 8.7
- WritableStream
- WritableStreamDefaultController
Global methods / properties:
- globalThis.atob() 8.8
- globalThis.btoa() 8.8
- globalThis.console
- globalThis.crypto 8.8
- globalThis.navigator.userAgent
- globalThis.queueMicrotask()
- globalThis.setTimeout() / globalThis.clearTimeout()
- globalThis.setInterval() / globalThis.clearInterval()
- globalThis.[structuredClone()](https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- I agree to follow this project's Code of Conduct