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

Unified Diff: test/debugger/debug/ignition/debug-scope-on-return.js

Issue 2480283002: Revert of [debugger] Migrate more debugger tests to inspector (Closed)
Patch Set: Created 4 years, 1 month 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/debugger/debug/ignition/debug-scope-on-return.js
diff --git a/test/debugger/debug/ignition/debug-scope-on-return.js b/test/debugger/debug/ignition/debug-scope-on-return.js
deleted file mode 100644
index 70a80b1981e3095a6bfef5c78d8c738602f2c8df..0000000000000000000000000000000000000000
--- a/test/debugger/debug/ignition/debug-scope-on-return.js
+++ /dev/null
@@ -1,30 +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.
-
-
-// Check that the we are still in function context when we break on return.
-
-var Debug = debug.Debug;
-
-function listener(event, exec_state, event_data, data) {
- if (event == Debug.DebugEvent.Break) {
- // Access scope details to check the context is correct.
- var scope_count = exec_state.frame().scopeCount();
- // Do steps until we reach the global scope again.
- exec_state.prepareStep(Debug.StepAction.StepIn);
- }
-}
-
-Debug.setListener(listener);
-
-function f() {
- debugger;
-
- L: with ({x:12}) {
- break L;
- }
-
- return;
-}
-f();
« no previous file with comments | « test/debugger/debug/ignition/debug-break-on-stack.js ('k') | test/debugger/debug/ignition/debugger-statement.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698