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

Demo broken with WebKit (Safari/Epiphany) #46

Open
clopez opened this issue May 8, 2017 · 1 comment
Open

Demo broken with WebKit (Safari/Epiphany) #46

clopez opened this issue May 8, 2017 · 1 comment

Comments

@clopez
Copy link

clopez commented May 8, 2017

Trying the basic demo with a browser based on recent WebKit (like Safari or Epiphany) doesn't work.

On the inspector console this errors happen:

[Error] TypeError: Attempted to assign to readonly property.
	(anonymous function) (idb.filesystem.js:55)
	Global Code (idb.filesystem.js:916)
[Error] TypeError: window.requestFileSystem is not a function. (In 'window.requestFileSystem', 'window.requestFileSystem' is undefined)
	openFS (app.js:37)
	(anonymous function) (app.js:283)
[Error] TypeError: null is not an object (evaluating 'cwd.getFile')
	create (app.js:219)
	onclick (index.html:44)
@clopez
Copy link
Author

clopez commented May 8, 2017

It seems the problem is caused because the linked demo is outdated.

Please consider linking to this demo instead that uses the last revision from this repo: http://rawgit.com/ebidel/idb.filesystem.js/master/demos/basic/

That one works on WebKit

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

No branches or pull requests

1 participant