Check if the user uses --firstParty. (#3643)

This catches if the user use --firstParty but actually
do not match any requests.

https://github.com/sitespeedio/sitespeed.io/issues/3642
This commit is contained in:
Peter Hedenskog 2022-05-01 21:40:52 +02:00 committed by GitHub
parent c3de43d655
commit 314607b4cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ small
if pagexray.cookieNamesThirdParties.length > 0
a(href='#third-party-cookies') Cookies |
|  | 
if pagexray.firstParty.requests
if pagexray.firstParty.requests || options.firstParty
a(href='#first-vs-third') First vs third
|  | 
a#third-party
@ -87,5 +87,5 @@ if thirdparty.possibileMissedThirdPartyDomains && thirdparty.possibileMissedThi
include ./thirdPartyCookies.pug
if pagexray.firstParty.requests
if pagexray.firstParty.requests || options.firstParty
include ./firstParty.pug