workerd
workerd copied to clipboard
coordinate TransformStream finish operations per spec
Work in progress. I still need to figure out how and where to put this behind a pedanticWpt compat flag...
Fixes coordination between close(), cancel() and abort() on TransformStream to properly handles cases where controller.error is called synchronously during finish.
This fixes 11 WPT tests in transform-streams folder.