Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement TextEncoder. #4768
Implement TextEncoder. #4768
Comments
|
Allow me try this if you permit. I'm afraid that I may take long time to complete. |
|
Go ahead! This is mostly about plugging things together between JavaScript and Rust. The rust-encoding library, which we already use in Servo, implements the encodings themselves as well as the label lookup. |
|
There is a problem: the codegen python cannot recognize |
|
Just use DOMString instead and leave a FIXME comment. |
|
I'm stuck at |
|
OH! my fault (: P) |
|
The spec said the Since I saw the link in
Or maybe it talking about two different thing? |
|
Using |
Spec: https://encoding.spec.whatwg.org/#interface-textencoder.
This includes enabling the relevant tests by adding
[encoding] skip: falseto
tests/wpt/include.ini.This may also include updating the
mozjsandrust-mozjsdependencies to ensure we can work with typed arrays.