[webkit-changes] [WebKit/WebKit] 2e156b: IPCTestingAPI crash when creating JS object during...

Charlie Wolfe noreply at github.com
Wed Mar 6 10:40:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2e156b8a70102f62d01fe0c2ad3f63db148f45d4
      https://github.com/WebKit/WebKit/commit/2e156b8a70102f62d01fe0c2ad3f63db148f45d4
  Author: Charlie Wolfe <charliew at apple.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp

  Log Message:
  -----------
  IPCTestingAPI crash when creating JS object during garbage collection
https://bugs.webkit.org/show_bug.cgi?id=270547
rdar://124101628

Reviewed by Alex Christensen.

Some objects send IPC messages during destruction. We should dispatch the decoder to the main run loop
to avoid creating a JS object during garbage collection.

* Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp:
(WebKit::IPCTestingAPI::JSMessageListener::willSendMessage):

Canonical link: https://commits.webkit.org/275745@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