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:
@@ -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);
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user