Ready for Trial: Open popups as fullscreen windows

132 views
Skip to first unread message

Brad Triebwasser

unread,
Apr 6, 2023, 10:49:57 AM4/6/23
to blin...@chromium.org, Mike Wasserman

Contact emails

btr...@chromium.orgm...@chromium.org

Explainer

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

Specification

TBD

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

TAG review

Not yet requested

TAG review status

Pending

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:

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.



Goals for experimentation

Gain early developer and partner feedback and identify any UX pain points.

Ongoing technical constraints

Feature is only available when the flag is enabled.
Empty popups (about:blank) not working is a known issue. Fix expected in M114.
Further constraints (same-origin, permission policy, etc.) which restrict this feature may be introduced in subsequent releases.

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.).



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

No

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

No. A single-screen test will be added, but 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

--enable-features=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

DevTrial on desktop113


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/6002307972464640

Links to previous Intent discussions

Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/t8lL5RvfLJY

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages