admin管理员组文章数量:1317123
I've just discovered an interesting function in Chrome, to show which parts of the code are not being used in the running page/application.
More details here: Chrome devtools Coverage
I wasn't able to find and alternative for Firefox, does anybody know if it exists natively in the browser, or if there are any extensions capable of the same functionality?
Thanks
I've just discovered an interesting function in Chrome, to show which parts of the code are not being used in the running page/application.
More details here: Chrome devtools Coverage
I wasn't able to find and alternative for Firefox, does anybody know if it exists natively in the browser, or if there are any extensions capable of the same functionality?
Thanks
Share Improve this question asked Oct 30, 2020 at 9:46 funder7funder7 1,87721 silver badges33 bronze badges 2- 1 Note that Chrome's code coverage tool currently only checks the coverage on a single page. I.e. if you have different pages on your website using different parts of your CSS or JavaScript, the coverage is actually higher than shown by that tool. Also, your code may have parts working only in a specific browser, e.g. prefixed CSS properties, which are not recognized by that tool. These two restrictions limit its usefulness. – Sebastian Zartner Commented Oct 30, 2020 at 21:30
- This could make possible to have coverage using Firefox in Playwright, a feature I miss a lot. – Jean Claveau Commented Sep 24, 2022 at 20:28
1 Answer
Reset to default 8The simple but unfortunate answer is no, Firefox (version 82) doesn't include a code coverage tool and there isn't any Firefox extension allowing to do that so far.
There is only an enhancement request asking for adding a code coverage feature like the one in Chrome.
本文标签: javascriptAlternative for Chrome39s Coverage in FirefoxStack Overflow
版权声明:本文标题:javascript - Alternative for Chrome's Coverage in Firefox - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742020216a2414476.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论