[whatwg/fullscreen] Flatten requestFullscreen() error conditions (PR #224)

This is terrible. @annevk suggests a helper algorithm instead.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://whatpr.org/fullscreen/224.html" title="Last updated on May 3, 2023, 7:58 AM UTC (1fb8b52)">Preview</a> | <a href="https://whatpr.org/fullscreen/224/b3bab96...1fb8b52.html" title="Last updated on May 3, 2023, 7:58 AM UTC (1fb8b52)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fullscreen/pull/224

-- Commit Summary --

  * Flatten requestFullscreen() error conditions

-- File Changes --

    M fullscreen.bs (35)

-- Patch Links --

https://github.com/whatwg/fullscreen/pull/224.patch
https://github.com/whatwg/fullscreen/pull/224.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/pull/224
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fullscreen/pull/224@github.com>

Received on Wednesday, 3 May 2023 07:58:29 UTC