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

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

Issue 2892473004: [DevTools] continue-to-location prefers current frame (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
index 1d32c3045f4ad361f0848c5bade99bffcab54621..04432869a13f4ea8a5e5d0f6fd7b4ed07e266e15 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
@@ -940,6 +940,11 @@ SDK.DebuggerEventTypes = {
NativeBreakpoint: 2
};
+SDK.DebuggerModel.ContinueToLocationTargetCallFrames = {
+ Any: 'any',
+ Current: 'current'
+};
+
/**
* @implements {Protocol.DebuggerDispatcher}
* @unrestricted
@@ -1076,7 +1081,8 @@ SDK.DebuggerModel.Location = class {
continueToLocation(pausedCallback) {
if (pausedCallback)
this.debuggerModel._continueToLocationCallback = this._paused.bind(this, pausedCallback);
- this.debuggerModel._agent.continueToLocation(this.payload());
+ this.debuggerModel._agent.continueToLocation(
+ this.payload(), SDK.DebuggerModel.ContinueToLocationTargetCallFrames.Current);
dgozman 2017/05/18 21:50:32 There is a Protocol.DebuggerAgent..... enum alread
kozy 2017/05/18 23:30:20 Acknowledged.
}
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698