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

Unified Diff: test/inspector/debugger/doesnt-step-into-injected-script.js

Issue 2379303002: Revert "[inspector] added inspector test runner [part 3-5]" (Closed)
Patch Set: Created 4 years, 3 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: test/inspector/debugger/doesnt-step-into-injected-script.js
diff --git a/test/inspector/debugger/doesnt-step-into-injected-script.js b/test/inspector/debugger/doesnt-step-into-injected-script.js
deleted file mode 100644
index e5cd55cb3813b14511a03bb9082db0257a28d10b..0000000000000000000000000000000000000000
--- a/test/inspector/debugger/doesnt-step-into-injected-script.js
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2016 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-print("Check that stepInto at then end of the script go to next user script instead InjectedScriptSource.js.");
-
-InspectorTest.evaluateInPage(
-`function foo()
-{
- return 239;
-}`);
-
-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, {});
-}

Powered by Google App Engine
This is Rietveld 408576698