Implement TextEncoder.encodeInto() for faster JS/Wasm interop
Categories
(Core :: Internationalization, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: hsivonen, Assigned: hsivonen)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-complete)
Attachments
(2 files, 2 obsolete files)
(deleted),
patch
|
hsivonen
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
emk
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Comment on attachment 9035561 [details] [diff] [review]
Manual WPT sync patch
Oops. Wrong diff.
Assignee | ||
Comment 6•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
Hmm. Somehow annevk wasn't CCed yet. Anyway, attachment 9035563 [details] [diff] [review] was based on IRC discussion.
Assignee | ||
Comment 10•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Comment 11•6 years ago
|
||
Assignee | ||
Comment 12•6 years ago
|
||
Thanks for the r+. Typo fixed locally. Trying Mac WPT once more with a different base revision before pushing for real:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=83a33bf4bd42008da76126847476262013cb9c86
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f7ecf49bb4c0
https://hg.mozilla.org/mozilla-central/rev/3c73631c8237
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Comment 15•6 years ago
|
||
Note to MDN team — I've added a note about this update to the 66 rel notes: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/66#APIs
When actually documenting this, you'll need to add a page for the new method, but you'll also want to consider if we need to talk about it somewhere suitable in the WebAssembly docs.
Comment 16•6 years ago
|
||
I've documented this:
Page added for encodeInto():
https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder#Methods
https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/encodeInto
PR filed to add compat data entry for it:
https://github.com/mdn/browser-compat-data/pull/3581
I'm leaving WebAssembly doc additions for now, as we are aiming to do an in-depth update later on in the year anyway.
Let me know if that's OK. Thanks!
Description
•