-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Web process sends redundant information when establishing GPU process…
… connection https://bugs.webkit.org/show_bug.cgi?id=274307 rdar://128265618 Reviewed by Chris Dumez. Reland: Use HAVE(TASK_IDENTITY_TOKEN) instead of PLATFORM(COCOA) to guard ASSERT(m_processIdentity), as the iOS Family simulators do not have the task identity token. Web process would send - the process identity for resource attribution - settings object The settings were previously changled to be filled by the privileged UI process. Remove this altogether, as it's insecure to let the WP select anything here. The process identity does not change once the WP is created. Thus send this during WP initialization. Moves the WebProcessProxy message sends to the WebProcessProxy. * Source/WebKit/Scripts/webkit/messages.py: (types_that_must_be_moved): * Source/WebKit/UIProcess/WebProcessPool.cpp: (WebKit::WebProcessPool::createGPUProcessConnection): * Source/WebKit/UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::initializeIdentity): (WebKit::WebProcessProxy::createGPUProcessConnection): * Source/WebKit/UIProcess/WebProcessProxy.h: * Source/WebKit/UIProcess/WebProcessProxy.messages.in: * Source/WebKit/WebProcess/GPU/GPUProcessConnection.cpp: (WebKit::GPUProcessConnection::create): (WebKit::getGPUProcessConnectionParameters): Deleted. * Source/WebKit/WebProcess/WebProcess.cpp: (WebKit::WebProcess::initializeWebProcess): Canonical link: https://commits.webkit.org/279438@main
- Loading branch information
1 parent
5ab485a
commit 4420d02
Showing
10 changed files
with
48 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters