Transferable Streams: Remove exception special handling
Serialising and deserialising exceptions is now supported directly, so transferable streams do not have to work around the lack of support. Remove the workarounds. Change the semantics so that failures to serialise are not hidden by implicit conversion to undefined. Instead the cancel() or abort() method will return a rejection, and the stream will be errored. Update the http/streams/transferable/reason.html web test to reflect the new semantics. BUG=894838 Change-Id: I44c5bd968b4544df2706269900ca8461eabfa00c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2257655Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/master@{#782976}
Showing
Please register or sign in to comment