# HG changeset patch # User Julian Descottes # Date 1517309910 -3600 # Node ID 905501cadb34fee5cb9d79f2f976f95cbae23e67 # Parent 95f95f1b6a0df8000f41591d56b1548d17c7e5ee Bug 1434217 - remove walker actor methods deprecated in FF29;r=bgrins MozReview-Commit-ID: 6ZxGTFNvOj4 diff --git a/devtools/server/actors/inspector/walker-actor.js b/devtools/server/actors/inspector/walker-actor.js --- a/devtools/server/actors/inspector/walker-actor.js +++ b/devtools/server/actors/inspector/walker-actor.js @@ -326,38 +326,16 @@ var WalkerActor = protocol.ActorClassWit /** * When the browser window gets resized, relay the event to the front. */ _onResize: function () { this.emit("resize"); }, /** - * This is kept for backward-compatibility reasons with older remote targets. - * Targets prior to bug 916443. - * - * pick/cancelPick are used to pick a node on click on the content - * document. But in their implementation prior to bug 916443, they don't allow - * highlighting on hover. - * The client-side now uses the highlighter actor's pick and cancelPick - * methods instead. The client-side uses the the highlightable trait found in - * the root actor to determine which version of pick to use. - * - * As for highlight, the new highlighter actor is used instead of the walker's - * highlight method. Same here though, the client-side uses the highlightable - * trait to dertermine which to use. - * - * Keeping these actor methods for now allows newer client-side debuggers to - * inspect fxos 1.2 remote targets or older firefox desktop remote targets. - */ - pick: function () {}, - cancelPick: function () {}, - highlight: function (node) {}, - - /** * Ensures that the node is attached and it can be accessed from the root. * * @param {(Node|NodeActor)} nodes The nodes * @return {Object} An object compatible with the disconnectedNode type. */ attachElement: function (node) { let { nodes, newParents } = this.attachElements([node]); return {