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

Unified Diff: test/mjsunit/regress/regress-crbug-119800.js

Issue 2497973002: [debug-wrapper] Further extend the debug wrapper (Closed)
Patch Set: Address comments 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
« no previous file with comments | « test/mjsunit/regress/regress-5164.js ('k') | test/mjsunit/regress/regress-crbug-171715.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-119800.js
diff --git a/test/mjsunit/regress/regress-crbug-119800.js b/test/mjsunit/regress/regress-crbug-119800.js
deleted file mode 100644
index 85f28a7bc897f129b811fc98931630ea2ceb6959..0000000000000000000000000000000000000000
--- a/test/mjsunit/regress/regress-crbug-119800.js
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2015 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.
-
-// Flags: --expose-debug-as debug
-
-function f() {
- print(1);
- print(2);
- print(3);
-}
-
-var Debug = debug.Debug;
-var exception = null;
-var breaks = [];
-
-function listener(event, exec_state, event_data, data) {
- if (event != Debug.DebugEvent.Break) return;
- try {
- Debug.debuggerFlags().breakPointsActive.setValue(false);
- breaks.push(exec_state.frame().sourceLineText().trimLeft());
- exec_state.prepareStep(Debug.StepAction.StepIn);
- } catch (e) {
- exception = e;
- }
-}
-
-Debug.setListener(listener);
-Debug.setBreakPoint(f, 0, 0);
-
-f();
-
-Debug.setListener(null);
-Debug.debuggerFlags().breakPointsActive.setValue(true);
-
-assertNull(exception);
-assertEquals(breaks, ["print(1);", "print(2);", "print(3);", "}",
- "Debug.setListener(null);"]);
« no previous file with comments | « test/mjsunit/regress/regress-5164.js ('k') | test/mjsunit/regress/regress-crbug-171715.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698