commit | 7712d138374a92c4d2f3b05cdc86d1a7a523702b | [log] [tgz] |
---|---|---|
author | Yutaka Hirano <yhirano@chromium.org> | Tue May 08 10:55:08 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 08 10:55:08 2018 |
tree | bdb467b19f732e04ce117a1943a682d32c4b65b7 | |
parent | 4a9e4119f122d8d5352ce1bd2a143f03abed2b84 [diff] |
ReadableStreamBytesConsumer should check read results ReadableStreamBytesConsumer expected that the results from ReadableStreamReaderDefaultRead should be Promise<Object> because that is provided from ReadableStream provided by blink, but it's possible to inject arbitrary values with the promise assimilation. This CL adds additional checks for such injection. Bug: 840320 Change-Id: I7b3c6a8bfcf563dd860b133ff0295dd7a5d5fea5 Reviewed-on: https://chromium-review.googlesource.com/1049413 Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/master@{#556751}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .