[–] voltagex_ 11y ago ↗ Any idea what the examples are trying to store offline? And where in the code that is? [–] TheDong 11y ago ↗ Here, let me do the equivilant of LMGTFY: https://github.com/bertfreudenberg/SqueakJS/search?utf8=%E2%...Looks like it's storing settings, images, and files created by said images.Reminder that Squeak is a full VM and naturally has file-io abstractions which must be implemented. [–] voltagex_ 11y ago ↗ Right, brainfart and I couldn't remember the name of that API. Thanks! [–] bertfreudenberg 11y ago ↗ Large data (file contents) is stored in IndexedDB, only settings and file meta data in localStorage.
[–] TheDong 11y ago ↗ Here, let me do the equivilant of LMGTFY: https://github.com/bertfreudenberg/SqueakJS/search?utf8=%E2%...Looks like it's storing settings, images, and files created by said images.Reminder that Squeak is a full VM and naturally has file-io abstractions which must be implemented. [–] voltagex_ 11y ago ↗ Right, brainfart and I couldn't remember the name of that API. Thanks! [–] bertfreudenberg 11y ago ↗ Large data (file contents) is stored in IndexedDB, only settings and file meta data in localStorage.
[–] voltagex_ 11y ago ↗ Right, brainfart and I couldn't remember the name of that API. Thanks! [–] bertfreudenberg 11y ago ↗ Large data (file contents) is stored in IndexedDB, only settings and file meta data in localStorage.
[–] bertfreudenberg 11y ago ↗ Large data (file contents) is stored in IndexedDB, only settings and file meta data in localStorage.
[–] scoopr 11y ago ↗ Cool, one of the examples (etoys) crashed Safari (8.0.3) FTL JIT. :) [–] bertfreudenberg 11y ago ↗ Yep. I reported that a while ago, but it's not fixed yet: https://bugs.webkit.org/show_bug.cgi?id=136803
[–] bertfreudenberg 11y ago ↗ Yep. I reported that a while ago, but it's not fixed yet: https://bugs.webkit.org/show_bug.cgi?id=136803
[–] sebastianconcpt 11y ago ↗ Impressive. Did you realize that after loading doesn't even need internet anymore?
[–] TazeTSchnitzel 11y ago ↗ For Scratch in Firefox: UnknownError "Error opening database: undefined" vm.js:358 :(Edit: Also Etoys, sadly. [–] bertfreudenberg 11y ago ↗ Works for me in Firefox 34.0.5, default settings. Would be great if you could post instructions on how to reproduce at https://github.com/bertfreudenberg/SqueakJS/issues
[–] bertfreudenberg 11y ago ↗ Works for me in Firefox 34.0.5, default settings. Would be great if you could post instructions on how to reproduce at https://github.com/bertfreudenberg/SqueakJS/issues
10 comments
[ 4.7 ms ] story [ 38.8 ms ] threadLooks like it's storing settings, images, and files created by said images.
Reminder that Squeak is a full VM and naturally has file-io abstractions which must be implemented.
Edit: Also Etoys, sadly.