-
achicu@adobe.com authored
https://bugs.webkit.org/show_bug.cgi?id=124544 Reviewed by Joseph Pecoraro. Added the new DOM.performSearch "nodeIds" parameter and made the two implementations of DOMTreeContentView provide the right context node ids. DOMTreeContentView is just using the id of the document node while ContentFlowDOMTreeContentView is passing the list of content nodes. Note that adding an extra optional parameter to DOM.performSearch does not break iOS 6 and 7 compatibility. * UserInterface/ContentFlowDOMTreeContentView.js: (WebInspector.ContentFlowDOMTreeContentView.prototype.getSearchContextNodes): * UserInterface/DOMTreeContentView.js: (WebInspector.DOMTreeContentView.prototype.performSearch.contextNodesReady): (WebInspector.DOMTreeContentView.prototype.performSearch): (WebInspector.DOMTreeContentView.prototype.getSearchContextNodes): * UserInterface/FrameDOMTreeContentView.js: (WebInspector.FrameDOMTreeContentView.prototype.getSearchContextNodes): * UserInterface/InspectorBackendCommands.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4465a487