html5webstorage_test.js
No description.

File Location

/goog/storage/mechanism/html5webstorage_test.js

Classes

goog.storage.mechanism.HTML5MockStorage
Provides an HTML5WebStorage wrapper for MockThrowableStorage.
goog.storage.mechanism.MockThrowableStorage
A minimal WebStorage implementation that throws exceptions for disabled storage. Since we cannot have unit tests running in Safari private mode to test this, we need to mock an exception throwing when trying to set a value.

Public Protected Private

Global Functions

testIsNotAvailableWhenQuotaExceeded()
No description.
code »
testIsNotAvailableWhenStorageDisabled()
No description.
code »
testKeyIterationWithKeyMethod()
No description.
code »
testSetThrowsExceptionWhenQuotaExceeded()
No description.
code »
testSetThrowsExceptionWhenStorageDisabled()
No description.
code »

Directory mechanism

File Reference