| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 import logging | 4 import logging |
| 5 | 5 |
| 6 # pylint: disable=W0401,W0614 | |
| 7 from telemetry.page.actions.all_page_actions import * | |
| 8 from telemetry.page import page as page_module | 6 from telemetry.page import page as page_module |
| 9 from telemetry.page import page_set as page_set_module | 7 from telemetry.page import page_set as page_set_module |
| 10 | 8 |
| 11 | 9 |
| 12 class ToughWebglCasesPage(page_module.Page): | 10 class ToughWebglCasesPage(page_module.Page): |
| 13 | 11 |
| 14 def __init__(self, url, page_set): | 12 def __init__(self, url, page_set): |
| 15 super(ToughWebglCasesPage, self).__init__(url=url, page_set=page_set) | 13 super(ToughWebglCasesPage, self).__init__(url=url, page_set=page_set) |
| 16 self.archive_data_file = 'data/tough_webgl_cases.json' | 14 self.archive_data_file = 'data/tough_webgl_cases.json' |
| 17 | 15 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 'http://www.khronos.org/registry/webgl/sdk/demos/webkit/Earth.html', | 49 'http://www.khronos.org/registry/webgl/sdk/demos/webkit/Earth.html', |
| 52 # pylint: disable=C0301 | 50 # pylint: disable=C0301 |
| 53 'http://www.khronos.org/registry/webgl/sdk/demos/webkit/ManyPlanetsDeep.ht
ml', | 51 'http://www.khronos.org/registry/webgl/sdk/demos/webkit/ManyPlanetsDeep.ht
ml', |
| 54 'http://webglsamples.googlecode.com/hg/aquarium/aquarium.html', | 52 'http://webglsamples.googlecode.com/hg/aquarium/aquarium.html', |
| 55 'http://webglsamples.googlecode.com/hg/blob/blob.html', | 53 'http://webglsamples.googlecode.com/hg/blob/blob.html', |
| 56 # pylint: disable=C0301 | 54 # pylint: disable=C0301 |
| 57 'http://webglsamples.googlecode.com/hg/dynamic-cubemap/dynamic-cubemap.htm
l' | 55 'http://webglsamples.googlecode.com/hg/dynamic-cubemap/dynamic-cubemap.htm
l' |
| 58 ] | 56 ] |
| 59 for url in urls_list: | 57 for url in urls_list: |
| 60 self.AddPage(ToughWebglCasesPage(url, self)) | 58 self.AddPage(ToughWebglCasesPage(url, self)) |
| OLD | NEW |