OLD | NEW |
---|---|
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 | 4 |
5 DESKTOP = 'desktop' | 5 DESKTOP = 'desktop' |
6 MOBILE = 'mobile' | 6 MOBILE = 'mobile' |
7 | 7 |
8 ALL_PLATFORMS = frozenset({DESKTOP, MOBILE}) | 8 ALL_PLATFORMS = frozenset({DESKTOP, MOBILE}) |
9 | |
10 # Use the constants below to mark on which platforms the story has WPR | |
11 # recordings. To disable a story (e.g. because it crashes or takes too long), | |
12 # use @decorators.Disabled instead. | |
9 DESKTOP_ONLY = frozenset({DESKTOP}) | 13 DESKTOP_ONLY = frozenset({DESKTOP}) |
10 MOBILE_ONLY = frozenset({MOBILE}) | 14 MOBILE_ONLY = frozenset({MOBILE}) |
11 # This is used for disabling a story on all platforms. | |
12 NO_PLATFORMS = frozenset() | 15 NO_PLATFORMS = frozenset() |
nednguyen
2016/09/08 19:31:16
Why do you add this back? I thought your decision
petrcermak
2016/09/09 09:34:09
Good question. The reason is that it needs to be u
| |
OLD | NEW |