Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 598af3159ad48d2666c14981a6ec261bdca3b8bd
      
https://github.com/WebKit/WebKit/commit/598af3159ad48d2666c14981a6ec261bdca3b8bd
  Author: Ryosuke Niwa <[email protected]>
  Date:   2025-09-16 (Tue, 16 Sep 2025)

  Changed paths:
    A 
LayoutTests/http/tests/lockdown-mode/media-element-is-suspended-crash-expected.txt
    A LayoutTests/http/tests/lockdown-mode/media-element-is-suspended-crash.html
    M Source/WebCore/html/HTMLMediaElement.cpp

  Log Message:
  -----------
  Assertion failure in HTMLMediaElement::isSuspended()
https://bugs.webkit.org/show_bug.cgi?id=298998

Reviewed by Chris Dumez.

The assertion failure was caused because this function was getting called 
between the time when
active DOM objects are stopped in Document::commonTeardown and when the 
document is destroyed.

Fixed the assertion by allowing this specific situation.

Test: http/tests/lockdown-mode/media-element-is-suspended-crash.html

* 
LayoutTests/http/tests/lockdown-mode/media-element-is-suspended-crash-expected.txt:
 Added.
* LayoutTests/http/tests/lockdown-mode/media-element-is-suspended-crash.html: 
Added.
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::isSuspended const):

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



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

Reply via email to