Bug 243704
| Summary: | Group WKWebView state which is per-process into a struct | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | WebKit Misc. | Assignee: | Simon Fraser (smfr) <simon.fraser> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Simon Fraser (smfr)
We often have bugs where we forget to reset state on WKWebView when the web process terminates (the same is true on WebPageProxy, which I will fix separately).
To make it harder to create such bugs, group all the data that needs to be reset on web process termination into a struct. `_processWillSwapOrDidExit` can then just reinitialize this struct.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
Pull request: https://github.com/WebKit/WebKit/pull/3138
Radar WebKit Bug Importer
<rdar://problem/98697590>
EWS
Committed 253459@main (ba12984f136d): <https://commits.webkit.org/253459@main>
Reviewed commits have been landed. Closing PR #3138 and removing active labels.