WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
190640
Remove InjectedBundleBackForwardList
https://bugs.webkit.org/show_bug.cgi?id=190640
Summary
Remove InjectedBundleBackForwardList
Alex Christensen
Reported
2018-10-16 14:38:57 PDT
Remove InjectedBundleBackForwardList
Attachments
Patch
(39.58 KB, patch)
2018-10-16 14:41 PDT
,
Alex Christensen
cdumez
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2018-10-16 14:41:01 PDT
Created
attachment 352506
[details]
Patch
Chris Dumez
Comment 2
2018-10-16 15:23:44 PDT
Comment on
attachment 352506
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=352506&action=review
r=me with suggestion, assuming the bots are happy.
> Source/WebKit/WebProcess/WebPage/WebPage.cpp:1673 > +void WebPage::clearHistory()
This merely sends an async IPC to the UIProcess, asking it to clear its back forward list. The UIProcess will then send async IPC to the WebProcess for each history item removal.
> Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:415 > + WKBundleClearHistoryForTesting(m_page);
This merely asks the UIProcess to clear the history. Can we clear the history directly from the UIProcess in TestController::resetStateToConsistentValues() using WKBackForwardListClear()? It would end up through the same code path but would do less IPC.
> Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp:613 > void TestRunner::clearBackForwardList()
Note that we may be able to drop this in a follow-up, now that you clear history between tests. I think all the tests merely call this before starting, although we should double check. It'd be great if we could get rid of it because this would mean we could drop WKBundleClearHistoryForTesting() too.
Alex Christensen
Comment 3
2018-10-16 15:31:34 PDT
I agree that there are several messages being sent that shouldn't be, but that will be cleaned up soon.
http://trac.webkit.org/r237205
Radar WebKit Bug Importer
Comment 4
2018-10-16 15:33:36 PDT
<
rdar://problem/45320784
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug