Skip to content

Ignore notifications in case of data corruption

Background

In case of a data corruption, the extension may not be able to remember whether a notification has been shown already. Therefore we should ignore notifications in case we are aware of a data corruption (see eyeo/adblockplus/adblockpluschrome#244 (closed)).

See https://gitlab.com/eyeo/adblockplus/abpui/adblockplusui/-/issues/829.

What to change

Except for notifications that are expected to repeat (i.e. "critical"-type, "relentless"-type, non-ignorable), ignore any notifications if the extension has identified a data corruption problem (see eyeo/adblockplus/adblockpluschrome#244 (closed)).

Hints for testers

See eyeo/adblockplus/adblockpluschrome#244 (closed).

Integration notes

Introduced notifications.ignored flag for ignoring notifications (e.g. for cases of data corruption).

Edited by Thomas Greiner