Intent to Prototype: Open popups as fullscreen windows

168 views
Skip to first unread message

Brad Triebwasser

unread,
Jan 3, 2023, 1:44:47 PM1/3/23
to blin...@chromium.org, Ajay Rahatekar, Ben Morss, btr...@chromium.org, Mike Wasserman

Contact emails

btr...@chromium.org, m...@chromium.org


Explainer

https://github.com/bradtriebwasser/fullscreen-popup/blob/main/EXPLAINER.md


Summary

Adds the ability to open a popup directly to full-screen.


Adds an additional windowFeatures parameter to the window.open() JavaScript API which allows the caller to open a popup directly to full-screen on the display that would contain the popup (based on screenX/screenY). This eliminates the need for the developer to manually transition a popup into full-screen which could require a new user activation signal.


Blink component

Blink>Fullscreen


Motivation

Sites cannot open full-screen windows without multiple user gestures. This particularly restrains web applications that launch full-screen content on another display (via the window management API) by requiring multiple user interactions which degrades user experience.


Initial public proposal

https://github.com/w3c/window-placement/issues/7


TAG review status

Not yet requested


Risks


Interoperability and Compatibility


Gecko: No signal (https://github.com/mozilla/standards-positions/issues/714)


WebKit: No signal (https://github.com/WebKit/standards-positions/issues/101)


Web developers: Positive https://github.com/w3c/window-placement/issues/7 https://github.com/w3c/window-placement/issues/98#top https://github.com/w3c/window-placement/issues/92


Other signals: none


WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

Considered low risk since this is introducing a new API that will affect desktop platforms only.


Debuggability

This feature utilizes the existing windowFeatures string parameter in Window.open() and does not modify any structured (i.e. WebIDL) API surface. This feature will integrate with existing fullscreen APIs which developers can use for debugging (document.fullscreenElement, fullscreenchange, and fullscreenerror, etc.).


Is this feature fully tested by web-platform-tests?

Not yet. Tests will be added during prototyping. Web platform tests are limited to single display environments, so testing fullscreen popups across displays will not be possible in web platform tests.


Flag name

FullscreenPopupWindows


Requires code in //chrome?

False


Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1142516


Launch bug

https://launch.corp.google.com/launch/4211164


Estimated milestones

Desktop: M111


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/6002307972464640


This intent message was generated by Chrome Platform Status.


Reply all
Reply to author
Forward
0 new messages