DescriptionChange VirtualTimePolicy::PAUSE_IF_NETWORK_FETCHES_PENDING
Change VirtualTimePolicy::PAUSE_IF_NETWORK_FETCHES_PENDING to initially
pause virtual time until at least one loading task has run. This fixes
a problem where virtual time could advance arbitrarily far before the
first fetch occurred.
Also refactor the way virtual time is dealt with so that
RendererSchedulerImpl and ThrottlingHelper know about it and
Virtual Time is applied to all relevant queues.
Finally remove unused WebViewSchedulerTest.cpp
BUG=546953
Committed: https://crrev.com/1c815652bc24a83da99ca473d489accdeeafa435
Cr-Commit-Position: refs/heads/master@{#408944}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Refactor to centralize virtual time state #Patch Set 3 : Add some more tests #Patch Set 4 : And another test #
Total comments: 10
Patch Set 5 : Addressing Sami's comments #Patch Set 6 : Rebased #Messages
Total messages: 35 (22 generated)
|