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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js

Issue 2678423004: Remove obsolete Cast extension IDs from various whitelists and files. (Closed)
Patch Set: Rebase Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/api/_permission_features.json ('k') | tools/perf/profile_creators/extension_set.csv » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
index e839a2f2be8d006024a0ea38cfe7deec1accba91..2b6dbef8b7fde80dd29baf4abd21a48087ca40a9 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
@@ -123,9 +123,6 @@ SDK.ConsoleModel = class extends SDK.SDKModel {
* @param {!SDK.ConsoleMessage} msg
*/
addMessage(msg) {
- if (this._isBlacklisted(msg))
- return;
-
if (msg.source === SDK.ConsoleMessage.MessageSource.Worker && msg.target().subTargetsManager &&
msg.target().subTargetsManager.targetForId(msg.workerId))
return;
@@ -169,28 +166,6 @@ SDK.ConsoleModel = class extends SDK.SDKModel {
}
/**
- * @param {!SDK.ConsoleMessage} msg
- * @return {boolean}
- */
- _isBlacklisted(msg) {
- if (msg.source !== SDK.ConsoleMessage.MessageSource.Network ||
- msg.level !== SDK.ConsoleMessage.MessageLevel.Error || !msg.url || !msg.url.startsWith('chrome-extension'))
- return false;
-
- // ignore Chromecast's cast_sender spam
- if (msg.url.includes('://boadgeojelhgndaghljhdicfkmllpafd') ||
- msg.url.includes('://dliochdbjfkdbacpmhlcpmleaejidimm') ||
- msg.url.includes('://pkedcjkdefgpdelpbcmbmeomcjbeemfm') ||
- msg.url.includes('://fjhoaacokmgbjemoflkofnenfaiekifl') ||
- msg.url.includes('://fmfcbgogabcbclcofgocippekhfcmgfj') ||
- msg.url.includes('://enhhojjnijigcajfphajepfemndkmdlo') ||
- msg.url.includes('://ekpaaapppgpmolpcldedioblbkmijaca'))
- return true;
-
- return false;
- }
-
- /**
* @return {!Array.<!SDK.ConsoleMessage>}
*/
messages() {
« no previous file with comments | « extensions/common/api/_permission_features.json ('k') | tools/perf/profile_creators/extension_set.csv » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698