| Index: test/inspector/protocol-test.js
|
| diff --git a/test/inspector/protocol-test.js b/test/inspector/protocol-test.js
|
| index cf4ae7bfcd1a9a194f369af1025df473ff489766..427f20d170e74371049b1042aedeb0db2857ca42 100644
|
| --- a/test/inspector/protocol-test.js
|
| +++ b/test/inspector/protocol-test.js
|
| @@ -186,6 +186,10 @@ InspectorTest.Session = class {
|
| this.id = utils.connectSession(this.contextGroup.id, state, this._dispatchMessage.bind(this));
|
| }
|
|
|
| + async addInspectedObject(serializable) {
|
| + return this.Protocol.Runtime.evaluate({expression: `inspector.addInspectedObject(${this.id}, ${JSON.stringify(serializable)})`});
|
| + }
|
| +
|
| sendRawCommand(requestId, command, handler) {
|
| if (InspectorTest._dumpInspectorProtocolMessages)
|
| utils.print("frontend: " + command);
|
|
|