mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 871828 - Fix global object sharing for FormHistory. r=gavin, r=khuey
This commit is contained in:
parent
810bfcab4c
commit
e74423160c
@ -78,7 +78,7 @@
|
||||
* an error occurred.
|
||||
*/
|
||||
|
||||
EXPORTED_SYMBOLS = [ "FormHistory" ];
|
||||
this.EXPORTED_SYMBOLS = ["FormHistory"];
|
||||
|
||||
const Cc = Components.classes;
|
||||
const Ci = Components.interfaces;
|
||||
@ -754,7 +754,7 @@ function expireOldEntriesVacuum(aExpireTime, aBeginningCount) {
|
||||
});
|
||||
}
|
||||
|
||||
const FormHistory = {
|
||||
this.FormHistory = {
|
||||
search : function formHistorySearch(aSelectTerms, aSearchData, aCallbacks) {
|
||||
// if no terms selected, select everything
|
||||
aSelectTerms = (aSelectTerms) ? aSelectTerms : validFields;
|
||||
|
Loading…
Reference in New Issue
Block a user