Index: test/debugger/test-api.js |
diff --git a/test/debugger/test-api.js b/test/debugger/test-api.js |
index 22dac703194f618840067a32c4fe12a9786c1f4b..2dec3248b329639f787ef83c1c3c95501f3d6933 100644 |
--- a/test/debugger/test-api.js |
+++ b/test/debugger/test-api.js |
@@ -677,13 +677,12 @@ |
}; |
} |
- evaluateOnCallFrame(frame, expr, throw_on_side_effect = false) { |
+ evaluateOnCallFrame(frame, expr) { |
const frameid = frame.callFrameId; |
const {msgid, msg} = this.createMessage( |
"Debugger.evaluateOnCallFrame", |
{ callFrameId : frameid, |
- expression : expr, |
- throwOnSideEffect : throw_on_side_effect, |
+ expression : expr |
}); |
this.sendMessage(msg); |
const reply = this.takeReplyChecked(msgid); |
@@ -728,8 +727,7 @@ |
sourceLine : () => line + 1, |
sourceLineText : () => loc.sourceText, |
sourcePosition : () => loc.position, |
- evaluate : (expr, throw_on_side_effect) => |
- this.evaluateOnCallFrame(frame, expr, throw_on_side_effect), |
+ evaluate : (expr) => this.evaluateOnCallFrame(frame, expr), |
functionName : () => frame.functionName, |
func : () => func, |
index : () => index, |