Resolve ScriptPromiseResolver when Body methods fail
When blink::BodyBuffer::StartLoading failed , the ScriptPromiseResolver was left unresolved, resulting in a DCHECK when it was destroyed. Resolve it explicitly in this case, to avoid the DCHECK and retain the invariant. BUG=893015 Change-Id: Ib437986c6dc0d8b40e8ed0040f8796387d94feb6 Reviewed-on: https://chromium-review.googlesource.com/c/1278613Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/master@{#599589}
Showing
Please register or sign in to comment