| Summary: | iFrame not saving settings after restart of application. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Genefy <genefy> |
| Component: | Frames | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | beidson, bfulgham, webkit-bug-importer, wilander |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Genefy
2023-05-27 20:05:52 PDT
Hi! What technology are you using to “save” here? WebKit partitions HTML storage per top frame site and partitioned storage is ephemeral. Ephemeral means in-memory-only. Actually partitioned per top frame *origin*. I'm using save in a figurative sense. I'm mostly just choosing the dark mode option. Then closing and re-opening a web app/& standard web (using webkit) with iFrames in them. But when going across the iFrames those manually set to dark mode are being reset. I'm using iFrames because it's a control panel. (Organizr) Can iFrames be saved too? Or at least a preference to be saved? Could you provide a code snippet of how you save dark mode in the iframe, please? There's a hamburger menu on the top right, 3 lines. if you click the 3 lines, there's an option that says Switch to Dark Mode. There's a demo site for homarr: https://demo.homarr.dev/ Again just hamburger menu on the top right. Thank you for following up. The only difference is that homarr would be within an iFrame. |