Fix crash in WritableStreamFinishClose
WritableStreamFinishClose would fail if the writer had been detached. Add checks to stop this happening. This updates the implementation to match Streams Standard version https://github.com/whatwg/streams/commit/347667724b8a4b83fcc379b730603cf4cd0d6e91 which is current as of 12 Jan 2017. Also update the tests to the same commit. BUG=658144 Review-Url: https://codereview.chromium.org/2625873008 Cr-Commit-Position: refs/heads/master@{#443201}
Showing
Please register or sign in to comment