Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 99a807ac097fcc794775e9802368620f4363d85f https://github.com/WebKit/WebKit/commit/99a807ac097fcc794775e9802368620f4363d85f Author: Eric Carlson <eric.carl...@apple.com> Date: 2024-11-11 (Mon, 11 Nov 2024)
Changed paths: M LayoutTests/TestExpectations A LayoutTests/media/webkit-media-controls-not-visible-after-exiting-fullscreen-expected.txt A LayoutTests/media/webkit-media-controls-not-visible-after-exiting-fullscreen.html M LayoutTests/platform/mac/TestExpectations M Source/WebCore/Modules/modern-media-controls/media/media-controller.js Log Message: ----------- [macOS] Entering fullscreen with content menu results in visible controls upon exiting https://bugs.webkit.org/show_bug.cgi?id=282767 rdar://138995480 Reviewed by Jer Noble. Similar to 285602@main, listen for the "fullscreenchange" event on the media controls shadow root and update media controls available upon receiving that event. * LayoutTests/TestExpectations: Skip the new test, it is macOS-only. * LayoutTests/media/webkit-media-controls-not-visible-after-exiting-fullscreen-expected.txt: Added. * LayoutTests/media/webkit-media-controls-not-visible-after-exiting-fullscreen.html: Added. * LayoutTests/platform/mac/TestExpectations: Enable the new test. * Source/WebCore/Modules/modern-media-controls/media/media-controller.js: (MediaController): Register for the 'fullscreenchange' event on the shadow root. (MediaController.prototype.handleEvent): Update controls when the shadow root gets a 'fullscreenchange' event. Canonical link: https://commits.webkit.org/286459@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes