OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 WebInspector.ConsoleMessage.MessageSource = { | 224 WebInspector.ConsoleMessage.MessageSource = { |
225 XML: "xml", | 225 XML: "xml", |
226 JS: "javascript", | 226 JS: "javascript", |
227 Network: "network", | 227 Network: "network", |
228 ConsoleAPI: "console-api", | 228 ConsoleAPI: "console-api", |
229 Storage: "storage", | 229 Storage: "storage", |
230 AppCache: "appcache", | 230 AppCache: "appcache", |
231 Rendering: "rendering", | 231 Rendering: "rendering", |
232 CSS: "css", | 232 CSS: "css", |
233 Security: "security", | 233 Security: "security", |
234 Other: "other" | 234 Other: "other", |
| 235 Deprecation: "deprecation" |
235 } | 236 } |
236 | 237 |
237 WebInspector.ConsoleMessage.MessageType = { | 238 WebInspector.ConsoleMessage.MessageType = { |
238 Log: "log", | 239 Log: "log", |
239 Dir: "dir", | 240 Dir: "dir", |
240 DirXML: "dirxml", | 241 DirXML: "dirxml", |
241 Table: "table", | 242 Table: "table", |
242 Trace: "trace", | 243 Trace: "trace", |
243 Clear: "clear", | 244 Clear: "clear", |
244 StartGroup: "startGroup", | 245 StartGroup: "startGroup", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 { | 302 { |
302 if (!WebInspector.settings.preserveConsoleLog.get()) | 303 if (!WebInspector.settings.preserveConsoleLog.get()) |
303 this._console.clearMessages(); | 304 this._console.clearMessages(); |
304 } | 305 } |
305 } | 306 } |
306 | 307 |
307 /** | 308 /** |
308 * @type {?WebInspector.ConsoleModel} | 309 * @type {?WebInspector.ConsoleModel} |
309 */ | 310 */ |
310 WebInspector.console = null; | 311 WebInspector.console = null; |
OLD | NEW |