Bug 289945
| Summary: | [GTK][WPE] Limit size of serialized session state history data | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | guillaume.webkit, mcatanzaro |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=264879 https://bugs.webkit.org/show_bug.cgi?id=155664 |
||
Adrian Perez
In bug #155664 (173796@main) a cap was introduced for the iOS port, while for Mac the limit is UINT32_MAX. We should do something similar, and maybe even have a lower cap even for the GTK port, as 4 GiB of session data per web view sounds a bit ridiculous. For the WPE port, given the focus on embedded devices, we may want to have a somewhat lower limit.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
Additional suggestion: in bug #264879 I wrote that page cache is being serialized into the session state. You can't always trust my comments on issue trackers unfortunately, but if that's really true, we should just not do that. That's overkill.