Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a14e6af69efe7727482e7bac49caa4f059a22eb8
      
https://github.com/WebKit/WebKit/commit/a14e6af69efe7727482e7bac49caa4f059a22eb8
  Author: Jer Noble <jer.no...@apple.com>
  Date:   2023-06-09 (Fri, 09 Jun 2023)

  Changed paths:
    A LayoutTests/media/video-is-playing-audio-after-load-expected.txt
    A LayoutTests/media/video-is-playing-audio-after-load.html
    M Source/WebCore/html/HTMLMediaElement.cpp

  Log Message:
  -----------
  Safari Tab shows speaker icon indicating tab is playing audio even though it 
is paused
https://bugs.webkit.org/show_bug.cgi?id=257919
rdar://110019966

Reviewed by Eric Carlson.

The value of m_playing is not reset when a client resets via load(), leading to
a stale "IsPlayingAudio" flag being returned from mediaState().

* LayoutTests/media/video-is-playing-audio-after-load-expected.txt: Added.
* LayoutTests/media/video-is-playing-audio-after-load.html: Added.
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::prepareForLoad):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to