mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
b=387156. r=gavin. changed sessionstorage to hold objects instead of strings
This commit is contained in:
parent
5ebc109dde
commit
5ab59070c7
@ -227,7 +227,7 @@ interface fuelIPreference : nsISupports
|
||||
/**
|
||||
* Interface representing a simple storage system
|
||||
*/
|
||||
[scriptable, uuid(bbaf6210-aafe-11db-abbd-0800200c9a66)]
|
||||
[scriptable, uuid(0787ac44-29b9-4889-b97f-13573aec6971)]
|
||||
interface fuelISessionStorage : nsISupports
|
||||
{
|
||||
/**
|
||||
@ -252,7 +252,7 @@ interface fuelISessionStorage : nsISupports
|
||||
* @param aValue
|
||||
* The value to assign to the item
|
||||
*/
|
||||
void set(in AString aName, in AString aValue);
|
||||
void set(in AString aName, in nsIVariant aValue);
|
||||
|
||||
/**
|
||||
* Gets the value of a storage item with the given name. Returns a
|
||||
@ -264,7 +264,7 @@ interface fuelISessionStorage : nsISupports
|
||||
* @returns value of the item or the given default value if no item
|
||||
* exists with the given name.
|
||||
*/
|
||||
AString get(in AString aName, in AString aDefaultValue);
|
||||
nsIVariant get(in AString aName, in nsIVariant aDefaultValue);
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user