Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b934faaa9c958fb3278550542b2eb3b127e363f2
      
https://github.com/WebKit/WebKit/commit/b934faaa9c958fb3278550542b2eb3b127e363f2
  Author: Frédéric Wang Nélar <[email protected]>
  Date:   2026-10-13 (Tue, 13 Oct 2026)

  Changed paths:
    M Source/WebCore/dom/Document+Fullscreen.idl
    M Source/WebCore/dom/DocumentFullscreen.h
    M Source/WebKitLegacy/mac/DOM/DOMDocument.mm

  Log Message:
  -----------
  Align Document::fullscreenEnabled and Document::webkitFullscreenEnabled
https://bugs.webkit.org/show_bug.cgi?id=248714
rdar://102937855

Reviewed by Anne van Kesteren.

The original implementation of the unprefixed API tried to make as little 
change as possible to the prefixed API.

The only difference between the two methods is the `isFullyActive()` check.
Since we successfully unified that check for `Element::requestFullscreen` in 
https://commits.webkit.org/255551@main, we should also do it for 
`Document::fullscreenEnabled`.

Original patch by Tim Nguyen <[email protected]>.

* Source/WebCore/dom/Document+Fullscreen.idl:
* Source/WebCore/dom/DocumentFullscreen.h:
* Source/WebKitLegacy/mac/DOM/DOMDocument.mm:
(-[DOMDocument webkitFullscreenEnabled]):

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



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

Reply via email to