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

Side by Side Diff: tools/page_cycler/webpagereplay/extension/content.js

Issue 9956045: Add Web Page Replay test to page cycler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows compile error. Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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
5 // Hook onload and then add a timeout to send timing information
6 // after the onload has completed.
7 window.addEventListener('load', function() {
8 window.setTimeout(function() {
9 chrome.extension.sendRequest({
10 "timing": window.performance.timing,
11 "loadTimes": chrome.loadTimes(),
12 });
13 }, 0);
14 }, false);
OLDNEW
« no previous file with comments | « tools/page_cycler/webpagereplay/extension/background.js ('k') | tools/page_cycler/webpagereplay/extension/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698