(expr, throw_on_side_effect)
| 631 | } |
| 632 | |
| 633 | evaluateGlobal(expr, throw_on_side_effect) { |
| 634 | const {msgid, msg} = this.createMessage( |
| 635 | "Runtime.evaluate", { expression : expr, throwOnSideEffect: throw_on_side_effect }); |
| 636 | this.sendMessage(msg); |
| 637 | const reply = this.takeReplyChecked(msgid); |
| 638 | |
| 639 | const result = reply.result.result; |
| 640 | return this.reconstructRemoteObject(result); |
| 641 | } |
| 642 | |
| 643 | evaluateGlobalREPL(expr) { |
| 644 | return %RuntimeEvaluateREPL(expr).then(value => { |
no test coverage detected