[Bug 24445] New: [Streams API] The Promise returned by write() method should tell the result of the write()

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24445

            Bug ID: 24445
           Summary: [Streams API] The Promise returned by write() method
                    should tell the result of the write()
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Streams API
          Assignee: tyoshino@google.com
          Reporter: tyoshino@google.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

Currently, we're using the Promise returned by the write() method for pacing
write speed, i.e. just for flow control.

As we've changed the Streams API to be more generic one, correlating error and
each write() operation now is more meaningful.

We already have awaitSpaceAvailable(). Let's just leave the functionality of
flow control to it and have the Promise returned by the write() method be
fulfilled only when that write() operation is finished. Not when the
WritableStream can accept (buffer) more write() operations.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 30 January 2014 04:22:57 UTC