Index: Source/devtools/front_end/ElementsTreeOutline.js |
diff --git a/Source/devtools/front_end/ElementsTreeOutline.js b/Source/devtools/front_end/ElementsTreeOutline.js |
index 9df7d87c2cfbb7a78fb7b1b0aeac7243ca017b88..89a47c883b58e74d4a92abc921306bdaceaf8d35 100644 |
--- a/Source/devtools/front_end/ElementsTreeOutline.js |
+++ b/Source/devtools/front_end/ElementsTreeOutline.js |
@@ -1437,7 +1437,6 @@ WebInspector.ElementsTreeElement.prototype = { |
contextMenu.appendItem(WebInspector.UIString("Copy XPath"), this._copyXPath.bind(this)); |
if (isEditable) |
contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Delete node" : "Delete Node"), this.remove.bind(this)); |
- contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Inspect DOM properties" : "Inspect DOM Properties"), this._inspectDOMProperties.bind(this)); |
apavlov
2014/03/21 14:22:55
This one is also not quite clear to me. It was int
|
}, |
_startEditing: function() |
@@ -2336,34 +2335,6 @@ WebInspector.ElementsTreeElement.prototype = { |
InspectorFrontendHost.copyText(WebInspector.DOMPresentationUtils.xPath(this._node, true)); |
}, |
- _inspectDOMProperties: function() |
- { |
- WebInspector.RemoteObject.resolveNode(this._node, "console", callback); |
- |
- /** |
- * @param {?WebInspector.RemoteObject} nodeObject |
- */ |
- function callback(nodeObject) |
- { |
- if (!nodeObject) |
- return; |
- |
- var message = new WebInspector.ConsoleMessage( |
- WebInspector.ConsoleMessage.MessageSource.ConsoleAPI, |
- WebInspector.ConsoleMessage.MessageLevel.Log, |
- "", |
- WebInspector.ConsoleMessage.MessageType.Dir, |
- undefined, |
- undefined, |
- undefined, |
- undefined, |
- undefined, |
- [nodeObject]); |
- WebInspector.console.addMessage(message); |
- WebInspector.console.show(); |
- } |
- }, |
- |
_highlightSearchResults: function() |
{ |
if (!this._searchQuery || !this._searchHighlightsVisible) |