Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails when used in Chrome packaged app, since version 34 #47

Open
GoogleCodeExporter opened this issue Nov 4, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Run Chrome version 34 or above. (issue doesn't arise in 33)
2. Install and run a Chrome packaged app that uses dat.gui.

What is the expected output? What do you see instead?

Expected output is app loading with dat.gui UI appearing. Instead, only white 
screen appears, with Javascript console error: 

window.localStorage is not available in packaged apps. Use chrome.storage.local 
instead.
window.localStorage is not available in packaged apps. Use chrome.storage.local 
instead.
Uncaught TypeError: Cannot read property 'getItem' of undefined 
(dat.gui.min.js:59)

What version of the product are you using? On what operating system?

On Chrome 34 (Canary) on Windows 7.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 2 Mar 2014 at 12:58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant