So, let's say you do the following:
1. execute `console.groupCollapsed("action")`
1. Do some action in the page, at least on that can lead to a content blocked warning messages
1. execute `console.groupEnd()`
1. Do other actions in the page that can lead to content blocked warning messages.
With Bug 1524276 the tracking protection messages are going to be grouped, but since we show the group at the position of the first tracking protection message, in our case we won't see that there are new warning messages (because the `console.groupCollapsed` is closed.
To prevent this, we should create warningGroups before the outermost current `console.group`.
Bug 1534927 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
So, let's say you do the following:
1. execute `console.groupCollapsed("action")`
1. Do some action in the page, at least on that can lead to a content blocked warning messages
1. execute `console.groupEnd()`
1. Do other actions in the page that can lead to content blocked warning messages.
With Bug 1524276 the tracking protection messages are going to be grouped, but since we show the group at the position of the first tracking protection message, in our case we won't see that there are new warning messages (because the `console.groupCollapsed` is closed).
To prevent this, we should create warningGroups before the outermost current `console.group`.