This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24022 - [Streams API] Lazily encode write()-en DOMString
Summary: [Streams API] Lazily encode write()-en DOMString
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: Streams API (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Takeshi Yoshino
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-06 18:05 UTC by Takeshi Yoshino
Modified: 2014-01-30 04:27 UTC (History)
2 users (show)

See Also:


Attachments

Description Takeshi Yoshino 2013-12-06 18:05:31 UTC
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.
Comment 1 Takeshi Yoshino 2014-01-30 04:27:11 UTC
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.