| Index: test/inspector/console/destroy-context-during-log.js
|
| diff --git a/test/inspector/console/destroy-context-during-log.js b/test/inspector/console/destroy-context-during-log.js
|
| index 9c5753ffc07a74695fa78079d7360e1a9261e939..274165ca0ce14ff852fd8ae3d08a87ff95668a92 100644
|
| --- a/test/inspector/console/destroy-context-during-log.js
|
| +++ b/test/inspector/console/destroy-context-during-log.js
|
| @@ -10,11 +10,11 @@ const expression = `
|
| delete Object.prototype.RemoteObject;
|
| this.RemoteObject = v;
|
|
|
| - detachInspector();
|
| + inspector.detachInspector();
|
| setTimeout(function() {
|
| // Attach the inspector again for the sake of establishing a
|
| // communication channel with the frontend test runner.
|
| - attachInspector();
|
| + inspector.attachInspector();
|
| console.log("End of test");
|
| }, 0);
|
| },
|
| @@ -23,8 +23,8 @@ const expression = `
|
| // Before the whole script runs, the inspector is already attached.
|
| // Re-attach the inspector and trigger the console API to make sure that the
|
| // injected inspector script runs again (and triggers the above setter).
|
| - detachInspector();
|
| - attachInspector();
|
| + inspector.detachInspector();
|
| + inspector.attachInspector();
|
| console.log("First inspector activity after attaching inspector");
|
| console.log("End of test");
|
| `;
|
|
|