Re: Chromium, IDBFS and iframes

2019-06-17 Thread Alon Zakai
Yeah, searching the chromium bug tracker and filing an issue if none exists sounds like the right thing. That difference between browsers does sound odd and likely a bug somewhere. - Alon On Sun, Jun 16, 2019 at 3:53 AM Beuc wrote: > Hi, > > I have savegame issues with Chromium and typical

Re: Why do macOS instructions say to install node.js when emsdk has its own copy?

2019-06-17 Thread Alon Zakai
Thanks, I'm updating the docs with that in #8777 On Sat, Jun 1, 2019 at 11:28 AM キャロウ マーク wrote: > I just installed “latest” on macOS and have the subject question. Do I > really need the macOS node.js I downloaded if I am only using Emscripten? > > Regards > > -Mark > > -- > You received

Re: EMSCRIPTEN and clock_nanosleep

2019-06-17 Thread Mehdi Sabwat
Also: https://github.com/emscripten-core/emscripten/pull/8662 does this mean the syscall won't be supported? On Mon, Jun 17, 2019 at 5:12 PM J Decker wrote: > There is https://github.com/kripken/emscripten/issues/5518 Implement > clock_nanosleep function > > > >

Re: EMSCRIPTEN and clock_nanosleep

2019-06-17 Thread J Decker
There is https://github.com/kripken/emscripten/issues/5518 Implement clock_nanosleep function https://github.com/kripken/musl-emscripten/blob/emscripten/src/time/clock_nanosleep.c looks like there's a supported syscall emsdk\emscripten\1.38.32\system\lib\clock_nanosleep.c ... but there's a

EMSCRIPTEN and clock_nanosleep

2019-06-17 Thread Mehdi Sabwat
Hello, I would like to understand how EMSCRIPTEN integrates musl/it's own implementation of libc. I am trying to make a minimal example work, will you please help me figure out, what I am missing? https://code.videolan.org/snippets/982 it seems it is implemented:

Re: Chromium, IDBFS and iframes

2019-06-17 Thread Beuc
AFAICS this has been around for years :/ See for instance https://forum.unity.com/threads/how-to-check-playerprefs-has-actually-written-data.389376/ I really don't understand the logic of attempting to use the caller's / top-level IDBFS context instead of the iframe one? One work-around is

Re: Chromium, IDBFS and iframes

2019-06-17 Thread Jukka Jylänki
If there's differing behavior between browsers, filing a bug is good idea. Any chance you'd be able to handwrite an IndexedDB example JS code that highlights the discrepancy? In general I find that filing Emscripten compiled pages as bug test cases tend to go untriaged as too complex. :) su 16.

Re: Can I save to a file on web/server?

2019-06-17 Thread Jukka Jylänki
You can only do whatever you can also do in regular JavaScript running in user's browser, WebAssembly does not give any more powers. If you compile Sqlite to Wasm, and run it in a browser, then the sqlite database resides in the user's local web browser memory. You can upload that database file to