fix: invalidStateError in firefox private browsing

Fixes https://github.com/mozilla/localForage/issues/70