-
Notifications
You must be signed in to change notification settings - Fork 9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(coverage): report anonymous scripts with debugger:// urls (#2875)
Chrome DevTools shows anonymous scripts with yellow background and names them with `debugger://VM<scriptId>` prefix. This patch starts reporting the same debugger:// urls for anonymous scripts in puppeteer's JS coverage. This might simplify debugging, e.g. using `debugger;` statement to reveal the script in DevTools and later matching it against the one in the coverage.
- Loading branch information
1 parent
254bc80
commit 3ebbf12
Showing
2 changed files
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters