[webkit-changes] [WebKit/WebKit] f52aaa: TestIPC.SimpleConnectionTest.ClearOutgoingMessages...

Kimmo Kinnunen noreply at github.com
Fri Sep 6 01:18:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f52aaa93744b0289e947da5fe4d6d1671d8258a8
      https://github.com/WebKit/WebKit/commit/f52aaa93744b0289e947da5fe4d6d1671d8258a8
  Author: Kimmo Kinnunen <kkinnunen at apple.com>
  Date:   2024-09-06 (Fri, 06 Sep 2024)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/IPC/ConnectionTests.cpp

  Log Message:
  -----------
  TestIPC.SimpleConnectionTest.ClearOutgoingMessages crashes the next test
https://bugs.webkit.org/show_bug.cgi?id=279192
rdar://135345130

Reviewed by Simon Fraser.

Invalidate the connections at the test end. Otherwise there will be
pending callbacks in the runloop list, and these will be accessing
IPC::ConnectionClient (kMockConnectionClient) that is already
destroyed.

* Tools/TestWebKitAPI/Tests/IPC/ConnectionTests.cpp:
(TestWebKitAPI::TEST_F(SimpleConnectionTest, ClearOutgoingMessages)):

Canonical link: https://commits.webkit.org/283257@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list