PyMiniRacer
PyMiniRacer copied to clipboard
When plan to implement btoa atob TextDecoder TextEncoder Apis?
Steps to reproduce
from py_mini_racer import MiniRacer racer = MiniRacer() result = racer.eval("btoa") print(result) result = racer.eval("btoa") print(result) result = racer.eval("TextEncoder ") print(result)
Expected behavior
I hope the author can implement these important APIs, as PyExecutJS has already implemented them
Actual behavior
py_mini_racer._types.JSEvalException:
System configuration
PyMiniRacer version: 0.12.4 Python version: 3.10
Hi!
These are Web APIs, not JavaScript APIs, so the answer "is not likely soon if ever".
PyMiniRacer is primarily a wrapper of V8, which implements the JavaScript standard and not Web APIs.