summaryrefslogtreecommitdiffstats
path: root/content/test/gpu/gpu_tests/webgl_robustness.py
diff options
context:
space:
mode:
Diffstat (limited to 'content/test/gpu/gpu_tests/webgl_robustness.py')
-rw-r--r--content/test/gpu/gpu_tests/webgl_robustness.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/test/gpu/gpu_tests/webgl_robustness.py b/content/test/gpu/gpu_tests/webgl_robustness.py
index 1ed3f03..153bd31 100644
--- a/content/test/gpu/gpu_tests/webgl_robustness.py
+++ b/content/test/gpu/gpu_tests/webgl_robustness.py
@@ -58,8 +58,7 @@ class WebglRobustnessPage(page.Page):
def RunNavigateSteps(self, action_runner):
action_runner.NavigateToPage(self)
- action_runner.RunAction(
- WaitAction({'javascript': 'webglTestHarness._finished'}))
+ action_runner.WaitForJavaScriptCondition('webglTestHarness._finished')
class WebglRobustness(test.Test):
test = WebglConformanceValidator