Bug 122063
| Summary: | Web Inspector: back/forward history lost on inspector close/reopen | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brian Burg <burg> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Brian Burg
It would be great to serialize the back/forward list when closing the inspector, at least when the main frame resource is the same on close and reopen. For other cases it may not make sense.. ?
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/15105854>
Timothy Hatcher
I agree. Remembering it for the last URL would be good. Assuming the cookies can be serialized too…
Timothy Hatcher
This would likely involve using NavigationSidebarPanel's cookieForContentView. And also a variant of its showContentViewForCookie that only makes the ContentView and doesn't show it. And add a way to serialize and restore the new position cookies or declare those cookies void and only restore ContentViews.
Brian Burg
Back/forward cookies and content view cookies are now the same thing, so this should be straightforward (modulo discarding invalid states).