Bug 169616
Summary: | Allow creating a WKBackForwardList given a list of URLs | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eugene But <eugenebut> |
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | ajuma, beidson, justincohen, mcatanzaro, mitz, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | All | ||
OS: | iOS 10 |
Eugene But
WKBackForwardList is readonly, so it is not possible to recreate browsing session from another device. Chrome for iOS allows to continue browsing on iPhone if the browsing session was started on Mac and for that WKWebView should provide API to recreate all back forward navigation list.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Eugene But
rdar://31041694
Michael Catanzaro
See also: https://bugs.webkit.org/show_bug.cgi?id=69358#c5. Unless Brady's opinion has changed in the past six years, this feature would be unlikely to be accepted.
Of course, restoring a browsing session should be allowed... I see you've already filed bug #169618 for that.
Ali Juma
Updating the summary to clarify what we need.
We only need to be able to create a WKBackForwardList given a list of URLs. We don't need to be able to mutate an existing WKBackForwardList.
The main use case is syncing tabs from another device. In that case, we have a list of URLs from that other device's browsing history, and we want to construct a WKWebView with the same history.