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

Unified Diff: LayoutTests/inspector/extensions/extensions-events.html

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/inspector/extensions/extensions-events.html
diff --git a/LayoutTests/inspector/extensions/extensions-events.html b/LayoutTests/inspector/extensions/extensions-events.html
index a1f5f2e641654e966a0fcb62dbe439e3df5ae76d..f815f8191dadc30e243b22b82d44294db3050960 100644
--- a/LayoutTests/inspector/extensions/extensions-events.html
+++ b/LayoutTests/inspector/extensions/extensions-events.html
@@ -19,7 +19,7 @@ function initialize_extensionsSidebarTest()
InspectorTest._extensionSidebar = function()
{
- return WebInspector.panels.elements._extensionSidebarPanes[0];
+ return WebInspector.extensionServer.sidebarPanes()[0];
}
}
@@ -40,19 +40,6 @@ function extension_testOnSelectionChanged(nextTest)
webInspector.inspectedWindow.eval("inspect(document.body.children[0]), 0");
}
-function extension_testSourcesOnSelectionChanged(nextTest)
-{
- function onSelectionChanged(selectionInfo)
- {
- webInspector.panels.sources.onSelectionChanged.removeListener(onSelectionChanged);
- output("sources onSelectionChanged fired, selectionInfo:");
- dumpObject(selectionInfo, {url: "url"});
- nextTest();
- }
- webInspector.panels.sources.onSelectionChanged.addListener(onSelectionChanged);
- evaluateOnFrontend("InspectorTest.showScriptSource(\"edit-me.js\")");
-}
-
function extension_testOnRequestFinished(nextTest)
{
function onRequestFinished()

Powered by Google App Engine
This is Rietveld 408576698