Removing uses of X11 native key events.
[chromium-blink-merge.git] / content / test / gpu / gpu_tests / context_lost_expectations.py
blob2602e115c4cf56193e0f48815e4421ecc43b2b86
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 from telemetry.page import test_expectations
7 # Valid expectation conditions are:
9 # Operating systems:
10 # win, xp, vista, win7, mac, leopard, snowleopard, lion, mountainlion,
11 # linux, chromeos, android
13 # GPU vendors:
14 # amd, arm, broadcom, hisilicon, intel, imagination, nvidia, qualcomm,
15 # vivante
17 # Specific GPUs can be listed as a tuple with vendor name and device ID.
18 # Examples: ('nvidia', 0x1234), ('arm', 'Mali-T604')
19 # Device IDs must be paired with a GPU vendor.
21 class ContextLostExpectations(test_expectations.TestExpectations):
22 def SetExpectations(self):
23 # Sample Usage:
24 # self.Fail('ContextLost.WebGLContextLostFromGPUProcessExit',
25 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123)
27 self.Fail('GpuCrash.GPUProcessCrashesExactlyOnce',
28 ['win'], bug=392891)