DescriptionFix renderer process host backgrounding test on Windows.
Now that process backgrounding is controlled from within the renderer
process on Windows, we need to wait for the process to handle the IPC
message before the background state changes.
This fix changes the test to wait for the result of a script from
the renderer process before checking background status. Doing so
ensures the renderer will process the background IPC before the
check is performed.
BUG=362294
TEST=Ran unittest on Windows.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274778
Patch Set 1 #Patch Set 2 : Wait for script. #
Total comments: 2
Patch Set 3 : Fix comment. #Messages
Total messages: 8 (0 generated)
|