Re: [whatwg/fullscreen] Add pending fullscreen request flag and promise to document state (PR #251)

saschanaz left a comment (whatwg/fullscreen#251)

> I vaguely recall promises not being a great building block for specifications, but I can't find the specific issue for this.

It's not super great for implementation sake either - it suddenly starts to depend on JS while the implementation otherwise wouldn't need to. Doing so implicitly makes things depend on JS Promise behavior.

Interestingly the spec [creates a promise without defining what a promise is](https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen).

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

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

Received on Wednesday, 11 February 2026 14:16:48 UTC