Flush microtask queue in DocumentLoader::DetachFromFrame later.
ResourceFetcher::ClearContext() can actually queue microtasks; for example, pending FontFace loads will be cancelled and reject the associated promise. Bug: 907270 Change-Id: I83b18924d494052dad021fb3d8bd427de1b9c40c Reviewed-on: https://chromium-review.googlesource.com/c/1347095Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#610309}
Showing
Please register or sign in to comment