-
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.
GPUConnectionToWebProcess should return whether or not a particular r…
…eceiver was able to handle a message not just that it was forwarded https://bugs.webkit.org/show_bug.cgi?id=264815 rdar://118397083 Reviewed by Chris Dumez. Currently GPUConnectionToWebProcess just returns true as soon as it forwards a message to a receiver; completely ignoring whether it was handled correctly or not. This is preventing us from detecting deserialization failures for these messages. This change returns the forwards the return result of the handler instead, aligning behavior with NetworkConnectionToWebProcess and others. * LayoutTests/ipc/send-invalid-sync-message-empty-reply-check-exception-expected.txt: * LayoutTests/ipc/send-invalid-sync-message-empty-reply-check-exception.html: * Source/WebKit/GPUProcess/GPUConnectionToWebProcess.cpp: (WebKit::GPUConnectionToWebProcess::dispatchSyncMessage): Canonical link: https://commits.webkit.org/270778@main
- Loading branch information
1 parent
121addd
commit 6fae1cc
Showing
3 changed files
with
24 additions
and
26 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
LayoutTests/ipc/send-invalid-sync-message-empty-reply-check-exception-expected.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
PASS Sending sync message with incorrect parameters must throw error | ||
PASS Sending sync message to the UI process with incorrect parameters must throw error | ||
PASS Sending sync message to the GPU process with incorrect parameters must throw error | ||
|
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