Services.prefs.getBoolPref()

Talk about code development, features, specific bugs, enhancements, patches, and similar 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 bugs, git, the repositories, 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. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

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.
User avatar
JoeyG
Astronaut
Astronaut
Posts: 655
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()

Unread 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.
"And you can believe me because I never lie - and I'm always right."
(Asserted by George Leroy Tirebiter* and my wife; only the latter is telling the truth.)
*Firesign Theater version

User avatar
Nigaikaze
Board Warrior
Board Warrior
Posts: 1322
Joined: 2014-02-02, 22:15
Location: Chicagoland

Re: Services.prefs.getBoolPref()

Unread 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
Astronaut
Astronaut
Posts: 655
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()

Unread 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.
"And you can believe me because I never lie - and I'm always right."
(Asserted by George Leroy Tirebiter* and my wife; only the latter is telling the truth.)
*Firesign Theater version

Locked