This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Encoding DOMString into binary data doesn't need to happen synchronously to write() call. Let's combine the DOMString, "encodeIntoArrayBuffer" flag and latchedEncoding and pass it to dataSink. Process pendingWriteQueue algorithm needs some change.
ED has this feature now. This also requires https://www.w3.org/Bugs/Public/show_bug.cgi?id=24445 so that the writer can identify which write() operation was actually bad.