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
Quota exceeded error #431
Comments
https://codepen.io/anon/pen/Eowroz tests if opening a WebSQL database works. Same error as above. |
IndexedDB works as expected, saving database files to |
Ahhn my bad, I don't think WebSQL is supported at all in WebKit. It's an abandoned spec at W3, last update is nov 2010. The spec is, as far as I understand, superseded by IndexedDB support. Also doesn't seem to work on my Safari. Is there any reason you are looking for WebSQL support in particular? |
WebSQL does work in Webkit, at least in Safari on macOS.
You're not getting the quota error, are you? I'm getting err 18 (SecurityError), but that seems to be because of some Safari privacy settings (Codepen runs the code in an iframe). Try opening the page directly. This should display |
Interesting, I tried that link you've shared earlier on Safari nightly and that didn't work. The html5 test indeed show the same as your screenshot. Quick search shows there are indeed bits and pieces of WebSQL in the WPE code tree. We could see if there is a flag to enable it, but you're boldly going where no man has gone before on WPE :) |
Well I think it would be nice to have the same support for WebSQL as in Safari, but it wouldn't be bad if there was no support at all. The main problem is that WPE shouldn't expose any WebSQL APIs if they don't work. |
@SteffenDE in the latest wpe-2017 WebSQL and IndexedDB should be properly supported. Closing ticket for now. |
I'm trying to use a webpage that uses PouchDB to manage some of its state. In Webkit browsers WebSQL is used as storage backend, but in WPE I get the following error:
Unhandled promise rejection {"status":500,"name":"web_sql_went_bad","message":"unknown","reason":"The quota has been exceeded."}
.I tested this using buildroot and yocto, but it's always the same error. Is this something which is known or why do you think this happens?
Device: Raspberry Pi 3 (buildroot master branch/meta-wpe master branch).
To reproduce: https://codepen.io/anon/pen/xpXRab
Try this in Chrome/Firefox/Safari and you should see something like
{ "ok": true, "id": "testdoc", "rev": "1-58db569cc5fa4ea6b4ffe989a457c07a" }
, but in WPE I get the quota error from above.Thanks for any help!
To make sure that enough disk space is left:
The text was updated successfully, but these errors were encountered: