[webkit-changes] [WebKit/WebKit] 2f0bfa: HTMLElement.requestPointerLock does not return a P...

Abrar Rahman Protyasha noreply at github.com
Thu Nov 14 10:19:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2f0bfa7da8bb7e89033eb0c36f9596568a43587b
      https://github.com/WebKit/WebKit/commit/2f0bfa7da8bb7e89033eb0c36f9596568a43587b
  Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
  Date:   2024-11-14 (Thu, 14 Nov 2024)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml

  Log Message:
  -----------
  HTMLElement.requestPointerLock does not return a Promise
https://bugs.webkit.org/show_bug.cgi?id=282849
rdar://139854530

Reviewed by Tim Nguyen.

The promise based interface for requestPointerLock was recently
introduced in the Pointer Lock spec, c.f. https://github.com/w3c/pointerlock/commit/0e99fcf3daa23269bf2b019f5269a154088d2347.

As such, this patch marks the feature flag gating this change interface
as stable and on-by-default.

Note that this also makes support for PointerLockOptions a stable
feature, which is a desirable outcome because both of these developments
were introduced to the Pointer Lock spec in tandem.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:

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



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


More information about the webkit-changes mailing list