Bug 232060

Summary: WebContent crash when sending invalid IPC message using IPC testing API
Product: WebKit Reporter: Brandon <brandonstewart>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
wenson_hsieh: review+, ews-feeder: commit-queue-
Patch none

Description Brandon 2021-10-20 17:25:42 PDT
When sending an invalid message using the IPC testing API, the WebContent process will crash.

IPC.sendSyncMessage('UI',IPC.webPageProxyID,IPC.messages.WebPageProxy_ExecuteSavedCommandBySelector.name, 1, [{type: 'String',value: 'AAA'}]);
Comment 1 Brandon 2021-10-20 17:27:41 PDT
Created attachment 441965 [details]
Patch
Comment 2 Brandon 2021-10-20 17:28:45 PDT
<rdar://70334824>
Comment 3 Brandon 2021-10-20 17:45:29 PDT
Created attachment 441967 [details]
Patch
Comment 4 Wenson Hsieh 2021-10-20 17:47:54 PDT
Comment on attachment 441967 [details]
Patch

r=mews
Comment 5 Brandon 2021-10-22 17:30:48 PDT
Created attachment 442228 [details]
Patch
Comment 6 EWS 2021-10-23 13:18:54 PDT
Committed r284746 (243455@main): <https://commits.webkit.org/243455@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 442228 [details].