[webkit-changes] [WebKit/WebKit] e9441d: REGRESSION (291403 at main): [ macOS wk2 ] storage/fi...

darryl-apple noreply at github.com
Thu Mar 6 16:28:24 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e9441d8e7aeead9430d139f8fa82b25642f8883d
      https://github.com/WebKit/WebKit/commit/e9441d8e7aeead9430d139f8fa82b25642f8883d
  Author: Darryl Parkinson <d_parkinson at apple.com>
  Date:   2025-03-06 (Thu, 06 Mar 2025)

  Changed paths:
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Source/WebKit/NetworkProcess/storage/NetworkStorageManager.cpp

  Log Message:
  -----------
  REGRESSION (291403 at main): [ macOS wk2 ] storage/filesystemaccess/writable-file-stream-abort.html is a flaky crash
https://bugs.webkit.org/show_bug.cgi?id=289207
rdar://146342345

Reviewed by Sihui Liu.

NetworkStorageManager::startReceivingMessageFromConnection is responsible for setting up a
MessageReceiver as well as dispatching a message to add an entry into m_preferencesForConnection.
By setting up the MessageReceiver first and then dispatching the call to update
`m_preferencesForConnection`, there's a race where a message can be received and lookup it's
SharedPreferences before they are set. This is fixed by setting `m_preferencesForConnection`
before setting up the MessageReceiver.

* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WebKit/NetworkProcess/storage/NetworkStorageManager.cpp:
(WebKit::NetworkStorageManager::startReceivingMessageFromConnection):

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