Title: WinterTC Minimum Common Web Platform API Alignment · Issue #10297 · NativeScript/NativeScript · GitHub
Open Graph Title: WinterTC Minimum Common Web Platform API Alignment · Issue #10297 · NativeScript/NativeScript
X Title: WinterTC Minimum Common Web Platform API Alignment · Issue #10297 · NativeScript/NativeScript
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 run...
Open Graph 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 ...
X 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 ...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/10297
X: @github
Domain: Github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"WinterTC Minimum Common Web Platform API Alignment","articleBody":"### Is your feature request related to a problem? Please describe.\r\n\r\nIn 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](https://wintercg.org/) is a community group doing excellent work in this space to help runtime interoperability of APIs across runtimes.\r\n\r\n- https://wintercg.org/work\r\n- https://common-min-api.proposal.wintercg.org/\r\n\r\n### Describe the solution you'd like\r\n\r\nEnsure compliance with at least the [minimum specification](https://common-min-api.proposal.wintercg.org/):\r\n\r\n**Interfaces:**\r\n\r\n- [ ] [AbortController](https://dom.spec.whatwg.org/#abortcontroller)\r\n- [ ] [AbortSignal](https://dom.spec.whatwg.org/#abortsignal)\r\n- [ ] [Blob](https://w3c.github.io/FileAPI/#dfn-Blob)\r\n- [ ] [ByteLengthQueuingStrategy](https://streams.spec.whatwg.org/#bytelengthqueuingstrategy)\r\n- [ ] [CompressionStream](https://wicg.github.io/compression/#compression-stream)\r\n- [ ] [CountQueuingStrategy](https://streams.spec.whatwg.org/#countqueuingstrategy)\r\n- [x] [Crypto](https://w3c.github.io/webcrypto/#dfn-Crypto) **8.8**\r\n- [ ] [CryptoKey](https://w3c.github.io/webcrypto/#dfn-CryptoKey)\r\n- [ ] [DecompressionStream](https://wicg.github.io/compression/#decompression-stream)\r\n- [ ] [DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)\r\n- [ ] [Event](https://dom.spec.whatwg.org/#event)\r\n- [ ] [EventTarget](https://dom.spec.whatwg.org/#eventtarget)\r\n- [ ] [File](https://w3c.github.io/FileAPI/#dfn-file)\r\n- [ ] [ReadableByteStreamController](https://streams.spec.whatwg.org/#readablebytestreamcontroller)\r\n- [ ] [ReadableStream](https://streams.spec.whatwg.org/#readablestream)\r\n- [ ] [ReadableStreamBYOBReader](https://streams.spec.whatwg.org/#readablestreambyobreader)\r\n- [ ] [ReadableStreamBYOBRequest](https://streams.spec.whatwg.org/#readablestreambyobrequest)\r\n- [ ] [ReadableStreamDefaultController](https://streams.spec.whatwg.org/#readablestreamdefaultcontroller)\r\n- [ ] [ReadableStreamDefaultReader](https://streams.spec.whatwg.org/#readablestreamdefaultreader)\r\n- [x] [SubtleCrypto](https://w3c.github.io/webcrypto/#dfn-SubtleCrypto) **8.8**\r\n- [x] [TextDecoder](https://encoding.spec.whatwg.org/#textdecoder)\r\n- [x] [TextDecoderStream](https://encoding.spec.whatwg.org/#textdecoderstream)\r\n- [x] [TextEncoder](https://encoding.spec.whatwg.org/#textencoder)\r\n- [x] [TextEncoderStream](https://encoding.spec.whatwg.org/#textencoderstream)\r\n- [ ] [TransformStream](https://streams.spec.whatwg.org/#transformstream)\r\n- [ ] [TransformStreamDefaultController](https://streams.spec.whatwg.org/#transformstreamdefaultcontroller)\r\n- [x] [URL](https://url.spec.whatwg.org/#url) **8.7**\r\n- [ ] [URLPattern](https://wicg.github.io/urlpattern/#urlpattern-class)\r\n- [x] [URLSearchParams](https://url.spec.whatwg.org/#urlsearchparams) **8.7**\r\n- [ ] [WritableStream](https://streams.spec.whatwg.org/#writablestream)\r\n- [ ] [WritableStreamDefaultController](https://streams.spec.whatwg.org/#writablestreamdefaultcontroller)\r\n\r\n**Global methods / properties:**\r\n\r\n[globalThis](https://tc39.es/ecma262/multipage/global-object.html#sec-globalthis)\r\n- [x] globalThis.[atob()](https://html.spec.whatwg.org/multipage/webappapis.html#dom-atob) **8.8**\r\n- [x] globalThis.[btoa()](https://html.spec.whatwg.org/multipage/webappapis.html#dom-btoa) **8.8**\r\n- [x] globalThis.[console](https://console.spec.whatwg.org/#namespacedef-console)\r\n- [x] globalThis.[crypto](https://w3c.github.io/webcrypto/#dom-windoworworkerglobalscope-crypto) **8.8**\r\n- [ ] globalThis.[navigator](https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator).[userAgent](https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-useragent)\r\n- [ ] globalThis.[queueMicrotask()](https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask)\r\n- [x] globalThis.[setTimeout()](https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout) / globalThis.[clearTimeout()](https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-cleartimeout)\r\n- [x] globalThis.[setInterval()](https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval) / globalThis.[clearInterval()](https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-clearinterval)\r\n- [ ] globalThis.[structuredClone()](https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone\r\n\r\n### Please accept these terms\r\n\r\n- [X] I have searched the [existing issues](https://github.com/NativeScript/NativeScript/issues) as well as [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript) and this has not been posted before\r\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)","author":{"url":"https://github.com/NathanWalker","@type":"Person","name":"NathanWalker"},"datePublished":"2023-05-25T15:15:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/10297/NativeScript/issues/10297"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a1ed0fdf-4e5d-dd2f-ed7d-93388034a321 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 865C:1AA320:4124AC:5A7114:6A6399E4 |
| html-safe-nonce | 53d6db1ec939d54495868cd930da84224af5bcba621b6f630b1549e13028715f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjVDOjFBQTMyMDo0MTI0QUM6NUE3MTE0OjZBNjM5OUU0IiwidmlzaXRvcl9pZCI6IjMwODU1Mjc4NDE3ODg2MzE1MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 95696dd4b1b014dabb0e1cee284e4d7a42ab51a5250746fc0b3314b280e7c3ed |
| hovercard-subject-tag | issue:1726024226 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/10297/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5d56aaa3f1d39d75a46d5e97732254b0907a137e2296b852653720b46924c038/NativeScript/NativeScript/issues/10297 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5d56aaa3f1d39d75a46d5e97732254b0907a137e2296b852653720b46924c038/NativeScript/NativeScript/issues/10297 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | NathanWalker |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ca676e17c4da4532dc68541e9fc874034ae840c26b5f34da7f1c42d9a600659 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3a0a9f049e072eb8e5795dfddcefdba9e277501d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width