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

Unified Diff: tools/page_cycler/webpagereplay/extension/content.js

Issue 160443004: Remove web page replay based pyauto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
Index: tools/page_cycler/webpagereplay/extension/content.js
diff --git a/tools/page_cycler/webpagereplay/extension/content.js b/tools/page_cycler/webpagereplay/extension/content.js
deleted file mode 100644
index 69713c3b5fb4dac0a4029349a01b5ff27f61f6b2..0000000000000000000000000000000000000000
--- a/tools/page_cycler/webpagereplay/extension/content.js
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright (c) 2012 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.
-
-// Hook onload and then add a timeout to send timing information
-// after the onload has completed.
-window.addEventListener('load', function() {
- window.setTimeout(function() {
- chrome.extension.sendRequest({
- "timing": window.performance.timing,
- "loadTimes": chrome.loadTimes(),
- });
- }, 0);
-}, false);

Powered by Google App Engine
This is Rietveld 408576698