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 <[email protected]> wrote:

> Hi,
>
> I have savegame issues with Chromium and typical game hosting websites
> (itch.io, newgrounds...), where they present the game in their domain,
> and run the game within a iframe from a CDN (and a different domain name).
>
> While running the game from the iframe, Chromium still attempts to use
> IndexedDB storage from the top-level domain context.
> This results in FS.syncfs() failing with "DOMException: The user denied
> permission to access the database" (visible if you set an async error
> handler).
> If the user manually hits the iframe page directly, storage works.
>
> With Firefox, no issues, since the browser uses IDB with the iframe
> domain context
> (which makes much more sense to me).
>
> Are you aware of this?
> Are there workarounds?
> Should I file a bug in Chromium?
>
> Cheers!
> Beuc
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/bf34857b-e7ed-0f97-a7f2-9402c0aad45b%40beuc.net
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpStNn1_iz89QaOeUOKSJH5Js2TurS4UA2%3Db8Wo8pFiiHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to