[whatwg/streams] Use ResetQueue in WritableStreamDefaultControllerProcessWrite (#704)

WritableStreamDefaultControllerProcessWrite contained the line "If wasErrored is
false, set controller.[[queue]] to an empty List."

Generally it is better to use ResetQueue() to keep the [[queue]] and
[[queueTotalSize]] slots in sink. Do that instead.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/704

-- Commit Summary --

  * Use ResetQueue in WritableStreamDefaultControllerProcessWrite

-- File Changes --

    M index.bs (2)

-- Patch Links --

https://github.com/whatwg/streams/pull/704.patch
https://github.com/whatwg/streams/pull/704.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/704

Received on Friday, 24 March 2017 07:26:43 UTC