| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 import os | 4 import os |
| 5 | 5 |
| 6 from telemetry import test as test_module | 6 from telemetry import test as test_module |
| 7 from telemetry.core import util | 7 from telemetry.core import util |
| 8 from telemetry.page import page_set | 8 from telemetry.page import page_set |
| 9 from telemetry.page import page_test | 9 from telemetry.page import page_test |
| 10 | 10 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 { | 106 { |
| 107 'name': 'ContextLost.WebGLContextLostFromGPUProcessExit', | 107 'name': 'ContextLost.WebGLContextLostFromGPUProcessExit', |
| 108 'url': 'file://webgl.html?query=kill_after_notification', | 108 'url': 'file://webgl.html?query=kill_after_notification', |
| 109 'script_to_evaluate_on_commit': harness_script, | 109 'script_to_evaluate_on_commit': harness_script, |
| 110 'navigate_steps': [ | 110 'navigate_steps': [ |
| 111 { 'action': 'navigate' }, | 111 { 'action': 'navigate' }, |
| 112 { 'action': 'wait', | 112 { 'action': 'wait', |
| 113 'javascript': 'window.domAutomationController._loaded' } | 113 'javascript': 'window.domAutomationController._loaded' } |
| 114 ], | 114 ], |
| 115 'kill_gpu_process': True, | 115 'kill_gpu_process': True, |
| 116 'number_of_gpu_process_kills': 30, | 116 'number_of_gpu_process_kills': 1, |
| 117 }, | 117 }, |
| 118 { | 118 { |
| 119 'name': 'ContextLost.WebGLContextLostFromLoseContextExtension', | 119 'name': 'ContextLost.WebGLContextLostFromLoseContextExtension', |
| 120 'url': 'file://webgl.html?query=WEBGL_lose_context', | 120 'url': 'file://webgl.html?query=WEBGL_lose_context', |
| 121 'script_to_evaluate_on_commit': harness_script, | 121 'script_to_evaluate_on_commit': harness_script, |
| 122 'navigate_steps': [ | 122 'navigate_steps': [ |
| 123 { 'action': 'navigate' }, | 123 { 'action': 'navigate' }, |
| 124 { 'action': 'wait', | 124 { 'action': 'wait', |
| 125 'javascript': 'window.domAutomationController._finished' } | 125 'javascript': 'window.domAutomationController._finished' } |
| 126 ], | 126 ], |
| 127 'kill_gpu_process': False | 127 'kill_gpu_process': False |
| 128 }, | 128 }, |
| 129 ] | 129 ] |
| 130 } | 130 } |
| 131 return page_set.PageSet.FromDict(page_set_dict, data_path) | 131 return page_set.PageSet.FromDict(page_set_dict, data_path) |
| OLD | NEW |