mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
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:
parent
54c3ef166c
commit
70d2279376
@ -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);
|
||||
});
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user