[Webkit-unassigned] [Bug 243824] New: WebKit::terminateWithReason() is declared in WebKit/Platform/spi, but defined in WebKit/Shared

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 11 07:08:25 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=243824

            Bug ID: 243824
           Summary: WebKit::terminateWithReason() is declared in
                    WebKit/Platform/spi, but defined in WebKit/Shared
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com
                CC: kkinnunen at apple.com
            Blocks: 243780

WebKit::terminateWithReason() is declared in WebKit/Platform/spi, but defined in WebKit/Shared

Problems:
 - IPC:: uses WebKit::terminateWithReason(), but terminateWithReason() is not implemented in WebKit/Platform
 - WebKit::terminateWithReason() is declared in a SPI header. Typically SPI headers only declare the SPI.
 - WebKit::terminateWithReason() is defined in a surprising file (ProcessLauncherCocoa.mm)

The layering violation of WebKit/Platform depending on WebKit/Shared implementation is making it hard to compile a version of IPC that does not depend on WebKit:: other that WebKit/Platform.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=243780
[Bug 243780] WebKit/Source/Platform/IPC should be testable with C++ unit tests
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220811/81b01c13/attachment-0001.htm>


More information about the webkit-unassigned mailing list