Skip to content

Commit 5b4b47c

Browse files
authoredDec 11, 2020
misc: temporarily allow css in redirectPass (#11813)
1 parent 7915708 commit 5b4b47c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎lighthouse-cli/test/cli/__snapshots__/index-test.js.snap

-1
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,6 @@ Object {
14631463
Object {
14641464
"blankPage": "about:blank",
14651465
"blockedUrlPatterns": Array [
1466-
"*.css",
14671466
"*.jpg",
14681467
"*.jpeg",
14691468
"*.png",

‎lighthouse-core/config/default-config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ const defaultConfig = {
180180
passName: 'redirectPass',
181181
loadFailureMode: 'warn',
182182
// Speed up the redirect pass by blocking stylesheets, fonts, and images
183-
blockedUrlPatterns: ['*.css', '*.jpg', '*.jpeg', '*.png', '*.gif', '*.svg', '*.ttf', '*.woff', '*.woff2'],
183+
// TODO: restore blocked *.css when https://github.com/GoogleChrome/lighthouse/issues/11803 is resolved.
184+
blockedUrlPatterns: ['*.jpg', '*.jpeg', '*.png', '*.gif', '*.svg', '*.ttf', '*.woff', '*.woff2'],
184185
gatherers: [
185186
'http-redirect',
186187
],

0 commit comments

Comments
 (0)
Please sign in to comment.