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

Unified Diff: test/inspector/runtime/get-properties.js

Issue 2390733002: [inspector] Make InspectorTest.sendCommand* private (Closed)
Patch Set: addressed comments Created 4 years, 2 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/runtime/get-properties.js
diff --git a/test/inspector/runtime/get-properties.js b/test/inspector/runtime/get-properties.js
index 86fe9fa6d1a28fa83273843d7de2af4ba652cb9d..579e5422d99ba14d78f4a92db2168e4b480f3e04 100644
--- a/test/inspector/runtime/get-properties.js
+++ b/test/inspector/runtime/get-properties.js
@@ -50,7 +50,8 @@ function runRequestSeries(step)
}
processStep(next);
}
- InspectorTest.sendCommand(s.command, s.params, innerCallback);
+ var command = s.command.split(".");
+ Protocol[command[0]][command[1]](s.params).then(innerCallback);
}
}

Powered by Google App Engine
This is Rietveld 408576698