Descriptionscheduler: Allow timer task to be nested
Blink's current shared timer mechanism, which we are trying to replace,
allows timers to execute in nested message loops, but only if the
nested message loop itself was not initiated by a timer. We believe
this limitation is a historical relic which was originally introduced
to prevent multiple invocations of the same timer[1].
When the shared timer is replaced by indivially posted tasks, the
underlying scheduler will ensure that each task is only executed once.
Therefore it should be safe to lift this restriction.
[1] https://trac.webkit.org/changeset/12774
BUG=463143, 416362, 480522
Committed: https://crrev.com/022f550d73963aa4ce245aeaa0515504d89b2e24
Cr-Commit-Position: refs/heads/master@{#331133}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|