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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/DebuggerPresentationUtils.js

Issue 1649553002: [DevTools] Support source map with blackboxing in call frame sidebar, console (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: third_party/WebKit/Source/devtools/front_end/components/DebuggerPresentationUtils.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/DebuggerPresentationUtils.js b/third_party/WebKit/Source/devtools/front_end/components/DebuggerPresentationUtils.js
index b5719fc399fbe26bf579420ef7018f4120cab769..d16e83815409e42e1e1e2eb21e6a4716bf07f978 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/DebuggerPresentationUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/DebuggerPresentationUtils.js
@@ -25,8 +25,9 @@ WebInspector.DebuggerPresentationUtils.callFrameAnchorFromStackTrace = function(
return stackTrace[0];
for (var i = 0; i < stackTrace.length; ++i) {
var script = debuggerModel && debuggerModel.scriptForId(stackTrace[i].scriptId);
- var blackboxed = script ?
- WebInspector.BlackboxSupport.isBlackboxed(script.sourceURL, script.isContentScript()) :
+ var location = script && debuggerModel.createRawLocation(script, stackTrace[i].lineNumber, stackTrace[i].columnNumber);
+ var blackboxed = location ?
+ WebInspector.BlackboxSupport.isBlackboxedScriptLocation(location) :
WebInspector.BlackboxSupport.isBlackboxedURL(stackTrace[i].url);
if (!blackboxed)
return stackTrace[i];

Powered by Google App Engine
This is Rietveld 408576698