Bug 268633
Summary: | NetworkConnectionToWebProcess's MESSAGE_CHECK should just be calling into MESSAGE_CHECK_BASE | ||
---|---|---|---|
Product: | WebKit | Reporter: | Gavin <gavin.p> |
Component: | WebKit Process Model | Assignee: | Gavin <gavin.p> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Gavin
NetworkConnectionToWebProcess's MESSAGE_CHECK should just be calling into MESSAGE_CHECK_BASE.
We want MESSAGE_CHECK's to kill WebContent and stop processing the message when m_ignoreInvalidMessageForTesting==false and stop processing the message when m_ignoreInvalidMessageForTesting==true.
Currently many connections implement their own version of MESSAGE_CHECK which leads to inconsistent behaviour. By having NetworkConnectionToWebProcess's MESSAGE_CHECK call into MESSAGE_CHECK_BASE, we should markCurrentlyDispatchedMessageAsInvalid which should then dispatch didReceiveInvalidMessage to the connection client when m_ignoreInvalidMessageForTesting is false. didReceiveInvalidMessage can then terminate the WebContent process for us.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/122191138>
Gavin
Pull request: https://github.com/WebKit/WebKit/pull/23752
EWS
Committed 274106@main (67bfc13f4de7): <https://commits.webkit.org/274106@main>
Reviewed commits have been landed. Closing PR #23752 and removing active labels.