WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 248879
282998
HTMLElement.requestFullscreen does not return a Promise.
https://bugs.webkit.org/show_bug.cgi?id=282998
Summary
HTMLElement.requestFullscreen does not return a Promise.
Andrew Hodel
Reported
2024-11-12 11:08:47 PST
It is document on MDN as returning a Promise and a Promise is returned in Edge, Firefox, Chrome and Oculus.
Attachments
Add attachment
proposed patch, testcase, etc.
Andrew Hodel
Comment 1
2024-11-13 05:17:42 PST
Karl Dubost
Bug 248879
is marked as fixed and this problem is not fixed. There is no promise returned by HTMLElement.requestFullscreen in Safari.
Karl Dubost
Comment 2
2024-11-13 17:07:55 PST
const element = document.createElement('div'); console.log('requestFullscren: ', element.requestFullscreen()); Safari: Promise Firefox: Promise Chrome: Promise Tested in Safari Technology Preview 206 20621.1.3.21.1 Firefox Nightly 134.0a1 13424.11.7 Google Chrome Canary 133.0.6835.0 6835.0
Karl Dubost
Comment 3
2024-11-13 17:13:49 PST
*** This bug has been marked as a duplicate of
bug 248879
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug