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

Unified Diff: LayoutTests/http/tests/inspector/extensions-test.js

Issue 667623002: DevTools: make extension server a part of core, panels' code should depend on it. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: for review Created 6 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: LayoutTests/http/tests/inspector/extensions-test.js
diff --git a/LayoutTests/http/tests/inspector/extensions-test.js b/LayoutTests/http/tests/inspector/extensions-test.js
index 8b5ebfca7033fc6878f15c771d06b116b71b01ab..30bbb00c50ad183a513425d21152a375b64374ba 100644
--- a/LayoutTests/http/tests/inspector/extensions-test.js
+++ b/LayoutTests/http/tests/inspector/extensions-test.js
@@ -12,9 +12,9 @@ function extensionFunctions()
var initialize_ExtensionsTest = function()
{
-WebInspector.extensionServerProxy._overridePlatformExtensionAPIForTest = function(extensionInfo)
+WebInspector.extensionServer._overridePlatformExtensionAPIForTest = function(extensionInfo)
{
- WebInspector.extensionServerProxy._extensionServer._registerHandler("evaluateForTestInFrontEnd", onEvaluate);
+ WebInspector.extensionServer._registerHandler("evaluateForTestInFrontEnd", onEvaluate);
function platformExtensionAPI(coreAPI)
{
@@ -33,7 +33,7 @@ function onEvaluate(message, port)
{
function reply(param)
{
- WebInspector.extensionServerProxy._extensionServer._dispatchCallback(message.requestId, port, param);
+ WebInspector.extensionServer._dispatchCallback(message.requestId, port, param);
}
try {
@@ -53,7 +53,6 @@ InspectorTest.showPanel = function(panelId)
InspectorTest.runExtensionTests = function()
{
- WebInspector.extensionServerProxy.setFrontendReady();
RuntimeAgent.evaluate("location.href", "console", false, function(error, result) {
if (error)
return;

Powered by Google App Engine
This is Rietveld 408576698