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

Unified Diff: Source/WebCore/inspector/front-end/Script.js

Issue 10409030: Fixing crbug.com/127741: DevTools: [regression] devtools scripts tree is flooded with internal chro… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/inspector/front-end/Script.js
===================================================================
--- Source/WebCore/inspector/front-end/Script.js (revision 117599)
+++ Source/WebCore/inspector/front-end/Script.js (working copy)
@@ -42,7 +42,8 @@
this.columnOffset = startColumn;
this.endLine = endLine;
this.endColumn = endColumn;
- this.isContentScript = isContentScript;
+ // M19 band-aid that treats whitelist of short file names as content scripts. These are not valid URLs, so it is safe to assume these are likely to be content scripts.
+ this.isContentScript = isContentScript || sourceURL === "apitest" || sourceURL === "event_bindings" || sourceURL === "extension" || sourceURL === "i18n" || sourceURL === "json_schema" || sourceURL === "miscellaneous_bindings" || sourceURL === "schema_generated_bindings" || sourceURL === "sendRequest";
this.sourceMapURL = sourceMapURL;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698