DescriptionMake FileReader.abort() (synchronously) follow the spec.
It is problematic to cancel a ThreadableLoader (by way of FileReaderLoader)
while it is on the stack, which is one of the steps involved when
abort()ing a reader (as part of the "terminate" step.) To avoid such
potential trouble, the loader termination is done asynchronously.
However, there's no good reason to delay performing the other (user
visible) abort() steps, so arrange for that to happen and align with
the spec & others.
R=jsbell
BUG=288349
Committed: https://crrev.com/4557e0a6d697821badf2e8adb95d356a7cd85e62
Cr-Commit-Position: refs/heads/master@{#431639}
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|