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

Unified Diff: test/mjsunit/debug-script.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/debug-liveedit-stack-padding.js ('k') | test/mjsunit/debug-script-breakpoints.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-script.js
diff --git a/test/mjsunit/debug-script.js b/test/mjsunit/debug-script.js
index b3047de8fa7c8836daf4e354117025ac401ee310..32415c24287b2264a5b5f678a523e76bbc49d2a8 100644
--- a/test/mjsunit/debug-script.js
+++ b/test/mjsunit/debug-script.js
@@ -36,6 +36,7 @@
// Get the Debug object exposed from the debug context global object.
Debug = debug.Debug;
+Debug.setListener(function(){});
Date();
RegExp();
@@ -103,3 +104,5 @@ assertEquals(Debug.ScriptType.Normal, debug_script.type);
// Check a nonexistent script.
var dummy_script = Debug.findScript('dummy.js');
assertTrue(typeof dummy_script == 'undefined');
+
+Debug.setListener(null);
« no previous file with comments | « test/mjsunit/debug-liveedit-stack-padding.js ('k') | test/mjsunit/debug-script-breakpoints.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698