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

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

Issue 2832723004: [test/inspector] remove any usage of v8::Extension (Closed)
Patch Set: ac Created 3 years, 8 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
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");
`;
« no previous file with comments | « no previous file | test/inspector/debugger/collect-obsolete-async-tasks.js » ('j') | test/inspector/inspector-test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698