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

Unified Diff: content/test/gpu/gpu_tests/webgl_conformance.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_conformance.py
diff --git a/content/test/gpu/gpu_tests/webgl_conformance.py b/content/test/gpu/gpu_tests/webgl_conformance.py
index 234a244b07166aa59847ebfc6956f10b93f48ce0..edc5b180b6044e275d6a5ba6248f948536a52211 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)
« no previous file with comments | « no previous file | content/test/gpu/gpu_tests/webgl_robustness.py » ('j') | tools/telemetry/telemetry/page/page.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698