OLD | NEW |
| 1 // Copyright (c) 2011 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 |
1 function Console() { | 5 function Console() { |
2 } | 6 } |
3 | 7 |
4 Console.Type = { | 8 Console.Type = { |
5 LOG: "log", | 9 LOG: "log", |
6 DEBUG: "debug", | 10 DEBUG: "debug", |
7 INFO: "info", | 11 INFO: "info", |
8 WARN: "warn", | 12 WARN: "warn", |
9 ERROR: "error", | 13 ERROR: "error", |
10 GROUP: "group", | 14 GROUP: "group", |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 if (!entries.length) { | 176 if (!entries.length) { |
173 Console.warn("ChromeFirePHP suggests that you reload the page to track" + | 177 Console.warn("ChromeFirePHP suggests that you reload the page to track" + |
174 " FirePHP messages for all the requests"); | 178 " FirePHP messages for all the requests"); |
175 } | 179 } |
176 for (var i = 0; i < entries.length; ++i) | 180 for (var i = 0; i < entries.length; ++i) |
177 ChromeFirePHP.handleFirePhp_headers(entries[i]); | 181 ChromeFirePHP.handleFirePhp_headers(entries[i]); |
178 | 182 |
179 chrome.experimental.devtools.network.onRequestFinished.addListener( | 183 chrome.experimental.devtools.network.onRequestFinished.addListener( |
180 ChromeFirePHP.handleFirePhpHeaders.bind(ChromeFirePHP)); | 184 ChromeFirePHP.handleFirePhpHeaders.bind(ChromeFirePHP)); |
181 }); | 185 }); |
OLD | NEW |