Index: test/mjsunit/debug-liveedit-stack-padding.js |
diff --git a/test/mjsunit/debug-liveedit-stack-padding.js b/test/mjsunit/debug-liveedit-stack-padding.js |
index 36de3569739be85dee476962cb21d467bfc0aaca..b219e568a74c7e01558fa4d60eaf585e1265f554 100644 |
--- a/test/mjsunit/debug-liveedit-stack-padding.js |
+++ b/test/mjsunit/debug-liveedit-stack-padding.js |
@@ -29,6 +29,7 @@ |
// Get the Debug object exposed from the debug context global object. |
Debug = debug.Debug; |
+Debug.setListener(listener); |
SlimFunction = eval( |
"(function() {\n " + |
@@ -76,7 +77,6 @@ function listener(event, exec_state, event_data, data) { |
} |
} |
-Debug.setListener(listener); |
var animal = SlimFunction(); |
@@ -86,3 +86,5 @@ if (saved_exception) { |
} |
assertEquals("Capybara", animal); |
+ |
+Debug.setListener(null); |