diff options
author | girst <girst@users.noreply.github.com> | 2024-02-29 18:52:05 +0100 |
---|---|---|
committer | girst <girst@users.noreply.github.com> | 2024-02-29 18:52:05 +0100 |
commit | 25664f0b2c3238704c7509cc661d52b6b5763599 (patch) | |
tree | a39b54f300bbd55527b316ae3a77d07763ce5f15 /defaults | |
parent | 4c00a3cd3e332c9d2fd0ce3fc02fb16236c06e31 (diff) | |
download | legacywolf-25664f0b2c3238704c7509cc661d52b6b5763599.tar.gz legacywolf-25664f0b2c3238704c7509cc661d52b6b5763599.zip |
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
Diffstat (limited to 'defaults')
0 files changed, 0 insertions, 0 deletions