Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1145)

Unified Diff: content/test/gpu/gpu_tests/webgl_robustness.py

Issue 22883011: Removing Page.WaitToLoad and update all pagesets to use explicit wait actions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..f4b815933591cbc48aeefb7a5417403a20038002 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'
+ }
+ ]
}
]
}

Powered by Google App Engine
This is Rietveld 408576698