Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3f4765beb0bdcc287d626d2818c04f631cd2058b
https://github.com/WebKit/WebKit/commit/3f4765beb0bdcc287d626d2818c04f631cd2058b
Author: Wenson Hsieh <[email protected]>
Date: 2022-12-02 (Fri, 02 Dec 2022)
Changed paths:
M Source/WebKit/Shared/Cocoa/AuxiliaryProcessCocoa.mm
Log Message:
-----------
Make the debug assertion in AuxiliaryProcess::registerWithStateDumper more
descriptive
https://bugs.webkit.org/show_bug.cgi?id=248696
Reviewed by Simon Fraser.
Use `ASSERT_NOT_REACHED_WITH_MESSAGE` instead of a regular `ASSERT`, so that:
1. The intent (to exit immediately in debug) is more explicit, and also:
2. To include a descriptive message containing the serialization error in the
crash log.
* Source/WebKit/Shared/Cocoa/AuxiliaryProcessCocoa.mm:
(WebKit::AuxiliaryProcess::registerWithStateDumper):
Canonical link: https://commits.webkit.org/257317@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes