Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0ef677f42b09042cab75f967db847f2b6e85c875
      
https://github.com/WebKit/WebKit/commit/0ef677f42b09042cab75f967db847f2b6e85c875
  Author: Dana Estra <[email protected]>
  Date:   2026-02-23 (Mon, 23 Feb 2026)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm

  Log Message:
  -----------
  Add API Test For Null MACaptionActiveProfile
https://bugs.webkit.org/show_bug.cgi?id=308346
rdar://170838909

Reviewed by Eric Carlson.

Add API test that checks that when Media Accessibility's MACaptionActiveProfile
ss the empty string, we produce an empty CSS style sheet.

We set MACaptionActiveProfile to "" when running our WebVTT WPT bot, so that
media accessibility styles do not interfere with tests.

* Tools/TestWebKitAPI/Tests/WebCore/cocoa/CaptionPreferencesTests.mm:
(TestWebKitAPI::TEST_F(CaptionPreferenceTests, 
NullProfileNameShouldYieldEmptyStyleSheet)):

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



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

Reply via email to