Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ca6fa1bdc5b24bf39eac9f01002230d556f2e8f3
      
https://github.com/WebKit/WebKit/commit/ca6fa1bdc5b24bf39eac9f01002230d556f2e8f3
  Author: Youenn Fablet <[email protected]>
  Date:   2026-08-26 (Wed, 26 Aug 2026)

  Changed paths:
    M LayoutTests/platform/glib/TestExpectations
    M LayoutTests/platform/mac/TestExpectations
    M Source/WebCore/platform/mock/MockRealtimeVideoSource.cpp
    M Source/WebCore/platform/mock/MockRealtimeVideoSource.h

  Log Message:
  -----------
  New Test(316184@main): [macOS Debug] 
fast/mediastream/applyConstraints-with-takePhoto.html is a flaky CRASH
rdar://184648367
https://bugs.webkit.org/show_bug.cgi?id=321534

Reviewed by Philippe Normand.

m_drawingState needs to be protected by the lock before being used, we add a 
thread safety assertion for this.
In case generatePhoto is called after a generateFrame, the drawing state may 
not be empty.
We therefore invalidate it before taking the photo..

* LayoutTests/platform/glib/TestExpectations:
* LayoutTests/platform/mac/TestExpectations:
* Source/WebCore/platform/mock/MockRealtimeVideoSource.cpp:
(WebCore::MockRealtimeVideoSource::generatePhoto):
* Source/WebCore/platform/mock/MockRealtimeVideoSource.h:

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



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

Reply via email to