Skip to content

Commit afadea6

Browse files
authored
Fix comment
1 parent e89ac6e commit afadea6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ module.exports = async (url, {waitUntil = 'networkidle0'} = {}) => {
5252
// See: https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/cssText
5353
const styleSheetsApiCss = await page.evaluate(() => {
5454
return [...document.styleSheets]
55-
// Only take the stylesheets without href (BUT WHY)
55+
// Only take the stylesheets without href, because those with href are
56+
// <link> tags, and we already tackled those with the Coverage API
5657
.filter(stylesheet => stylesheet.href === null)
5758
.map(stylesheet => {
5859
return {

0 commit comments

Comments
 (0)