ebidel / idb.filesystem.js

HTML5 Filesystem API polyfill using IndexedDB
https://www.npmjs.com/package/idb.filesystem.js
Other
488 stars 46 forks source link

Addapt tests to Chrome #10

Open piranna opened 11 years ago

piranna commented 11 years ago

If you run the test on Chrome, where there's native support for Filesystem API, the tests fails (ironic). They should be fixed so it could be detected and the pass on Chrome as reference, too.

ebidel commented 11 years ago

True story. This is a bit annoying, but requires some hackery in the library. For example, the native window.TEMPORARY/PERISTENT is readonly and throws an exception if you try to overwrite it.