Comments (10)
Are you in Incognito Mode?
from webvr-polyfill.
i don't think so, @cvan .
49 on 6.0.1 is the only browser I tested to deny access to localStorage there.
from webvr-polyfill.
Do you have "Block third-party cookies and site data" or something like that enabled?
from webvr-polyfill.
Blocking third-party cookies would definitely do this. Or possibly an extension, maybe something like Privacy Badger? I've had third-party cookies blocked on my browser for years, and it's amazing how many sites forget to check for this. But it should be handled, since it's a well-defined, predictable, standard behavior built into the browsers. Same deal here.
Maybe it would have been better to have localStorage
just return empty values rather than throw an error, but that ship has sailed.
from webvr-polyfill.
Ping @gmarinov. More information needed. Are you using some kind of 3rd party blocker?
from webvr-polyfill.
no
from webvr-polyfill.
Can't repro without more info.
from webvr-polyfill.
Whitelisting storageapis.google.com via "Settings -> Advanced -> Content Settings -> Cookies -> Manage Exceptions" fixed this issue for me on desktop Chrome. I was running into the same " Failed to read the 'localStorage' " error in the console.
from webvr-polyfill.
Seeing as my answers above maybe did not make this clear enough.
- no blockers
- stock android and chrome from play store
- no incognito mode
- javascript is enabled
- safe browsing enabled
- cookies allowed except third-party cookies
- do not track is on
Whitelisting storageapis.google.com by going to "Settings -> Advanced -> Content Settings -> Cookies -> Manage Exceptions", is something I cannot ask of the user. The code itself has no default fallback.
from webvr-polyfill.
Is it possible to fix webvr-polyfill to allow incognito mode?
from webvr-polyfill.
Related Issues (20)
- Customize controls design + autohide function HOT 2
- mimeType is not defined HOT 5
- Customizing visor profile? HOT 5
- is webvr-polyfill compatible with the newest versions of THREE.js? HOT 5
- black screen is rendered when VREffects script is not used with webvr-polyfill HOT 3
- Markerless AR for web using WebVR HOT 2
- Stopped working on IOS version 12.2 HOT 2
- On Chrome 74, Enter VR Mode on mobile stops working with http:// protocol.
- devicemotion event support is removed from chrome 74 on using http:// protocol. works fine with https:// HOT 1
- "View in VR" does not remove the address bar on iOS HOT 5
- Does this still work and maybe I'm using it wrong? HOT 1
- screen.orientation.lock() failed
- Pose sensor on Android 9 in webview stopped to work HOT 2
- Is wake lock base64 video required ? HOT 3
- [QUESTION] Doesn't work with Angular in production mode HOT 1
- Remove Cardboard middle white line
- Touch doesn't work HOT 1
- The polyfill broke down on iOS? HOT 1
- host-provided navigator.getVRDIsplays returns an empty list. how does one force the polyfill to populate the list?
- Polifyll wont work on iOS - Reproducible example inside HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webvr-polyfill.