]> git.gir.st - LegacyFox.git/commit
fix setting softDisabled state master github/master v3.3
authorgirst <girst@users.noreply.github.com>
Thu, 29 Feb 2024 17:52:05 +0000 (18:52 +0100)
committergirst <girst@users.noreply.github.com>
Thu, 29 Feb 2024 17:52:05 +0000 (18:52 +0100)
commit25664f0b2c3238704c7509cc661d52b6b5763599
treea39b54f300bbd55527b316ae3a77d07763ce5f15
parent4c00a3cd3e332c9d2fd0ce3fc02fb16236c06e31
fix setting softDisabled state

not that it is too important. Blocklist.jsm does not export blocklist
state any more. XPIInstall.jsm does this, since way before mozilla61:

  const { nsIBlocklistService } = Ci;
  addon.softDisabled = addon.blocklistState == nsIBlocklistService.STATE_SOFTBLOCKED;

c.f. https://searchfox.org/mozilla-central/rev/b503616295d69fee56300e5e2093599e6fb4f0e2/toolkit/mozapps/extensions/internal/XPIInstall.jsm#531
legacy/BootstrapLoader.jsm
Imprint / Impressum