Bug 283827

Summary: messages.in files should be annotated with a dispatched(From|To)="(UI|Network|GPU|WebProcess)" attribute
Product: WebKit Reporter: Gavin <gavin.p>
Component: New BugsAssignee: Sihui Liu <sihui_liu>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Gavin
Reported 2024-11-29 07:19:42 PST
We should create new dispatched(From|To)="(UI|Network|GPU|WebProcess)" attributes which can be used to assert a given process always sends/receives the message. This can be achieved via an ASSERT(WebKit::IsInWebProcess()); generated via the .messages.in parser and place in the sender/receiver
Attachments
Gavin
Comment 1 2024-11-29 07:23:48 PST
Gavin
Comment 2 2024-11-29 07:28:29 PST
EWS
Comment 3 2024-12-06 04:24:43 PST
Committed 287439@main (ea719b6182f6): <https://commits.webkit.org/287439@main> Reviewed commits have been landed. Closing PR #37254 and removing active labels.
Sihui Liu
Comment 4 2024-12-06 10:41:34 PST
EWS
Comment 5 2024-12-06 15:34:29 PST
merge-queue failed to commit PR to repository. To retry, remove any blocking labels and re-apply merge-queue label
EWS
Comment 6 2024-12-06 15:46:23 PST
Committed 287463@main (aaf0cdea1740): <https://commits.webkit.org/287463@main> Reviewed commits have been landed. Closing PR #37551 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.