-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Is your feature request related to a problem? Please describe.
Multi-Screen Window Placement is a fairly new web API that is currently in draft. It allows more refined control over window placement in multi-screen environments, and is currently the only way to restore window positions to second displays. More details can be found in the explainer.
Chrome launched an origin trial in Chrome 93, where the feature is currently hidden behind the #enable-experimental-web-platform-features
flag. It is estimated to fully ship in Chrome 97. For more details and further links please see Intent to Experiment: Multi-Screen Window Placement.
Chrome is currently the only browser to implement this new API.
Describe the solution you'd like
Sandboxed iframes by default don't have access to the API. To grant access, the keyword window-placement
must be added to the iframe's allow
attribute.