DescriptionDevTools: fix race conditions while recording film strips
- introduce ResourceTreeModel.{suspendReload,resumeReload} to temporarily
suspend page reloading;
- use the former to disable page reload for the period we fetch trace in
the network FilmStripRecorder, as we can't start tracing while
still retrieving traces;
- disregard DeferredTempFile writes after file was deleted;
- properly indicate frames are being recorded in FilmStripView when reload
happens during frame recording.
This gets rid of "Tracing is already started" and other errors while repeatedly
reloading a network panel with screenshot recording on.
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201837
Patch Set 1 #Patch Set 2 : use counter, not a flag to track reload suspension #
Messages
Total messages: 7 (2 generated)
|