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

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

Issue 712403002: [DevTools] Move extension embedder message to InspectorFrontentAPI. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | « no previous file | Source/devtools/front_end/devtools_app/DevToolsApp.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a168c54881878e52c2b3154f542a9e33808635db..ccb95713675dbb295308ea3d7928d4ef033ca2d9 100644
--- a/LayoutTests/http/tests/inspector/extensions-test.js
+++ b/LayoutTests/http/tests/inspector/extensions-test.js
@@ -12,7 +12,7 @@ function extensionFunctions()
var initialize_ExtensionsTest = function()
{
-WebInspector.extensionServer._overridePlatformExtensionAPIForTest = function(extensionInfo)
+WebInspector.extensionServer._overridePlatformExtensionAPIForTest = function(extensionInfo, inspectedTabId)
{
WebInspector.extensionServer._registerHandler("evaluateForTestInFrontEnd", onEvaluate);
@@ -61,7 +61,7 @@ InspectorTest.runExtensionTests = function()
pageURL.replace(/^(https?:\/\/[^/]*\/).*$/,"$1") :
pageURL.replace(/\/inspector\/extensions\/[^/]*$/, "/http/tests")) +
"/inspector/resources/extension-main.html";
- WebInspector.addExtensions([{ startPage: extensionURL, name: "test extension", exposeWebInspectorNamespace: true }]);
+ InspectorFrontendAPI.addExtensions([{ startPage: extensionURL, name: "test extension", exposeWebInspectorNamespace: true }]);
WebInspector.extensionServer.initializeExtensions();
});
}
« no previous file with comments | « no previous file | Source/devtools/front_end/devtools_app/DevToolsApp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698