Index: test/mjsunit/debug-evaluate-with-context.js |
diff --git a/test/mjsunit/debug-evaluate-with-context.js b/test/mjsunit/debug-evaluate-with-context.js |
index 5e1c83cf52cf401f615fc06ec45f0feaac125079..e2e14370d3ef3a324d1aadfd42e91aae8e6a59cf 100644 |
--- a/test/mjsunit/debug-evaluate-with-context.js |
+++ b/test/mjsunit/debug-evaluate-with-context.js |
@@ -32,6 +32,8 @@ Debug = debug.Debug |
var evaluate_callback; |
function listener(event, exec_state, event_data, data) { |
+ if (event == Debug.DebugEvent.AfterCompile || |
yurys
2014/12/08 14:31:22
should it be
if (event !== Debug.DebugEvent.Deb
kozy
2014/12/08 14:53:01
Done.
|
+ event == Debug.DebugEvent.CompileError) return; |
try { |
var context = { what_is_capybara: "a fish" }; |
var context2 = { what_is_capybara: "a fish", what_is_parrot: "a beard" }; |