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. 4 5from telemetry import test 6from measurements import smoothness 7import page_sets 8 9 10@test.Disabled('linux') # crbug.com/368767 11class SchedulerToughSchedulingCases(test.Test): 12 """Measures rendering statistics while interacting with pages that have 13 challenging scheduling properties. 14 15 https://docs.google.com/a/chromium.org/document/d/ 16 17yhE5Po9By0sCdM1yZT3LiUECaUr_94rQt9j-4tOQIM/view""" 17 test = smoothness.Smoothness 18 page_set = page_sets.ToughSchedulingCasesPageSet 19 20 21# Pepper plugin is not supported on android. 22@test.Disabled('android', 'win') # crbug.com/384733 23class SchedulerToughPepperCases(test.Test): 24 """Measures rendering statistics while interacting with pages that have 25 pepper plugins""" 26 test = smoothness.Smoothness 27 page_set = page_sets.ToughPepperCasesPageSet 28 29 def CustomizeBrowserOptions(self, options): 30 # This is needed for testing pepper plugin. 31 options.AppendExtraBrowserArgs('--enable-pepper-testing') 32