Bug 1321509 - Remove unused parameters from node-highlight event;r=pbro

The last parameter sent with the node-highlight event is never used.
Also toSource is a Firefox only API, in the context of devtools-html it
would be nice to get rid of it.

MozReview-Commit-ID: E80utdu80Sn

--HG--
extra : rebase_source : 884c00a6a5bc1e2f1afae65047ceaf446e8d2161
This commit is contained in:
Julian Descottes 2016-11-28 22:47:02 +01:00
parent 54c3ef166c
commit 70d2279376

View File

@ -240,7 +240,7 @@ exports.getHighlighterUtils = function (toolbox) {
yield toolbox.walker.highlight(nodeFront);
}
toolbox.emit("node-highlight", nodeFront, options.toSource());
toolbox.emit("node-highlight", nodeFront);
});
/**