Repository navigation
Storage check page for per-tab projects - #43
Merged
Merged
Conversation
embed/public/storage-check.html, deployed with the embed at /glpython-editor/storage-check.html - the IDE's origin, so the same storage rules apply. It sets a marker in sessionStorage and in history.state and logs every page load with what survived, to decide on the iPad whether a tab finds its project again after Safari unloads it without the tab id in the address. "?belasten" fills memory so iPadOS unloads background tabs. Not linked from anywhere; no effect on the embed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
P25, address bar: a one-page diagnostic. On your iPad it shows whether a tab still knows its marker after Safari unloads it, without the id in the address. Your result decides between variant (3), bare address, and variant (2),
#tab=….The page
embed/public/storage-check.htmlis copied unchanged intodist-embed/.history.state.?belastenin a new tab. It fills memory (up to 3 GB, 64 MB at a time) so iPadOS unloads background tabs.Wording (German only; the page is for you, not for learners)
«Speicher-Test» · «Prüft, was ein Tab nach Neuladen, Entladen und Neustart von Safari noch weiss.» · «Seitenaufbau Nr. …» · «Session-Speicher: ✓ gefunden / ✗ fehlt» · «Marker setzen» · «Belastungsseite öffnen» · «Alles zurücksetzen» · «Speicher belasten» · «Diese Seite belegt Speicher, bis iPadOS andere Tabs entlädt. Sie darf dabei selbst abstürzen oder neu laden.»
Checked (Chrome, phone width)
🤖 Generated with Claude Code