Description[chromedriver] Fix race in navigation tracker.
Somewhat reproducible via load google, clear cookies, load about:blank repeatedly.
Before, when we attempted to get the URL of the page after a successful
Page.navigate, we could end up setting the state = kLoading even though we
received the frame stopped loading event during the evaluate command.
Now, set the state to uknown first, and only force the state = kLoading if
not set already.
BUG=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221277
Patch Set 1 : . #
Messages
Total messages: 4 (0 generated)
|