[Session restore] Rename group name Enabled to Restore.
[chromium-blink-merge.git] / tools / perf / page_sets / webgl_supported_shared_state.py
blob89463f42cc0364acc82813d22c86e2102a68b813
1 # Copyright 2015 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.
4 import logging
6 from telemetry.page import shared_page_state
9 class WebGLSupportedSharedState(shared_page_state.SharedPageState):
10 def CanRunOnBrowser(self, browser_info):
11 if not browser_info.HasWebGLSupport():
12 logging.warning('Browser does not support webgl, skipping test')
13 return False
14 return True