From 88413358677fd59dc360076e0a62c2c559f50e38 Mon Sep 17 00:00:00 2001 From: girst Date: Sun, 3 Mar 2024 12:59:18 +0100 Subject: port legacyfox to ecmascript modules mozilla calls this 'esm-ification'. the last relevant to us modules were ported in mozilla124[1], so this is our new minimum version. the old version will likely be compatible with firefox up to version 128esr[2]. static imports are not supported in autoconfig scripts. i tried to keep the diff as small as possible w.r.t comm-central's final JSMs. because of this, we don't lazy-load any modules any more, nor provide any lazy getters, as they would need to be loaded into a `lazy` object instead the global (`this`) namespace, causing more churn. other than that, the largest change was removing the now-useless Services.jsm workaround as well as removing globalGetters for objects already loaded automatically. [1]: https://hg.mozilla.org/mozilla-central/rev/68ba071ff6fb9978937496f9adc48e378957f594 [2]: bugzil.la/1881890 --- README | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index b7eace4..bc03093 100644 --- a/README +++ b/README @@ -8,6 +8,8 @@ Monkeypatching Firefox Quantum to run VimFx 2. Install VimFx from https://github.com/akhodakivskiy/VimFx/releases == Notes == + * LegacyFox is using ESModules and requires Firefox 124 or higher. Check out + the `v3.3` tag for compatibility with Firefox 68 to 128. * Users of firefox-esr on debian need to use the following command: `make DESTDIR=/usr/lib/firefox-esr install` * BootstrapLoader.jsm, RDFDataSource.jsm, RDFManifestConverter.jsm from their @@ -22,4 +24,4 @@ trademark; you are not granted any right to distribute modified binary versions of the software containing the official branding. (C) 2018-2019 Mozilla, MPL v2 -(C) 2019-2023 //gir.st/, MPL v2 +(C) 2019-2024 //gir.st/, MPL v2 -- cgit v1.2.3