[webkit-changes] [WebKit/WebKit] bea4df: ipc/restrictedendpoints/deny-access-webPush.html i...

Chris Dumez noreply at github.com
Fri Sep 8 22:17:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bea4dfe5fc33eb5f443a8972fdd2138678e86aea
      https://github.com/WebKit/WebKit/commit/bea4dfe5fc33eb5f443a8972fdd2138678e86aea
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

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

  Log Message:
  -----------
  ipc/restrictedendpoints/deny-access-webPush.html is a flaky crash
https://bugs.webkit.org/show_bug.cgi?id=261345
rdar://114615232

Reviewed by Simon Fraser.

Update IPCTestingAPI's sendMessageWithJSArguments() to deal with the
fact that IPC sending may fail/abort and the reply decoder may be null
or invalid. This avoids doing a null deref later on in
jsResultFromReplyDecoder().

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

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




More information about the webkit-changes mailing list