Re: [whatwg/fullscreen] Allow fullscreen on already fullscreen elements without user activation (#193)

I just confirmed that Firefox work exactly like Chrome: if an `element` is already fullscreen, calling `element.requestFullscreen()` again without user activation is a no-op from user's perspective (nothing changes) but the `Promise` is rejected and a console error is emitted.  It seems to me that silently accepting the `Promise` in this particular case would be a no-change for users, and a very subtle change for developers.  In particular, the lack of a `fullscreenchange` event would still indicate to developers that nothing has changed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/193#issuecomment-863560654

Received on Thursday, 17 June 2021 21:02:26 UTC