Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Unified Diff: test/inspector/console/destroy-context-during-log.js

Issue 2770823003: [inspector] Increased chances of successful InjectedScriptSource compilation (Closed)
Patch Set: fixed .isolate Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/inspector/v8-injected-script-host.cc ('k') | test/inspector/inspector.isolate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « src/inspector/v8-injected-script-host.cc ('k') | test/inspector/inspector.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698