Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ed0423319e8814d304c9db4dfd3d6774476b069d
      
https://github.com/WebKit/WebKit/commit/ed0423319e8814d304c9db4dfd3d6774476b069d
  Author: Youenn Fablet <you...@apple.com>
  Date:   2025-08-19 (Tue, 19 Aug 2025)

  Changed paths:
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp
    M Tools/WebKitTestRunner/TestInvocation.cpp

  Log Message:
  -----------
  REGRESSION(298547@main): [ macOS wk2 ] 
http/tests/media/media-stream/get-display-media-prompt.html is a flaky text 
failure
https://bugs.webkit.org/show_bug.cgi?id=297411
rdar://158343702

Reviewed by Charlie Wolfe.

The test change revealed a potential race condition between 
InjectedBundle::resetUserMediaPermissionRequestCount and 
InjectedBundle::userMediaPermissionRequestCount, since one is using synchronous 
IPC and not the other.
We are making use of synchronous IPC for both of them to remove that race.

* LayoutTests/platform/mac-wk2/TestExpectations:
* Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::resetUserMediaPermissionRequestCount):
* Tools/WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
(WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to