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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/debugger/getStepInPositions.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
Index: third_party/WebKit/LayoutTests/inspector-protocol/debugger/getStepInPositions.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/getStepInPositions.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/getStepInPositions.html
deleted file mode 100644
index 0f34335f21a888b954b48c300d31395c84e87f29..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/getStepInPositions.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<html>
-<head>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
-<script>
-
-function TestFunction()
-{
- debugger;
- f(f1(2, 4),
- f2(f3(), f4(5)));
-}
-
-function test()
-{
- InspectorTest.sendCommand("Debugger.enable", {});
-
- InspectorTest.eventHandler["Debugger.paused"] = handleDebuggerPausedOne;
-
- InspectorTest.sendCommand("Runtime.evaluate", { "expression": "setTimeout(TestFunction, 0)" });
-
- function handleDebuggerPausedOne(messageObject)
- {
- InspectorTest.log("Paused on 'debugger;'");
-
- InspectorTest.eventHandler["Debugger.paused"] = handleDebuggerPausedTwo;
- InspectorTest.sendCommand("Debugger.stepOver", { });
- }
-
- function handleDebuggerPausedTwo(messageObject)
- {
- InspectorTest.log("Paused on the next statement");
- var topFrame = messageObject.params.callFrames[0];
-
- InspectorTest.eventHandler["Debugger.paused"] = undefined;
-
- InspectorTest.sendCommand("Debugger.getStepInPositions", { callFrameId: topFrame.callFrameId }, callbackGetStepInPositions);
- }
-
- function callbackGetStepInPositions(response)
- {
- var positions = response.result.stepInPositions;
- if (positions.length >= 3)
- InspectorTest.log("PASS");
- else
- InspectorTest.log("FAIL");
-
- InspectorTest.completeTest();
- }
-}
-</script>
-</head>
-<body onLoad="runTest();">
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698