mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
77d707b079
If there's at least 2 content blocking messages displayed for a given page navigation, we display a warning group containing the messages, collapsed by default. This means we need to move or insert those warning messages at the right position in visibleMessages, either when they're added, or when we expand a group. Two mochitest are added to make sure this works as expected, one for generic warningGroup features (expanding, group per navigation session, …), and another one specifically for content blocking warning group, where we check that every type of content blocking message can be grouped. The grouping won't occur unless the groupWarnings preferences is on. Differential Revision: https://phabricator.services.mozilla.com/D23552 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
client | ||
docs | ||
platform | ||
server | ||
shared | ||
startup | ||
.eslintrc.js | ||
.eslintrc.mochitests.js | ||
.eslintrc.xpcshell.js | ||
CODE_OF_CONDUCT.md | ||
moz.build | ||
templates.mozbuild |