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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-doesnt-step-into-injected-script.html

Issue 2968523003: [DevTools] Migrate inspector-protocol/debugger tests to new harness (Closed)
Patch Set: all tests Created 3 years, 6 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/debugger-doesnt-step-into-injected-script.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-doesnt-step-into-injected-script.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-doesnt-step-into-injected-script.html
deleted file mode 100644
index 5bacfaea0226f43d915ee339cd70f32398f515a2..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-doesnt-step-into-injected-script.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<html>
-<head>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script>
-<script>
-
-function foo()
-{
- return 239;
-}
-
-function test()
-{
- InspectorTest.sendCommandOrDie("Debugger.enable", {});
- InspectorTest.eventHandler["Debugger.paused"] = debuggerPaused;
- InspectorTest.sendCommandOrDie("Runtime.evaluate", { "expression": "(function boo() { setTimeout(foo, 0); debugger; })()" });
-
- var actions = [ "stepInto", "stepInto", "stepInto" ];
- function debuggerPaused(result)
- {
- InspectorTest.log("Stack trace:");
- for (var callFrame of result.params.callFrames)
- InspectorTest.log(callFrame.functionName + ':' + callFrame.location.lineNumber + ":" + callFrame.location.columnNumber);
- InspectorTest.log("");
-
- var action = actions.shift();
- if (!action) {
- InspectorTest.sendCommandOrDie("Debugger.resume", {}, () => InspectorTest.completeTest());
- return;
- }
- InspectorTest.log("Perform " + action);
- InspectorTest.sendCommandOrDie("Debugger." + action, {});
- }
-}
-</script>
-</head>
-<body onLoad="runTest();">
-Check that stepInto at then end of the script go to next user script instead InjectedScriptSource.js.
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698