Open Bug 1688829 Opened 5 years ago

Add more isolated tests of CachingDatabaseConnection

Categories

(Core :: Storage: localStorage & sessionStorage, task)

task

Tracking

()

People

(Reporter: sg, Unassigned)

References

Details

Bug 1685111 made the CachingDatabaseConnection public for quota clients. Now, it would be possible to add more isolated tests that only depend on the generic storage service, or even real unit tests that use a mock mozIStorageConnection. However, the latter would probably be quite complex, since we would also need a mock mozIStorageStatement, which has a huge interface.

You need to log in before you can comment on or make changes to this bug.