Report file system availability in the log console
Currently the plugin logs a warning in the console:
https://github.com/jupyterlite/xeus/blob/3557fac7fa316ffe0e7b306bdb261c852c90463d/packages/xeus-extension/src/index.ts#L115-L119
But it could now add it to the loggerRegistry, so it's more visible if users try to access files for example in a Firefox private window: https://github.com/jupyterlite/jupyterlite/issues/679
Good idea!
Maybe this could even be put under tests with Playwright, using await browser.newContext(...) to create a new browsing context: https://playwright.dev/docs/puppeteer#cheat-sheet
And adding a single test that would run on Firefox.
Pyodide kernel PR for reference: https://github.com/jupyterlite/pyodide-kernel/pull/196
And adding a single test that would run on Firefox.
Ah, it looks like Service Workers would work in private windows with the next Firefox release!
https://github.com/user-attachments/assets/def6d3d2-ca20-4ef9-9aee-ae1e97732a42
Ah, it looks like Service Workers would work in private windows with the next Firefox release!
Ah I thought it was the case since 138 already! Maybe the patch was postponed 🤔 or I simply saw the patch being merged but wrongly assumed it would land in 138
Yeah. It's funny because such logging may not be that useful anymore, but we could still add it anyway and also in case people are still using older versions for the coming months.