devtools: Return correct virtual time base for wait_for_navigation.
Previously, setVirtualTimePolicy was always returning a zero virtual time base when wait_for_navigation was set. This meant, even if virtual time was enabled before, the client's known virtual time base could be overridden with an invalid one. Instead, return the previously initialized virtual time base when it is known, even if wait_for_navigation is set. Change-Id: I391232f7310b81c4fc3b033e7ba4c186b32560d3 Reviewed-on: https://chromium-review.googlesource.com/960761 Commit-Queue: Eric Seckler <eseckler@chromium.org> Reviewed-by:Alex Clarke <alexclarke@chromium.org> Reviewed-by:
Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#543052}
Showing
Please register or sign in to comment