1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-05 18:32:30 +01:00
uBlock/src/js
Raymond Hill 7888e49c00
Fix race condition when loading from selfie
All the auxiliary data structures must be fully loaded before
the data structure used as entry point is populated. The race
condition could lead to a case of the entry point data structure
being populated while the auxiliary data structures are still
unpopulated, potentially causing exceptions to be thrown at
launch when the static network filtering engine is queried.

I haven't been able to reproduce such exceptions -- but it
could happen on browsers which do not support being suspended
at launch time (i.e. chromium-based browsers).

Additionally, added convenience methods to easily
serialize/unserialize when SNFE is used as a npm package.
2021-12-05 14:05:32 -05:00
..
codemirror Fix not highlighting cases of invalid syntax 2021-10-31 13:18:31 -04:00
scriptlets Suggest network filter as best candidate by default 2021-11-04 12:42:48 -04:00
wasm Refactor hntrie to avoid the need for boundary cells 2021-08-10 09:27:59 -04:00
1p-filters.js Modularize codebase with export/import 2021-07-27 17:26:04 -04:00
3p-filters.js Prevent unchecked default lists from being visually collapsed 2021-05-19 09:34:46 -04:00
about.js Further fine-tune new Support pane 2021-10-15 14:50:34 -04:00
advanced-settings.js Add support for admin-managed hidden settings 2021-01-05 12:16:50 -05:00
asset-viewer.js Remove bad test 2021-11-04 15:54:24 -04:00
assets.js Further modularize uBO's codebase 2021-07-28 19:48:38 -04:00
background.js Refactoring work in static network filtering engine 2021-12-04 11:16:44 -05:00
base64-custom.js Modularize codebase with export/import 2021-07-27 17:26:04 -04:00
benchmarks.js Use removeparam, queryprune is deprecated 2021-12-04 10:52:24 -05:00
biditrie.js Refactoring work in static network filtering engine 2021-12-04 11:16:44 -05:00
cachestorage.js Further work on JS modules 2021-10-07 14:41:29 -04:00
click2load.js Fix handling of cname-aliased URLs in click-to-load widget 2021-01-22 09:37:12 -05:00
cloud-ui.js Add support for removal of cloud storage entries 2020-08-21 09:18:33 -04:00
commands.js Make Shortcut pane not present by default [Firefox] 2021-10-13 08:23:20 -04:00
console.js Further modularize uBO's codebase 2021-07-28 19:48:38 -04:00
contentscript-extra.js Include query string when evaluating matches-path() 2021-08-21 11:50:46 -04:00
contentscript.js Minor code review 2021-10-14 09:22:36 -04:00
contextmenu.js Further modularize uBO's codebase 2021-07-28 19:48:38 -04:00
cosmetic-filtering.js Refactor how cosmetic filters with pseudo-elements are parsed 2021-10-27 18:09:02 -04:00
dashboard-common.js Add CoreMirror's code-folding ability to list editor/viewer 2020-07-10 08:01:39 -04:00
dashboard.js Fix spurious errors in uBO's dev console 2021-10-26 08:54:04 -04:00
document-blocked.js Modernize code: URLSearchParams() API support is now widespread 2021-07-25 07:08:03 -04:00
dyna-rules.js Convert publicsuffixlist.js into an ES module (#3846) 2021-08-23 09:42:27 -04:00
dynamic-net-filtering.js Convert punycode.js into an ES module (#3845) 2021-08-22 12:03:59 -04:00
epicker-ui.js Modularize codebase with export/import 2021-07-27 17:26:04 -04:00
fa-icons.js Add ability to report filter issue from popup panel 2021-11-11 12:49:55 -05:00
filtering-context.js Revisit the nodejs API 2021-08-08 09:17:14 -04:00
filtering-engines.js Export the rule-based filtering engines to the nodejs package 2021-08-03 12:19:25 -04:00
hnswitches.js Convert punycode.js into an ES module (#3845) 2021-08-22 12:03:59 -04:00
hntrie.js Refactoring work in static network filtering engine 2021-12-04 11:16:44 -05:00
html-filtering.js Add ability to report filter issue from popup panel 2021-11-11 12:49:55 -05:00
httpheader-filtering.js Export the rule-based filtering engines to the nodejs package 2021-08-03 12:19:25 -04:00
i18n.js Emphase GitHub account requirement 2021-11-13 11:48:36 -05:00
logger-ui-inspector.js Remove globals.js (#3849) 2021-08-23 10:54:16 -04:00
logger-ui.js Remove globals.js (#3849) 2021-08-23 10:54:16 -04:00
logger.js Fix typo in comment about buffer expiry 2021-08-26 17:03:39 -07:00
lz4.js Further modularize uBO's codebase 2021-07-28 19:48:38 -04:00
messaging.js Officialize uiPopupConfig advanced setting 2021-11-28 10:35:50 -05:00
pagestore.js Further work on JS modules 2021-10-07 14:41:29 -04:00
popup-fenix.js Fine tune new reporting feature 2021-11-27 11:58:32 -05:00
popup.js Convert punycode.js into an ES module (#3845) 2021-08-22 12:03:59 -04:00
redirect-engine.js Convert fingerprint2.js scriptlet into a redirectable resource 2021-09-18 10:55:22 -04:00
reverselookup-worker.js Further modularize uBO's codebase 2021-07-28 19:48:38 -04:00
reverselookup.js Remove need to pass parser at every compile() call 2021-08-05 13:30:20 -04:00
scriptlet-filtering.js Add ability to report filter issue from popup panel 2021-11-11 12:49:55 -05:00
settings.js Keep ability to prevent local IP address leaks for mobile version 2021-09-15 08:28:10 -04:00
shortcuts.js Support keyboard shortcut to open popup panel 2019-11-09 09:53:31 -05:00
start.js Log selfie-related events at launch time 2021-12-04 10:55:33 -05:00
static-ext-filtering-db.js Further modularize uBO's codebase 2021-07-28 19:48:38 -04:00
static-ext-filtering.js Further modularize uBO's codebase 2021-07-28 19:48:38 -04:00
static-filtering-io.js Modularize codebase with export/import 2021-07-27 17:26:04 -04:00
static-filtering-parser.js Fix make lint warning 2021-12-02 17:58:17 -05:00
static-net-filtering.js Fix race condition when loading from selfie 2021-12-05 14:05:32 -05:00
storage.js Fix sticky imported list after removal 2021-11-08 12:49:03 -05:00
support.js Remove pointless setting from support information 2021-12-04 10:44:57 -05:00
tab.js Create new page store if not found in tab event 2021-10-18 09:43:41 -04:00
tasks.js Refactoring work in static network filtering engine 2021-12-04 11:16:44 -05:00
text-encode.js Further modularize uBO's codebase 2021-07-28 19:48:38 -04:00
text-utils.js Move orphanizeString() into text-utils module 2021-07-31 08:38:33 -04:00
traffic.js Refactoring work in static network filtering engine 2021-12-04 11:16:44 -05:00
ublock.js Fix regression with no-cosmetic-filtering switch 2021-10-11 07:07:41 -04:00
udom.js Disable auto activation of dark theme in next release 2020-11-13 12:15:29 -05:00
uri-utils.js Fix pointless use of parenthesis in regex 2021-12-02 17:58:52 -05:00
url-net-filtering.js Export the rule-based filtering engines to the nodejs package 2021-08-03 12:19:25 -04:00
utils.js Move orphanizeString() into text-utils module 2021-07-31 08:38:33 -04:00
whitelist.js Add "extraTrustedSiteDirectives" as new admin policy 2021-01-04 07:54:24 -05:00