Index: content/test/gpu/gpu_tests/webgl_robustness.py |
diff --git a/content/test/gpu/gpu_tests/webgl_robustness.py b/content/test/gpu/gpu_tests/webgl_robustness.py |
index 507d770b9d880d5a83d5cc189e1d0c43bd09de51..d45f563a411b34cd535ac62a9d33b89a0f81e6d0 100644 |
--- a/content/test/gpu/gpu_tests/webgl_robustness.py |
+++ b/content/test/gpu/gpu_tests/webgl_robustness.py |
@@ -57,7 +57,14 @@ class WebglRobustness(test.Test): |
{ |
'url': 'file:///extra/lots-of-polys-example.html', |
'script_to_evaluate_on_commit': robustness_harness_script, |
- 'wait_for_javascript_expression': 'webglTestHarness._finished' |
+ 'navigate_steps': [ |
+ { 'action': 'navigate' }, |
+ { |
+ 'action': 'wait', |
+ 'condition': 'javascript', |
+ 'javascript': 'webglTestHarness._finished' |
+ } |
+ ] |
} |
] |
} |