Re: [whatwg/streams] Add WritableStreamDefaultController.releaseBackpressure() (PR #1190)

@MattiasBuelens commented on this pull request.



> @@ -657,6 +659,9 @@ function WritableStreamDefaultControllerErrorIfNeeded(controller, error) {
 }
 
 function WritableStreamDefaultControllerGetBackpressure(controller) {
+  if (controller._releaseBackpressure === true) {

This check is indeed necessary. It's covered by this new test: https://github.com/web-platform-tests/wpt/pull/31742/commits/f69d4b733da5cba396b95b7379bffb4f352aacb1

-- 
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/1190#discussion_r758823297

Received on Monday, 29 November 2021 23:50:41 UTC