mirror of https://github.com/gorhill/uBlock.git
6d2b3375f8
BroadcastChannel constructor throws in Firefox when Enhanced Tracking Protection is set to "strict". This behavior could cause scriptlet injection to wholly break when uBO's logger was opened, as BroadcastChannel() is used by scriptlets to report information to the logger. This commit ensures that exceptions from BroadcastChannel constructor are properly handled. The scriptlets will fall back to report at the console should they be unable to report to the logger through BroadcastChannel. |
||
---|---|---|
.. | ||
resources | ||
assets.dev.json | ||
assets.json |