summaryrefslogtreecommitdiff
path: root/legacy
AgeCommit message (Collapse)Author
2024-02-01remove OS.File referencesgirst
osfile.jsm was removed by bugzil.la/1772262. This method is not used any more, so we can just remove it. the modern alternative would be the following, but that only works on mozilla>=85. return IOUtils.writeUTF8(file, this.serializeToString()); osfile.jsm was loaded lazily (and in our case therefore never), so we didn't die immediately upon import, fortunately. see also: https://hg.mozilla.org/mozilla-central/diff/a11c616997d802e44d1afc0215bfbffac865179e/toolkit/components/passwordmgr/test/LoginTestUtils.jsm
2024-02-01remove use of deprecated componentsgirst
console.createInstance() is available since firefox59 (Bug 1425574), so no workaround needed. ChromeUtils.defineLazyGetter() however only is since firefox112 (Bug 1805288) but the backwards-compatible code is tiny see also: https://bugzilla.mozilla.org/show_bug.cgi?id=1875216 https://bugzilla.mozilla.org/show_bug.cgi?id=1430810 https://bugzilla.mozilla.org/show_bug.cgi?id=1828156 https://groups.google.com/a/mozilla.org/g/dev-platform/c/BdyWnTjLSXg
2023-07-14add backwards compatible code for Services.jsm removalgirst
makes LegacyFox compatible with Firefox 117. regressed-by: https://bugzilla.mozilla.org/show_bug.cgi?id=1780695 see-also: https://hg.mozilla.org/mozilla-central/rev/911d540fce6f
2022-09-30Fix bug in BootstrapLoadergirst
reported to https://github.com/xiaoxiaoflood/firefox-scripts/issues/115 > I just found that for my legacy addon after restart it some of it > function calls that initiated by timer or observer callback are > running in a sandbox context of the last startup which is different > from current one. And this cause malfunctions for my addon. see also: https://github.com/xiaoxiaoflood/firefox-scripts/commit/291bebc4f2edc919dd273f2cecbbfda61e157695
2019-07-09switch to resource:// protocolgirst
bring the patch closer to the then-upstream comm-central. might have the negative side-effect of being detectable by websites according to: https://developer.mozilla.org/en-US/docs/Mozilla/Chrome_Registration
2019-06-24remove boot.jsmgirst
2019-06-24initial commitgirst