mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 760898: Set dom.mozApps.used when the Apps DOM API is used; r=fabrice
This commit is contained in:
parent
3d0ac8bd98
commit
7ac9ca93dc
@ -105,6 +105,10 @@ let DOMApplicationRegistry = {
|
||||
},
|
||||
|
||||
receiveMessage: function(aMessage) {
|
||||
// nsIPrefBranch throws if pref does not exist, faster to simply write
|
||||
// the pref instead of first checking if it is false.
|
||||
Services.prefs.setBoolPref("dom.mozApps.used", true);
|
||||
|
||||
let msg = aMessage.json;
|
||||
|
||||
switch (aMessage.name) {
|
||||
|
Loading…
Reference in New Issue
Block a user