The road to a more standards-compliant Workers API
The WinterCG (W3C Community Group) has been working on identifying common API standards for all JavaScript runtimes to build upon. They have compiled a list of the "Minimum Common Web Platform API" which includes AbortController, ReadableStreamDefaultController, ByteLengthQueuingStrategy, SubtleCrypto, CompressionStream, TextDecoder, CountQueuingStrategy, and more. Workers runtime has made significant improvements in aligning with these standards by enhancing its implementations of Event, EventTarget, URL, streams, AbortController, AbortSignal, TextEncoderStream, TextDecoderStream, CompressionStream, DecompressionStream, and URLPattern APIs. The team plans to continue working on the implementation of fetch() and WebSockets APIs while seeking closer alignment with other runtimes through collaboration in the Web-interoperable Runtimes Community Group.
Company
Cloudflare
Date published
Nov. 14, 2022
Author(s)
James M Snell
Word count
2255
Language
English
Hacker News points
2