Closed Bug 853040 Opened 11 years ago Closed 11 years ago

[Workers] Transferable strings

Categories

(Core :: DOM: Workers, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Yoric, Unassigned)

References

(Depends on 1 open bug)

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.
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
Closed: 11 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.