goog.testing.MockStorage |
![]()
Clears the storage.
|
code » | |||
Gets an item from the storage. The item returned is the "structured clone"
of the value from setItem. In practice this means it's the value cast to a
string.
|
code » | |||
Returns the key at the given index.
|
code » | |||
![]()
Removes and item from the storage.
Arguments:
|
code » | |||
![]()
Sets an item to the storage.
Arguments:
|
code » |