Title: [117601] branches/chromium/1084/Source/WebCore/inspector/front-end/Script.js
- Revision
- 117601
- Author
- [email protected]
- Date
- 2012-05-18 09:13:33 -0700 (Fri, 18 May 2012)
Log Message
Fixing crbug.com/127741: DevTools: [regression] devtools scripts tree is flooded with internal chromium extension scripts.
* inspector/front-end/Script.js:
[email protected]
BUG=127741
Review URL: https://chromiumcodereview.appspot.com/10409030
Modified Paths
Diff
Modified: branches/chromium/1084/Source/WebCore/inspector/front-end/Script.js (117600 => 117601)
--- branches/chromium/1084/Source/WebCore/inspector/front-end/Script.js 2012-05-18 16:10:34 UTC (rev 117600)
+++ branches/chromium/1084/Source/WebCore/inspector/front-end/Script.js 2012-05-18 16:13:33 UTC (rev 117601)
@@ -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;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes