mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1127557 - Invalid preference type getting/setting loop.ot.guid. rs=jaws
This commit is contained in:
parent
0dcb26b187
commit
6fce974b6c
@ -108,7 +108,9 @@ loop.conversation = (function(mozL10n) {
|
||||
callback(null, navigator.mozLoop.getLoopPref("ot.guid"));
|
||||
},
|
||||
set: function(guid, callback) {
|
||||
navigator.mozLoop.setLoopPref("ot.guid", guid);
|
||||
// See nsIPrefBranch
|
||||
const PREF_STRING = 32;
|
||||
navigator.mozLoop.setLoopPref("ot.guid", guid, PREF_STRING);
|
||||
callback(null);
|
||||
}
|
||||
});
|
||||
|
@ -108,7 +108,9 @@ loop.conversation = (function(mozL10n) {
|
||||
callback(null, navigator.mozLoop.getLoopPref("ot.guid"));
|
||||
},
|
||||
set: function(guid, callback) {
|
||||
navigator.mozLoop.setLoopPref("ot.guid", guid);
|
||||
// See nsIPrefBranch
|
||||
const PREF_STRING = 32;
|
||||
navigator.mozLoop.setLoopPref("ot.guid", guid, PREF_STRING);
|
||||
callback(null);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user