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 234a244b07166aa59847ebfc6956f10b93f48ce0..5ee1f199c6bf58e19c6523cdb974128d7c605561 100644 |
--- a/content/test/gpu/gpu_tests/webgl_conformance.py |
+++ b/content/test/gpu/gpu_tests/webgl_conformance.py |
@@ -84,7 +84,14 @@ class WebglConformance(test_module.Test): |
pages.append({ |
'url': 'file:///' + test, |
'script_to_evaluate_on_commit': conformance_harness_script, |
- 'wait_for_javascript_expression': 'webglTestHarness._finished' |
+ 'navigate_steps': [ |
+ { 'action': 'navigate' }, |
+ { |
+ 'action': 'wait', |
+ 'condition': 'javascript', |
+ 'javascript': 'webglTestHarness._finished' |
+ } |
+ ] |
}) |
return page_set.PageSet.FromDict(page_set_dict, conformance_path) |