Chromium Code Reviews
DescriptionFix flakyness in webRequest API tests
The callback function of chrome.tabs.create is called once the tab is created, not when it is loaded.
If runTests() is called, it would open a tab for URL about:blank and once that is created, run the tests. The tests may call navigateAndWait which performs a navigation and waits for the completion. The chrome.tabs.onUpdated listener could be triggered by the completion of loading about:blank, however. Not by the completion of loading the URL which navigateAndWait tried to load. With this change, we wait until about:blank is fully loaded until we start executing any tests.
BUG=112155
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175966
Patch Set 1 #
Total comments: 2
Messages
Total messages: 11 (0 generated)
|
|||||||||||||||||||