Index: test/debugger/debug/debug-evaluate-no-side-effect-control.js |
diff --git a/test/debugger/debug/debug-evaluate-no-side-effect-control.js b/test/debugger/debug/debug-evaluate-no-side-effect-control.js |
index 09b74d9d6f6ee003e5fa63e2cd32df1a84499649..1111b49c83604348354fba275da06ff9dba84087 100644 |
--- a/test/debugger/debug/debug-evaluate-no-side-effect-control.js |
+++ b/test/debugger/debug/debug-evaluate-no-side-effect-control.js |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --ignition --side-effect-free-debug-evaluate |
+// Flags: --ignition |
Debug = debug.Debug |
@@ -85,10 +85,11 @@ function listener(event, exec_state, event_data, data) { |
if (event != Debug.DebugEvent.Break) return; |
try { |
successes.forEach(function ([expectation, source]) { |
- assertEquals(expectation, exec_state.frame(0).evaluate(source).value()); |
+ assertEquals(expectation, |
+ exec_state.frame(0).evaluate(source, true).value()); |
}); |
fails.forEach(function (test) { |
- assertThrows(() => exec_state.frame(0).evaluate(test), EvalError); |
+ assertThrows(() => exec_state.frame(0).evaluate(test, true), EvalError); |
}); |
} catch (e) { |
exception = e; |