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

Side by Side Diff: content/test/gpu/gpu_tests/context_lost.py

Issue 259363002: Added missing import. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 exceptions
7 from telemetry.core import util 8 from telemetry.core import util
8 from telemetry.page import page_set 9 from telemetry.page import page_set
9 from telemetry.page import page_test 10 from telemetry.page import page_test
10 11
11 data_path = os.path.join( 12 data_path = os.path.join(
12 util.GetChromiumSrcDir(), 'content', 'test', 'data', 'gpu') 13 util.GetChromiumSrcDir(), 'content', 'test', 'data', 'gpu')
13 14
14 wait_timeout = 20 # seconds 15 wait_timeout = 20 # seconds
15 16
16 harness_script = r""" 17 harness_script = r"""
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 'navigate_steps': [ 131 'navigate_steps': [
131 { 'action': 'navigate' }, 132 { 'action': 'navigate' },
132 { 'action': 'wait', 133 { 'action': 'wait',
133 'javascript': 'window.domAutomationController._finished' } 134 'javascript': 'window.domAutomationController._finished' }
134 ], 135 ],
135 'kill_gpu_process': False 136 'kill_gpu_process': False
136 }, 137 },
137 ] 138 ]
138 } 139 }
139 return page_set.PageSet.FromDict(page_set_dict, data_path) 140 return page_set.PageSet.FromDict(page_set_dict, data_path)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698