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

Unified Diff: Source/devtools/front_end/sdk/DebuggerModel.js

Issue 548323002: DevTools: Blackbox content scripts - frontend. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: added a test Created 6 years, 3 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: Source/devtools/front_end/sdk/DebuggerModel.js
diff --git a/Source/devtools/front_end/sdk/DebuggerModel.js b/Source/devtools/front_end/sdk/DebuggerModel.js
index 83fe39b4dab2bf70c236caf35af7f5d01b1d6249..6d02d594cb99f936e20942b8fc88f1dc3a05609a 100644
--- a/Source/devtools/front_end/sdk/DebuggerModel.js
+++ b/Source/devtools/front_end/sdk/DebuggerModel.js
@@ -60,6 +60,7 @@ WebInspector.DebuggerModel = function(target)
this.enableDebugger();
WebInspector.settings.skipStackFramesPattern.addChangeListener(this._applySkipStackFrameSettings, this);
+ WebInspector.settings.skipContentScripts.addChangeListener(this._applySkipStackFrameSettings, this);
this._applySkipStackFrameSettings();
}
@@ -666,7 +667,7 @@ WebInspector.DebuggerModel.prototype = {
_applySkipStackFrameSettings: function()
{
- this._agent.skipStackFrames(WebInspector.settings.skipStackFramesPattern.get());
+ this._agent.skipStackFrames(WebInspector.settings.skipStackFramesPattern.get(), WebInspector.settings.skipContentScripts.get());
},
/**
@@ -722,6 +723,7 @@ WebInspector.DebuggerModel.prototype = {
WebInspector.settings.pauseOnExceptionEnabled.removeChangeListener(this._pauseOnExceptionStateChanged, this);
WebInspector.settings.pauseOnCaughtException.removeChangeListener(this._pauseOnExceptionStateChanged, this);
WebInspector.settings.skipStackFramesPattern.removeChangeListener(this._applySkipStackFrameSettings, this);
+ WebInspector.settings.skipContentScripts.removeChangeListener(this._applySkipStackFrameSettings, this);
WebInspector.settings.enableAsyncStackTraces.removeChangeListener(this._asyncStackTracesStateChanged, this);
},
« no previous file with comments | « Source/devtools/front_end/sdk/BlackboxSupport.js ('k') | Source/devtools/front_end/settings/FrameworkBlackboxDialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698