[webkit-changes] [WebKit/WebKit] cd54bf: _WKFrameTreeNode._processIdentifier should be the ...
Alex Christensen
noreply at github.com
Fri Jun 16 20:50:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cd54bfb045ddd762971c228873aa011ba17a1279
https://github.com/WebKit/WebKit/commit/cd54bfb045ddd762971c228873aa011ba17a1279
Author: Alex Christensen <achristensen at apple.com>
Date: 2023-06-16 (Fri, 16 Jun 2023)
Changed paths:
M Source/WebKit/Shared/FrameInfoData.h
M Source/WebKit/Shared/FrameInfoData.serialization.in
M Source/WebKit/UIProcess/API/APIFrameInfo.h
M Source/WebKit/UIProcess/API/APIFrameTreeNode.h
M Source/WebKit/UIProcess/API/Cocoa/WKFrameInfo.mm
M Source/WebKit/UIProcess/API/Cocoa/_WKFrameTreeNode.mm
M Source/WebKit/UIProcess/Cocoa/UIDelegate.mm
M Source/WebKit/UIProcess/ProvisionalPageProxy.cpp
M Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
M Source/WebKit/WebProcess/WebPage/WebFrame.cpp
Log Message:
-----------
_WKFrameTreeNode._processIdentifier should be the pid of the process, not the frame
https://bugs.webkit.org/show_bug.cgi?id=258088
rdar://110796103
Reviewed by Chris Dumez.
This makes WKWebView._frameTrees more useful for site isolation tests.
This allows it to see what process a RemotePageProxy is in, which isn't the same as a WebFrameProxy's current process.
Current use of the test SPI is unaffected.
* Source/WebKit/Shared/FrameInfoData.h:
* Source/WebKit/Shared/FrameInfoData.serialization.in:
* Source/WebKit/UIProcess/API/APIFrameInfo.h:
* Source/WebKit/UIProcess/API/APIFrameTreeNode.h:
* Source/WebKit/UIProcess/API/Cocoa/WKFrameInfo.mm:
(-[WKFrameInfo _processIdentifier]):
* Source/WebKit/UIProcess/API/Cocoa/_WKFrameTreeNode.mm:
(-[_WKFrameTreeNode _processIdentifier]):
* Source/WebKit/WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::info const):
Canonical link: https://commits.webkit.org/265265@main
More information about the webkit-changes
mailing list