Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cbecaea6c6d4dd99f1813be4ff165124abdcaf60
https://github.com/WebKit/WebKit/commit/cbecaea6c6d4dd99f1813be4ff165124abdcaf60
Author: Alex Christensen <[email protected]>
Date: 2024-07-23 (Tue, 23 Jul 2024)
Changed paths:
M LayoutTests/http/tests/navigation/sec-fetch-site-header-expected.txt
M
LayoutTests/http/tests/navigation/sec-fetch-site-header-on-crossorigin-redirection-expected.txt
M Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp
M Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
M Tools/WebKitTestRunner/InjectedBundle/TestRunner.h
M Tools/WebKitTestRunner/TestInvocation.cpp
M Tools/WebKitTestRunner/TestInvocation.h
Log Message:
-----------
[Site Isolation] Replace WKBundleFrameIsRemote call with keeping state in UI
process
https://bugs.webkit.org/show_bug.cgi?id=276912
rdar://132273884
Reviewed by Charlie Wolfe.
WKBundleFrameIsRemote is a function we need to remove. It can be replaced in a
way that works
with site isolation by keeping state in the UI process instead of the web
content processes.
Two tests call testRunner.dumpBackForwardList() then call testRunner.queueLoad
with a cross-site
URL, which used to load the second URL in a new process that doesn't have the
dumpBackForwardList
state, but moving the state to the UI process causes the state to be
remembered. Adding some
back/forward list contents to the test expectations makes the test
deterministically pass and
continue to test what it used to test.
* Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::didReceiveMessageToPage):
* Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::dumpBackForwardList):
(WTR::TestRunner::shouldDumpBackForwardListsForAllWindows const):
* Tools/WebKitTestRunner/InjectedBundle/TestRunner.h:
(WTR::TestRunner::shouldDumpBackForwardListsForAllWindows const): Deleted.
* Tools/WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
(WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
* Tools/WebKitTestRunner/TestInvocation.h:
Canonical link: https://commits.webkit.org/281242@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes