Bug 325257 - Rename nsIFormHistory to avoid changing interfaces on the 1.8 branch, r=bryner
git-svn-id: svn://10.0.0.236/trunk@237153 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3ddd481745
commit
d9889b2d39
@ -165,14 +165,14 @@ Sanitizer.prototype = {
|
||||
}
|
||||
|
||||
var formHistory = Components.classes["@mozilla.org/satchel/form-history;1"]
|
||||
.getService(Components.interfaces.nsIFormHistory);
|
||||
.getService(Components.interfaces.nsIFormHistory2);
|
||||
formHistory.removeAllEntries();
|
||||
},
|
||||
|
||||
get canClear()
|
||||
{
|
||||
var formHistory = Components.classes["@mozilla.org/satchel/form-history;1"]
|
||||
.getService(Components.interfaces.nsIFormHistory);
|
||||
.getService(Components.interfaces.nsIFormHistory2);
|
||||
return formHistory.hasEntries;
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user