You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We do need to check, otherwise respond() will try to access fields in controller without checking its type.
An oddity is that is doesn't appear to be necessary to verify that view actually is a view. It might be confusing that respondWithNewView() checks but the constructor doesn't. But in the interests of brevity I plan to leave the unnecessary test out.
https://streams.spec.whatwg.org/commit-snapshots/bca1cd313461782cd089dbb79fd721dc9e3890aa#rs-byob-request-constructor
I'm pretty sure we need to check "controller" really is a ReadableByteStreamController here.
The text was updated successfully, but these errors were encountered: