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

Unified Diff: test/mjsunit/debug-stepin-constructor.js

Issue 19753: Changed the debugger API to allow only one debug event listener to be registe... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 11 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-step-stub-callfunction.js ('k') | test/mjsunit/regress/regress-1081309.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-stepin-constructor.js
===================================================================
--- test/mjsunit/debug-stepin-constructor.js (revision 1198)
+++ test/mjsunit/debug-stepin-constructor.js (working copy)
@@ -45,7 +45,7 @@
};
// Add the debug event listener.
-Debug.addListener(listener);
+Debug.setListener(listener);
// Test step into constructor with simple constructor.
function X() {
@@ -71,4 +71,4 @@
assertEquals(4, break_break_point_hit_count);
// Get rid of the debug event listener.
-Debug.removeListener(listener);
+Debug.setListener(null);
« no previous file with comments | « test/mjsunit/debug-step-stub-callfunction.js ('k') | test/mjsunit/regress/regress-1081309.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698