| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 /** | 118 /** |
| 119 * @param {!WebInspector.ConsoleMessage} msg | 119 * @param {!WebInspector.ConsoleMessage} msg |
| 120 * @return {boolean} | 120 * @return {boolean} |
| 121 */ | 121 */ |
| 122 _isBlacklisted: function(msg) | 122 _isBlacklisted: function(msg) |
| 123 { | 123 { |
| 124 if (msg.source != WebInspector.ConsoleMessage.MessageSource.Network || m
sg.level != WebInspector.ConsoleMessage.MessageLevel.Error || !msg.url || !msg.u
rl.startsWith("chrome-extension")) | 124 if (msg.source != WebInspector.ConsoleMessage.MessageSource.Network || m
sg.level != WebInspector.ConsoleMessage.MessageLevel.Error || !msg.url || !msg.u
rl.startsWith("chrome-extension")) |
| 125 return false; | 125 return false; |
| 126 | 126 |
| 127 // ignore Chromecast's cast_sender spam | 127 // ignore Chromecast's cast_sender spam |
| 128 if (msg.url.includes("://boadgeojelhgndaghljhdicfkmllpafd") || msg.url.
includes("://dliochdbjfkdbacpmhlcpmleaejidimm") || msg.url.includes("://fjhoaac
okmgbjemoflkofnenfaiekifl") || msg.url.includes("://ekpaaapppgpmolpcldedioblbkmi
jaca")) | 128 if (msg.url.includes("://boadgeojelhgndaghljhdicfkmllpafd") || msg.url.
includes("://dliochdbjfkdbacpmhlcpmleaejidimm") || msg.url.includes("://pkedcjk
defgpdelpbcmbmeomcjbeemfm") || msg.url.includes("://ekpaaapppgpmolpcldedioblbkmi
jaca")) |
| 129 return true; | 129 return true; |
| 130 | 130 |
| 131 return false; | 131 return false; |
| 132 }, | 132 }, |
| 133 | 133 |
| 134 /** | 134 /** |
| 135 * @return {!Array.<!WebInspector.ConsoleMessage>} | 135 * @return {!Array.<!WebInspector.ConsoleMessage>} |
| 136 */ | 136 */ |
| 137 messages: function() | 137 messages: function() |
| 138 { | 138 { |
| (...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 this.dispatchEventToListeners(WebInspector.ConsoleModel.Events.CommandEv
aluated, event.data); | 616 this.dispatchEventToListeners(WebInspector.ConsoleModel.Events.CommandEv
aluated, event.data); |
| 617 }, | 617 }, |
| 618 | 618 |
| 619 __proto__: WebInspector.Object.prototype | 619 __proto__: WebInspector.Object.prototype |
| 620 } | 620 } |
| 621 | 621 |
| 622 /** | 622 /** |
| 623 * @type {!WebInspector.MultitargetConsoleModel} | 623 * @type {!WebInspector.MultitargetConsoleModel} |
| 624 */ | 624 */ |
| 625 WebInspector.multitargetConsoleModel; | 625 WebInspector.multitargetConsoleModel; |
| OLD | NEW |