Index: content/test/gpu/gpu_tests/webgl_conformance.py |
diff --git a/content/test/gpu/gpu_tests/webgl_conformance.py b/content/test/gpu/gpu_tests/webgl_conformance.py |
index f17e970ec2805a974271689e8f9e2c3162da34a3..6da2cb102f3573042a18430f2bd9f17ff2a1274c 100644 |
--- a/content/test/gpu/gpu_tests/webgl_conformance.py |
+++ b/content/test/gpu/gpu_tests/webgl_conformance.py |
@@ -89,8 +89,8 @@ class WebglConformancePage(page_module.Page): |
def RunNavigateSteps(self, action_runner): |
action_runner.NavigateToPage(self) |
- action_runner.RunAction(WaitAction( |
- {'javascript': 'webglTestHarness._finished', 'timeout': 120})) |
+ action_runner.WaitForJavaScriptCondition( |
+ 'webglTestHarness._finished', timeout=120) |
class WebglConformance(test_module.Test): |