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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/debugger/access-obsolete-frame.html

Issue 1785533002: [DevTools] Removed unused hidden protocol method: getStepInPositions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/debugger/access-obsolete-frame-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector-protocol/debugger/access-obsolete-frame.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/access-obsolete-frame.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/access-obsolete-frame.html
index bd1f320694f7780d56f0198b8875edb0a5116c01..b4bb0e5c55a03b073a8f400354845a440a631a8c 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/access-obsolete-frame.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/access-obsolete-frame.html
@@ -15,18 +15,18 @@ function test()
InspectorTest.eventHandler["Debugger.paused"] = handleDebuggerPausedOne;
InspectorTest.sendCommand("Runtime.evaluate", { "expression": "setTimeout(testFunction, 0)" });
-
+
var obsoleteTopFrameId;
-
+
function handleDebuggerPausedOne(messageObject)
{
InspectorTest.log("Paused on 'debugger;'");
var topFrame = messageObject.params.callFrames[0];
obsoleteTopFrameId = topFrame.callFrameId;
-
+
InspectorTest.eventHandler["Debugger.paused"] = undefined;
-
+
InspectorTest.sendCommand("Debugger.resume", { }, callbackResume);
}
@@ -36,34 +36,27 @@ function test()
InspectorTest.log("restartFrame");
InspectorTest.sendCommand("Debugger.restartFrame", { callFrameId: obsoleteTopFrameId }, callbackRestartFrame);
}
-
+
function callbackRestartFrame(response)
{
logErrorResponse(response);
InspectorTest.log("evaluateOnFrame");
InspectorTest.sendCommand("Debugger.evaluateOnCallFrame", { callFrameId: obsoleteTopFrameId, expression: "0"} , callbackEvaluate);
}
-
+
function callbackEvaluate(response)
{
logErrorResponse(response);
InspectorTest.log("setVariableValue");
InspectorTest.sendCommand("Debugger.setVariableValue", { callFrameId: obsoleteTopFrameId, scopeNumber: 0, variableName: "a", newValue: { value: 0 } }, callbackSetVariableValue);
}
-
+
function callbackSetVariableValue(response)
{
logErrorResponse(response);
- InspectorTest.log("getStepInPositions");
- InspectorTest.sendCommand("Debugger.getStepInPositions", { callFrameId: obsoleteTopFrameId }, callbackGetStepInPositions);
- }
-
- function callbackGetStepInPositions(response)
- {
- logErrorResponse(response);
InspectorTest.completeTest();
}
-
+
function logErrorResponse(response)
{
if (response.error) {
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/debugger/access-obsolete-frame-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698