You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As written this seems to be implied by the idea that the Promise is resolved "with this's associated ScreenDetails object" but I don't see any specification text which defines how this object is initialized. I recommend extending the Window interface with an internal slot which holds the Promise returned by this function. Future invocations of getScreenDetails() can return this same Promise which may have already resolved.
This raises a related question about what happens when the "window-placement" permission is revoked. This should probably clear this internal slot (so that the permission check has to be rerun) as well as preventing new events for advanced observable properties from firing.