summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/debug-evaluate-with-context.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/debug-evaluate-with-context.js')
-rw-r--r--deps/v8/test/mjsunit/debug-evaluate-with-context.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/debug-evaluate-with-context.js b/deps/v8/test/mjsunit/debug-evaluate-with-context.js
index 5e1c83cf52..fa615ada20 100644
--- a/deps/v8/test/mjsunit/debug-evaluate-with-context.js
+++ b/deps/v8/test/mjsunit/debug-evaluate-with-context.js
@@ -32,6 +32,7 @@ Debug = debug.Debug
var evaluate_callback;
function listener(event, exec_state, event_data, data) {
+ if (event !== Debug.DebugEvent.Break) return;
try {
var context = { what_is_capybara: "a fish" };
var context2 = { what_is_capybara: "a fish", what_is_parrot: "a beard" };