DescriptionAvoid GCing an aborting and stopped FileReader.
If a FileReader is abort()ed, a task is scheduled to perform the actual
abort operation. Should the containing Document's ActiveDOMObjects be
stopped before that task gets to run, the FileReader would already
advance to a DONE state and be at risk from being GCed before the abort
task gets to run. If so, it would then access a dead object.
The provided test elicits an assert that shows up the problem, but
doesn't trigger the GC and subsequent access of the dead object.
R=kouhei@chromium.org, tzik@chromium.org
BUG=404513
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180450
Patch Set 1 #
Messages
Total messages: 7 (0 generated)
|