Remove LegacyPromise in src/core/chunked_stream.js
Add onError function to ChunkedStreamManager
Merge pull request #4667 from Snuffleupagus/remove-LegacyPromise-chunked_stream.js

Remove LegacyPromise in src/core/chunked_stream.js