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

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

Issue 201293007: DevTools: Remove step into selection experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/DebuggerModel.js
diff --git a/Source/devtools/front_end/DebuggerModel.js b/Source/devtools/front_end/DebuggerModel.js
index ec6833b7484beb4da24efebe6d205c4ab85daebd..3c449caecb19a22dabcae95d9345363f8bc7a498 100644
--- a/Source/devtools/front_end/DebuggerModel.js
+++ b/Source/devtools/front_end/DebuggerModel.js
@@ -199,25 +199,6 @@ WebInspector.DebuggerModel.prototype = {
this._agent.continueToLocation(rawLocation);
},
- /**
- * @param {!WebInspector.DebuggerModel.Location} rawLocation
- */
- stepIntoSelection: function(rawLocation)
- {
- /**
- * @param {!WebInspector.DebuggerModel.Location} requestedLocation
- * @param {?string} error
- * @this {WebInspector.DebuggerModel}
- */
- function callback(requestedLocation, error)
- {
- if (error)
- return;
- this._pendingStepIntoLocation = requestedLocation;
- };
- this._agent.continueToLocation(rawLocation, true, callback.bind(this, rawLocation));
- },
-
stepInto: function()
{
/**
@@ -482,19 +463,6 @@ WebInspector.DebuggerModel.prototype = {
*/
_pausedScript: function(callFrames, reason, auxData, breakpointIds, asyncStackTrace)
{
- if (this._pendingStepIntoLocation) {
- var requestedLocation = this._pendingStepIntoLocation;
- delete this._pendingStepIntoLocation;
-
- if (callFrames.length > 0) {
- var topLocation = callFrames[0].location;
- if (topLocation.lineNumber == requestedLocation.lineNumber && topLocation.columnNumber == requestedLocation.columnNumber && topLocation.scriptId == requestedLocation.scriptId) {
- this.stepInto();
- return;
- }
- }
- }
-
this._setDebuggerPausedDetails(new WebInspector.DebuggerPausedDetails(this, callFrames, reason, auxData, breakpointIds, asyncStackTrace));
},
« no previous file with comments | « no previous file | Source/devtools/front_end/JavaScriptSourceFrame.js » ('j') | Source/devtools/front_end/JavaScriptSourceFrame.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698