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

Unified Diff: third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js

Issue 1699183003: [DevTools] Don't load sourcemap for blackboxed scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add-source-map-support-v3
Patch Set: Rebased Created 4 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
Index: third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js b/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
index 807058537d6a04d18bb3d6b83a7f9f64a5c22d0b..c1e4d608023e39c1d7bcd8e71157191ea1223dbc 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
@@ -243,6 +243,17 @@ WebInspector.DebuggerWorkspaceBinding.prototype = {
},
/**
+ * @param {!WebInspector.Script} script
+ */
+ loadSourceMap: function(script)
dgozman 2016/02/18 02:37:41 maybeLoadSourceMap
kozy 2016/02/19 02:24:50 Done.
+ {
+ var targetData = this._targetToData.get(script.target());
+ if (!targetData)
+ return;
+ targetData._compilerMapping.loadSourceMap(script);
+ },
+
+ /**
* @param {!WebInspector.Event} event
*/
_globalObjectCleared: function(event)

Powered by Google App Engine
This is Rietveld 408576698