Pass CreateDirectory errors up to IndexedDB.
[chromium-blink-merge.git] / tools / page_cycler / webpagereplay / extension / content.js
blob69713c3b5fb4dac0a4029349a01b5ff27f61f6b2
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.
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);