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

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: 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 6d22ee76e9a4a669daf92e70a39cc162905cd21a..e16ade88a3d4969972d1f6adc31f8de1975d0d64 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
+ */
+ maybeLoadSourceMap: function(script)
+ {
+ var targetData = this._targetToData.get(script.target());
+ if (!targetData)
+ return;
+ targetData._compilerMapping.maybeLoadSourceMap(script);
+ },
+
+ /**
* @param {!WebInspector.Event} event
*/
_globalObjectCleared: function(event)

Powered by Google App Engine
This is Rietveld 408576698