Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(807)

Unified Diff: tools/perf/page_sets/system_health/blank_stories.py

Issue 2902513002: [System Health] Tidy up stories for Chrome's special pages (Closed)
Patch Set: restore previous browse:search:google Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/perf/page_sets/system_health/chrome_stories.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/system_health/blank_stories.py
diff --git a/tools/perf/page_sets/system_health/blank_stories.py b/tools/perf/page_sets/system_health/blank_stories.py
deleted file mode 100644
index ffe0eccf0836c7361b43a7609799fef16ad520df..0000000000000000000000000000000000000000
--- a/tools/perf/page_sets/system_health/blank_stories.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 2016 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from page_sets.system_health import system_health_story
-
-
-class BlankAboutBlankStory(system_health_story.SystemHealthStory):
- """Story that loads the about:blank page."""
-
- NAME = 'blank:about:blank'
- URL = 'about:blank'
-
- def _DidLoadDocument(self, action_runner):
- # Request a RAF and wait for it to be processed to ensure that the metric
- # Startup.FirstWebContents.NonEmptyPaint2 is recorded.
- action_runner.ExecuteJavaScript(
- """
- window.__hasRunRAF = false;
- requestAnimationFrame(function() {
- window.__hasRunRAF = true;
- });
- """
- )
- action_runner.WaitForJavaScriptCondition("window.__hasRunRAF")
« no previous file with comments | « no previous file | tools/perf/page_sets/system_health/chrome_stories.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698