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

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..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)
« no previous file with comments | « no previous file | content/test/gpu/gpu_tests/webgl_robustness.py » ('j') | content/test/gpu/page_sets/pixel_tests.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698