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() |