Bug 268994
| Summary: | Large _WKSessionState blobs do not deserialize correctly | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ben Nham <nham> |
| Component: | WebKit Misc. | Assignee: | Ben Nham <nham> |
| Status: | NEW | ||
| Severity: | Normal | CC: | nham, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ben Nham
There was some code added in r198468 which conditionally serializes sessionHistoryEntryDataKey based on the size of the _WKSessionState blob. However, the _WKSessionState deserializer unconditionally fails if that key is missing. The result is that a significant number of sessions don't restore properly. We should fix this.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ben Nham
rdar://122049041