Linux Mac OSX Windows

Implemented by


  
[scriptable, uuid(fa5a871d-29f5-489e-aaa4-c266def52b79)]
interface nsIFormHistory : nsISupports

Attributes

 The total number of rows in the form history.
readonly attribute unsigned long rowCount

Methods

 Appends a name and value pair to the end of the form history.
void addEntry(in AString name, in AString value)
 Gets whether a name and value pair exists in the form history.
boolean entryExists(in AString name, in AString value)
 Gets the name and value at a position in the form history.
void getEntryAt(in unsigned long index, out AString name, out AString value)
 Gets just the name at a position in the form history.
void getNameAt(in unsigned long index, out AString name)
 Gets just the value at a position in the form history.
void getValueAt(in unsigned long index, out AString value)
 Returns true if there is no entry that is paired with a name.
boolean nameExists(in AString name)
 Removes all entries in the entire form history.
void removeAllEntries()
 Removes all entries that are paired with a name.
void removeEntriesForName(in AString name)
 Removes the entry at a position.
void removeEntryAt(in unsigned long index)