Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fcfb4293170de8c5de572164a5ab42b0a48a8780
      
https://github.com/WebKit/WebKit/commit/fcfb4293170de8c5de572164a5ab42b0a48a8780
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-09-03 (Thu, 03 Sep 2026)

  Changed paths:
    M Source/WebCore/Modules/audiosession/DOMAudioSession.cpp

  Log Message:
  -----------
  DOMAudioSession::type() redundantly tests the document twice against the same 
fallback
https://bugs.webkit.org/show_bug.cgi?id=323395
rdar://186627178

Reviewed by Chris Dumez.

DOMAudioSession::type() tested the document twice, once implicitly and once
explicitly, both returning Type::Auto. Collapse them into the single guard
that state() already uses correctly. No change in behavior, so no new tests.

* Source/WebCore/Modules/audiosession/DOMAudioSession.cpp:
(WebCore::DOMAudioSession::type const):

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



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

Reply via email to