PythonMonkey icon indicating copy to clipboard operation
PythonMonkey copied to clipboard

WinterCG compatibility

Open Xmader opened this issue 1 year ago • 0 comments

This issue is to track the progress to make PythonMonkey compatible with WinterCG's interoperable Common Minimum API.


Global methods / properties:

  • [x] globalThis
  • [x] globalThis.atob()
  • [x] globalThis.btoa()
  • [x] globalThis.console
  • [ ] globalThis.crypto
  • [ ] globalThis.fetch()
  • [ ] globalThis.navigator.userAgent
  • [ ] globalThis.performance.now()
  • [ ] globalThis.performance.timeOrigin
  • [ ] globalThis.queueMicrotask()
  • [x] globalThis.setTimeout() / globalThis.clearTimeout()
  • [x] globalThis.setInterval() / globalThis.clearInterval()
  • [ ] globalThis.structuredClone()
  • [x] globalThis.WebAssembly.compile()
  • [ ] globalThis.WebAssembly.compileStreaming()
  • [x] globalThis.WebAssembly.instantiate()
  • [ ] globalThis.WebAssembly.instantiateStreaming()
  • [x] globalThis.WebAssembly.validate()

Interfaces:

  • [ ] AbortController
  • [ ] AbortSignal
  • [ ] Blob
  • [ ] ByteLengthQueuingStrategy
  • [ ] CompressionStream
  • [ ] CountQueuingStrategy
  • [ ] Crypto
  • [ ] CryptoKey
  • [ ] DecompressionStream
  • [x] DOMException
  • [x] Event
  • [x] EventTarget
  • [ ] File
  • [ ] FormData
  • [ ] Headers
  • [ ] ReadableByteStreamController
  • [ ] ReadableStream
  • [ ] ReadableStreamBYOBReader
  • [ ] ReadableStreamBYOBRequest
  • [ ] ReadableStreamDefaultController
  • [ ] ReadableStreamDefaultReader
  • [ ] Request
  • [ ] Response
  • [ ] SubtleCrypto
  • [ ] TextDecoder
  • [ ] TextDecoderStream
  • [ ] TextEncoder
  • [ ] TextEncoderStream
  • [ ] TransformStream
  • [ ] TransformStreamDefaultController
  • [x] URL
  • [x] URLSearchParams
  • [x] WebAssembly.Global
  • [x] WebAssembly.Instance
  • [x] WebAssembly.Memory
  • [x] WebAssembly.Module
  • [x] WebAssembly.Table
  • [ ] WritableStream
  • [ ] WritableStreamDefaultController

Xmader avatar Mar 14 '24 19:03 Xmader