uBlock/src/js
Raymond Hill 6d2b3375f8
Mind that BroadcastChannel contructor can throw in Firefox
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.
2024-10-05 12:42:30 -04:00
..
codemirror Add ability to quote static network option values 2024-09-08 10:01:13 -04:00
scriptlets Fix spurious error in content script 2024-10-04 08:57:10 -04:00
wasm Change official description in source code top comment 2023-12-04 12:10:34 -05:00
1p-filters.js Fix various quirks with "My filters" trust-related checkbox 2024-03-19 10:59:15 -04:00
3p-filters.js Fix regression breaking import of file:// lists 2024-04-08 20:48:58 -04:00
about.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
advanced-settings.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
asset-viewer.js Support maximizing editor to viewport size 2024-03-12 11:25:50 -04:00
assets.js Make asset updater compatible with non-persistent background page 2024-03-01 19:52:55 -05:00
background.js Code review for new DNS cache code 2024-09-22 10:02:45 -04:00
base64-custom.js Redesign cache storage 2024-02-26 16:50:11 -05:00
benchmarks.js Fix benchmark quirk related to new ipaddress option 2024-09-22 11:16:57 -04:00
biditrie.js Fix npm test suite 2024-10-05 11:32:59 -04:00
broadcast.js Fix bad eslint rule + minor code review 2024-03-22 14:46:57 -04:00
cachestorage.js Add more console logging for cache storage code 2024-05-02 20:15:46 -04:00
click2load.js Output scriptlet logging information to the logger 2024-01-25 12:20:38 -05:00
cloud-ui.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
code-viewer.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
commands.js Prevent access to picker when "My filters" is not enabled 2024-01-16 08:31:46 -05:00
console.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
contentscript-extra.js Fix :matches-prop() operator when no value provided 2024-06-20 09:21:43 -04:00
contentscript.js Trim end of class tokens in generic cosmetic filtering's surveyor 2024-05-28 18:42:06 -04:00
contextmenu.js Fix contextual menu quirks 2024-09-18 11:33:31 -04:00
cosmetic-filtering.js Classify generic cosmetic filters with comma as highly generic 2024-06-01 10:46:18 -04:00
dashboard-common.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
dashboard.js Add checkboxes to "My filters" pane 2024-03-11 11:39:31 -04:00
devtools.js Dynamically load DNR conversion module on-demand 2024-09-14 12:13:47 -04:00
diff-updater.js Add to error message 2023-12-26 11:32:08 -05:00
document-blocked.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
dom-inspector.js [firefox] Fix DOM inspector being broken in private window 2023-12-06 21:16:48 -05:00
dom.js [mv3] Add minimal ability to diagnose ruleset issue 2024-07-29 14:54:46 -04:00
dyna-rules.js Add checkboxes to "My filters" pane 2024-03-11 11:39:31 -04:00
dynamic-net-filtering.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
epicker-ui.js Fix distance calculation in picker 2024-07-05 10:20:33 -04:00
fa-icons.js Add a console pane to the logger 2024-04-10 11:27:40 -04:00
filtering-context.js New static network filter option urlskip= 2024-09-15 09:17:19 -04:00
filtering-engines.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
hnswitches.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
hntrie.js Fix npm test suite 2024-10-05 11:32:59 -04:00
html-filtering.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
httpheader-filtering.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
i18n.js Fixed Belgian and Nepali flags for Windows Chromium users (#3914) 2024-03-17 10:42:20 -04:00
logger-ui-inspector.js Add a console pane to the logger 2024-04-10 11:27:40 -04:00
logger-ui.js New static network filter option urlskip= 2024-09-15 09:17:19 -04:00
logger.js Discard repeating adjacent entries in the logger 2024-01-26 09:24:10 -05:00
lz4.js Remove "Purge all caches" button from "Filter lists" pane 2023-12-13 21:01:51 -05:00
messaging.js Dynamically load DNR conversion module on-demand 2024-09-14 12:13:47 -04:00
mrucache.js Split scriptlet filtering engine into lo- and hi-level classes 2023-12-21 10:48:01 -05:00
pagestore.js Blocking large media elements also prevents autoplay, regardless of size 2024-10-02 13:39:36 -04:00
popup-fenix.js Fix popup panel when embedded in logger 2024-03-17 09:36:39 -04:00
redirect-engine.js Various fine tuning code of recent commits 2024-02-28 13:32:24 -05:00
redirect-resources.js Add noop resources for redirect purpose 2024-08-24 12:11:35 -04:00
reverselookup-worker.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
reverselookup.js Redesign cache storage 2024-02-26 16:50:11 -05:00
s14e-serializer.js Fix bad serialization of Date objects 2024-06-28 13:40:19 -04:00
scriptlet-filtering-core.js Redesign cache storage 2024-02-26 16:50:11 -05:00
scriptlet-filtering.js Mind that BroadcastChannel contructor can throw in Firefox 2024-10-05 12:42:30 -04:00
settings.js Add checkboxes to "My filters" pane 2024-03-11 11:39:31 -04:00
start.js Ensure reading last data written 2024-04-13 16:03:17 -04:00
static-dnr-filtering.js [mv3] Fix conversion of :xpath procedural filters 2024-01-22 10:57:48 -05:00
static-ext-filtering-db.js Redesign cache storage 2024-02-26 16:50:11 -05:00
static-ext-filtering.js Redesign cache storage 2024-02-26 16:50:11 -05:00
static-filtering-io.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
static-filtering-parser.js Fix AdGuard Knowledge Base URLs 2024-10-04 11:27:24 +02:00
static-net-filtering.js Fix npm test suite 2024-10-05 11:32:59 -04:00
storage.js Code review for new DNS cache code 2024-09-22 10:02:45 -04:00
support.js Remove "Purge all caches" button from "Filter lists" pane 2023-12-13 21:01:51 -05:00
tab.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
tasks.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
text-encode.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
text-utils.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
theme.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
traffic.js Blocking large media elements also prevents autoplay, regardless of size 2024-10-02 13:39:36 -04:00
ublock.js Unregister all scriptlets when disabling uBO on a specific site 2024-01-19 11:00:07 -05:00
uri-utils.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
url-net-filtering.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
utils.js Split scriptlet filtering engine into lo- and hi-level classes 2023-12-21 10:48:01 -05:00
whitelist.js Add checkboxes to "My filters" pane 2024-03-11 11:39:31 -04:00