1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-03 09:39:38 +02:00

Log selfie-related events at launch time

This commit is contained in:
Raymond Hill 2021-12-04 10:55:33 -05:00
parent 1becd8ad18
commit ccc4c7d41f
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -248,9 +248,11 @@ const onCacheSettingsReady = async function(fetched) {
if ( fetched.compiledMagic !== µb.systemSettings.compiledMagic ) {
µb.compiledFormatChanged = true;
µb.selfieIsInvalid = true;
ubolog(`Serialized format of static filter lists changed`);
}
if ( fetched.selfieMagic !== µb.systemSettings.selfieMagic ) {
µb.selfieIsInvalid = true;
ubolog(`Serialized format of selfie changed`);
}
if ( µb.selfieIsInvalid ) {
µb.selfieManager.destroy();