Skip to content

Commit

Permalink
Rename system health tags to use undescore only
Browse files Browse the repository at this point in the history
BUG=catapult:#3480

Review-Url: https://codereview.chromium.org/2812903003
Cr-Commit-Position: refs/heads/master@{#463628}
  • Loading branch information
nedn authored and Commit bot committed Apr 11, 2017
1 parent 39fcf95 commit 4d28782
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tools/perf/page_sets/system_health/story_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
# A story can have multiple tags. All the tags should be noun.

AUDIO_PLAYBACK = Tag(
'audio-playback', 'Story has audio playing.')
'audio_playback', 'Story has audio playing.')
CANVAS_ANIMATION = Tag(
'canvas-animation', 'Story has animations that are implemented using '
'canvas_animation', 'Story has animations that are implemented using '
'html5 canvas.')
CSS_ANIMATION = Tag(
'css-animation', 'Story has animations that are implemented using CSS.')
'css_animation', 'Story has animations that are implemented using CSS.')
EXTENSION = Tag(
'extension', 'Story has browser with extension installed.')
IMAGES = Tag(
Expand All @@ -26,22 +26,22 @@
'international', 'Story has navigations to websites with content in non '
'English languages.')
JAVASCRIPT_HEAVY = Tag(
'javascript-heavy', 'Story has navigations to websites with heavy usages '
'javascript_heavy', 'Story has navigations to websites with heavy usages '
'of JavaScript. The story uses 20Mb+ memory for javascript and local '
'run with "v8" category enabled also shows the trace has js slices across '
'the whole run.')
SCROLL = Tag(
'scroll', 'Story has scroll gestures & scroll animation.')
PINCH_ZOOM = Tag(
'pinch-zoom', 'Story has pinch zoom gestures & pinch zoom animation.')
'pinch_zoom', 'Story has pinch zoom gestures & pinch zoom animation.')
TABS_SWITCHING = Tag(
'tabs-switching', 'Story has multi tabs and tabs switching action.')
'tabs_switching', 'Story has multi tabs and tabs switching action.')
VIDEO_PLAYBACK = Tag(
'video-playback', 'Story has video playing.')
'video_playback', 'Story has video playing.')
WEBGL = Tag(
'webgl', 'Story has sites with heavy uses of WebGL.')
WEB_STORAGE = Tag(
'web-storage', 'Story has sites with heavy uses of Web storage.')
'web_storage', 'Story has sites with heavy uses of Web storage.')


def _ExtractAllTags():
Expand Down

0 comments on commit 4d28782

Please sign in to comment.