Services.prefs.getBoolPref()

Talk about code development, features, specific bugzilla bugs, enhancements, patches, and other highly technical things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific referenced Bugzilla bugs, mercurial, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Most "bug reports" do not belong in this board and should initially be posted in Community Support or other relevant support boards.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Locked
User avatar
JoeyG
Lunatic
Lunatic
Posts: 445
Joined: 2017-06-12, 13:27
Location: How can you be in two places at once when you're not anywhere at all?

Services.prefs.getBoolPref()

Post by JoeyG » 2019-05-26, 22:31

The release notes to today's update say,

Code: Select all

Restored a global getBoolPref() function shortcut for extension compatibility with old extensions.
If you are currently using this global function, please change it to Services.prefs.getBoolPref()
Don't laugh, but I have no idea how to check my settings for this. I looked in "about:config" but wasn't able to find anything.

If it's relevant for us end users, please help me with this.

Thanks.
Pale Moon x64 28.9.0.2, 29.0.0a3 (portable 2020.03.31), and Basilisk x64 2020.03.11 on Win7 SP1 x64 (English). Lenovo S20, Xeon X5670, 12gb RAM. NEC PA272W on Matrox C420. NEC SpectraView 241 and PA241W on Matrox M9120. Thanks to the devs.

User avatar
Nigaikaze
Forum staff
Forum staff
Posts: 1146
Joined: 2014-02-02, 22:15
Location: Chicago, IL, USA

Re: Services.prefs.getBoolPref()

Post by Nigaikaze » 2019-05-27, 00:14

JoeyG wrote:
2019-05-26, 22:31
If it's relevant for us end users, please help me with this.
No, it is relevant for developers. It is a function in the Pale Moon code, not a preference in about:config.
Nichi nichi kore ko jitsu = Every day is a good day.

User avatar
JoeyG
Lunatic
Lunatic
Posts: 445
Joined: 2017-06-12, 13:27
Location: How can you be in two places at once when you're not anywhere at all?

Re: Services.prefs.getBoolPref()

Post by JoeyG » 2019-05-27, 11:41

Nigaikaze wrote:
2019-05-27, 00:14
JoeyG wrote:
2019-05-26, 22:31
If it's relevant for us end users, please help me with this.
No, it is relevant for developers. It is a function in the Pale Moon code, not a preference in about:config.
Thank you very much.
Pale Moon x64 28.9.0.2, 29.0.0a3 (portable 2020.03.31), and Basilisk x64 2020.03.11 on Win7 SP1 x64 (English). Lenovo S20, Xeon X5670, 12gb RAM. NEC PA272W on Matrox C420. NEC SpectraView 241 and PA241W on Matrox M9120. Thanks to the devs.

Locked