[refactor] More post-NSS WebCrypto cleanups (utility functions).
[chromium-blink-merge.git] / content / test / gpu / gpu_tests / context_lost_expectations.py
blobccbfa95bd482c08960c155563ebbffe7b2e90027
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 gpu_test_expectations import GpuTestExpectations
7 # See the GpuTestExpectations class for documentation.
9 class ContextLostExpectations(GpuTestExpectations):
10 def SetExpectations(self):
11 # Sample Usage:
12 # self.Fail('ContextLost.WebGLContextLostFromGPUProcessExit',
13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123)
15 # AMD Radeon 6450
16 self.Fail('ContextLost.WebGLContextLostFromGPUProcessExit',
17 ['linux', ('amd', 0x6779)], bug=479975)
19 # Win8 Release and Debug NVIDIA bots.
20 self.Skip('ContextLost.WebGLContextLostFromSelectElement',
21 ['win8', 'nvidia'], bug=524808)
23 # Flaky on Mac 10.7 and 10.8 resulting in crashes during browser
24 # startup, so skip this test in those configurations.
25 self.Skip('ContextLost.WebGLContextLostFromSelectElement',
26 ['mountainlion', 'debug'], bug=497411)
27 self.Skip('ContextLost.WebGLContextLostFromSelectElement',
28 ['lion', 'debug'], bug=498149)