| 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 a2d8abb540e8600ac06380697eb439e9b34ee75f..03c94d3dfd3c4f5503c704986d6fff028d90d73d 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):
|
|
|