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

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

Issue 1181013007: Debugger: require debugger to be active when dealing with breaks. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix yet another test Created 5 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
« no previous file with comments | « test/mjsunit/regress/regress-2318.js ('k') | test/mjsunit/regress/regress-crbug-474297.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-424142.js
diff --git a/test/mjsunit/regress/regress-crbug-424142.js b/test/mjsunit/regress/regress-crbug-424142.js
index 0a370d414269062ff9dabae4e09e4e7a2e77ea13..b188565fe2f22ac79dcf3ea374e222fb61622d88 100644
--- a/test/mjsunit/regress/regress-crbug-424142.js
+++ b/test/mjsunit/regress/regress-crbug-424142.js
@@ -23,6 +23,7 @@
function sentinel() {}
Debug = debug.Debug;
+Debug.setListener(function(){});
var script = Debug.findScript(sentinel);
var line = 14;
@@ -34,3 +35,5 @@ var actual = Debug.setBreakPointByScriptIdAndPosition(
// the break point.
assertTrue(line_start <= actual);
assertTrue(actual <= line_end);
+
+Debug.setListener(null);
« no previous file with comments | « test/mjsunit/regress/regress-2318.js ('k') | test/mjsunit/regress/regress-crbug-474297.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698