Describe the bug
Browser Tracker Core tries to access the window.localStorage directly (example 1, example 2). Although this behavior can be deactivated using the useLocalStorage property; it's not straightforward that a developer might do it, for example, using the detector localStorageAccessible. This means that a bug can sneak into production builds.
To Reproduce
We can use Firefox to reproduce it manually by opening the about:config tab and deactivating the dom.storage.enabled option.
Expected behavior
Snowplow Browser Tracker should not break the app.
Describe the bug
Browser Tracker Core tries to access the
window.localStoragedirectly (example 1, example 2). Although this behavior can be deactivated using theuseLocalStorageproperty; it's not straightforward that a developer might do it, for example, using the detector localStorageAccessible. This means that a bug can sneak into production builds.To Reproduce
We can use Firefox to reproduce it manually by opening the
about:configtab and deactivating thedom.storage.enabledoption.Expected behavior
Snowplow Browser Tracker should not break the app.