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

Unified Diff: test/inspector/protocol-test.js

Issue 2828143002: [test/inspector] migrate utils to ObjectTemplate (Closed)
Patch Set: say no for deprecated methods! 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
« no previous file with comments | « test/inspector/inspector-test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/protocol-test.js
diff --git a/test/inspector/protocol-test.js b/test/inspector/protocol-test.js
index 27f5ecead2dd0aa05f58598e9867bdaadb3af245..3884a16ed99a1bdd0183f48ea503fa6772ff50b8 100644
--- a/test/inspector/protocol-test.js
+++ b/test/inspector/protocol-test.js
@@ -33,36 +33,6 @@ Protocol = new Proxy({}, {
InspectorTest.logProtocolCommandCalls = (command) => InspectorTest._commandsForLogging.add(command);
-var utils = {};
-(function setupUtils() {
- utils.load = load;
- this.load = null;
- utils.read = read;
- this.read = null;
- utils.compileAndRunWithOrigin = compileAndRunWithOrigin;
- this.compileAndRunWithOrigin = null;
- utils.quit = quit;
- this.quit = null;
- utils.print = print;
- this.print = null;
- utils.setlocale = setlocale;
- this.setlocale = null;
- utils.setCurrentTimeMSForTest = setCurrentTimeMSForTest;
- this.setCurrentTimeMSForTest = null;
- utils.setMemoryInfoForTest = setMemoryInfoForTest;
- this.setMemoryInfoForTest = null;
- utils.schedulePauseOnNextStatement = schedulePauseOnNextStatement;
- this.schedulePauseOnNextStatement = null;
- utils.cancelPauseOnNextStatement = cancelPauseOnNextStatement;
- this.cancelPauseOnNextStatement = null;
- utils.reconnect = reconnect;
- this.reconnect = null;
- utils.setLogConsoleApiMessageCalls = setLogConsoleApiMessageCalls;
- this.setLogConsoleApiMessageCalls = null;
- utils.createContextGroup = createContextGroup;
- this.createContextGroup = null;
-})();
-
InspectorTest.log = utils.print.bind(null);
InspectorTest.logMessage = function(originalMessage)
« no previous file with comments | « test/inspector/inspector-test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698