зеркало из https://github.com/mozilla/gecko-dev.git
799e9aa4fd
getCssPath and getXPath will need to reuse the same logic as findCssSelector to handle shadowDOM support. This patch moves the methods next to findCssSelector, in toolkit's css-selector.js to avoid duplicating logic between devtools/ and toolkit/ The content of the methods is stricltly the same, except for the Node global not available in css-selector.js. Instead we use `ele.ownerGlobal.Node` here. MozReview-Commit-ID: J0KuORWLUoO --HG-- extra : rebase_source : 26a1801670e5554577f0f77b62667527f7b497bb |
||
---|---|---|
.. | ||
css-logic.js | ||
moz.build |