whatwg / streams

Streams Standard
https://streams.spec.whatwg.org/
Other
1.34k stars 155 forks source link

Why resolve backpressurePromise by an error message in SetUpCrossRealmTransformWritable? #1260

Open saschanaz opened 1 year ago

saschanaz commented 1 year ago

https://streams.spec.whatwg.org/#abstract-opdef-setupcrossrealmtransformwritable

Step 4.7.2 resolves backpressurePromise after getting an error, but not sure the point as it won't really do anything. Skipping that step doesn't seem to fail any WPT test. Is there some good reason to keep it?