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

Unified Diff: test/mjsunit/regress/regress-419663.js

Issue 2505363002: [debug-wrapper] Adapt tests, breakpoint.actual_location (Closed)
Patch Set: Rebase 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/mjsunit.status ('k') | test/mjsunit/regress/regress-crbug-259300.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-419663.js
diff --git a/test/mjsunit/regress/regress-419663.js b/test/mjsunit/regress/regress-419663.js
deleted file mode 100644
index 6f51741cf86cd1f614eb169767258574b6cea796..0000000000000000000000000000000000000000
--- a/test/mjsunit/regress/regress-419663.js
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2012 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
-
-var o = {
- f: function(x) {
- var a = x + 1;
- o = 1;
- }
-}
-
-function sentinel() {}
-
-var Debug = debug.Debug;
-
-Debug.setListener(function() {});
-
-var script = Debug.findScript(sentinel);
-
-// Used in Debug.setScriptBreakPointById.
-var p = Debug.findScriptSourcePosition(script, 9, 0);
-var q = Debug.setBreakPointByScriptIdAndPosition(script.id, p).actual_position;
-var r = Debug.setBreakPointByScriptIdAndPosition(script.id, q).actual_position;
-
-assertEquals(q, r);
-
-function assertLocation(p, l, c) {
- var location = script.locationFromPosition(p, false);
- assertEquals(l, location.line);
- assertEquals(c, location.column);
-}
-
-assertLocation(p, 9, 0);
-assertLocation(q, 9, 4);
-assertLocation(r, 9, 4);
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | test/mjsunit/regress/regress-crbug-259300.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698