| Index: content/test/gpu/gpu_tests/screenshot_sync.py
|
| diff --git a/content/test/gpu/gpu_tests/screenshot_sync.py b/content/test/gpu/gpu_tests/screenshot_sync.py
|
| index 65021b00c1ae0cf6427b322dad6d249403821e04..d37904bcceab76697e597180024fd73c6703bc7c 100644
|
| --- a/content/test/gpu/gpu_tests/screenshot_sync.py
|
| +++ b/content/test/gpu/gpu_tests/screenshot_sync.py
|
| @@ -38,9 +38,8 @@ class ScreenshotSyncPage(page.Page):
|
|
|
| def RunNavigateSteps(self, action_runner):
|
| action_runner.NavigateToPage(self)
|
| - action_runner.RunAction(WaitAction({
|
| - 'javascript': 'window.__testComplete',
|
| - 'timeout': 120}))
|
| + action_runner.WaitForJavaScriptCondition(
|
| + 'window.__testComplete', timeout=120)
|
|
|
|
|
| class ScreenshotSyncProcess(test.Test):
|
|
|