If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

[Workers] Transferable strings

RESOLVED WONTFIX

Status

()

Core
DOM: Workers
RESOLVED WONTFIX
5 years ago
5 years ago

People

(Reporter: Yoric, Unassigned)

Tracking

(Depends on: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

I believe that we could (easily?) implement transferable strings, just as we have transferable array buffers.

This would be quite useful for e.g. I/O:
- JSON.stringify data;
- send it to worker;
- worker encodes it;
- worker writes it to disk.
By the way, if someone is willing to mentor me on this, I'm willing to work on it.
See bug 852187 comment 1
Transferable strings imply that the source string would get neutered, which would make JS strings mutable, which isn't going to fly. I think you want bug 852187 instead.
Good point.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WONTFIX
Cc-ing baku at the suggestion of smaug. Just in case either has an idea.
You need to log in before you can comment on or make changes to this bug.