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 2289fbefc09c872eac54b2b597d5a2790d229365..9c5753ffc07a74695fa78079d7360e1a9261e939 100644 |
--- a/test/inspector/console/destroy-context-during-log.js |
+++ b/test/inspector/console/destroy-context-during-log.js |
@@ -6,6 +6,7 @@ const expression = ` |
Object.defineProperty(Object.prototype, 'RemoteObject', { |
configurable: true, |
set(v) { |
+ console.log("Should never be called"); |
delete Object.prototype.RemoteObject; |
this.RemoteObject = v; |
@@ -25,6 +26,7 @@ const expression = ` |
detachInspector(); |
attachInspector(); |
console.log("First inspector activity after attaching inspector"); |
+ console.log("End of test"); |
`; |
Protocol.Runtime.enable(); |