WICG / manifest-incubations

Before install prompt API for installing web applications
https://wicg.github.io/manifest-incubations/
Other
98 stars 30 forks source link

Can I use window.open to open a borderless window? #75

Open fortheday001 opened 1 year ago

fortheday001 commented 1 year ago

Can I use window.open to open a borderless window? like window.open ("","","displayState=borderless")

If not, can this feature work someday? My company strongly needs this feature.

michaelwasserman commented 1 year ago

The explainer has a relevant section:

Opening a popup from a borderless PWA

  • Opening a popup to any other origin → The popup should NOT be in borderless mode (security risk if the following pop-up app would be malicious).
  • Opening a popup to itself (same origin) → The popup opens in borderless mode, because the app has already got the permission to run in borderless mode.