0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/test/assets/jscoverage/eval.html
Pavel Pomerantsev 12bc1e1a62 feat(coverage): add an option to collect coverage of anonymous scripts ()
This patch adds `reportAnonymousScripts` option to the `coverage.startJSCoverage` method. With this option, anonymous scripts are reported as well.

Fixes 
2018-07-11 18:38:34 -07:00

2 lines
44 B
HTML

<script>eval('console.log("foo")')</script>