javascript - InvalidStateError in firefox private navigation mode -
using basic example provided here : https://developer.here.com/javascript-apis/documentation/v3/maps/topics/quick-start.html
when loading "complete html example page" in firefox private navigation mode, browser console logs 3 "invalidstateerror" exceptions coming mapjs-core.js. seems related indexeddb it's hard js code obfuscated.
apart of exceptions, seems work fine, wonder if can have consequences on other features of here api. there way prevent exception ?
the invalidstateerror indeed related indexeddb, , see error because, currently, firefox private browsing mode not along indexeddb. see this bug mozilla bugtracker reference.
on here wego app, 1 can see state of map, last position, recent searches , others, stored in localstorage object. i've yet find stored in indexeddb database, therefore wouldn't worry much, if consider if user browses map in private mode, doesn't expect recover state after reopening browser.
Comments
Post a Comment