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
This commit is contained in:
Julian Descottes
2016-11-28 22:47:02 +01:00
parent 9e92f435bc
commit c6f9f1d6c8

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);
});
/**