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

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

Issue 1663723002: [DevTools] Add sourceMap support for blackboxing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@call-set-blackboxed-ranges-on-script-parsed
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/bindings/CompilerScriptMapping.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js b/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js
index 6584ca8213350e12216a1ca331fcaa21ef8079c4..59dae43053ec0be636a70377221c52200f2d4b51 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js
@@ -187,6 +187,8 @@ WebInspector.CompilerScriptMapping.prototype = {
*/
_sourceMapLoaded: function(script, uiSourceCodePath, sourceMap)
{
+ script.dispatchEventToListeners(WebInspector.Script.Events.SourceMapLoaded, sourceMap);
dgozman 2016/02/03 18:24:10 Just make a direct call into BlackboxManager.
kozy 2016/02/09 23:10:09 Done.
+
this._stubUISourceCodes.delete(script.scriptId);
this._stubProject.removeFile(uiSourceCodePath);

Powered by Google App Engine
This is Rietveld 408576698