Open uazo opened 2 months ago
Could you elaborate on the flow you're describing? I'm not against using something besides window.open, it just seemed like the best current match.
What I propose is to evaluate a call like
await window.openPopip(...);
therefore return a promise.
the advantages I believe are:
I think conceptually I like the idea of getting a Promise from the opened pop-in, returning a result from the user interaction that happened in the pop-in seems like a common pattern and making that more modern / ergonomic feels worthwhile.
With that said, maybe there are advantages to utilizing the existing API that aren't apparent at first glance. Probably worth investigating!
interesting to note that suggestions are of no use...
https://issues.chromium.org/issues/340606651
so what is this repo for?
I disagree that suggestions are of no use, but not all suggestions will be taken and those taken may not be adopted on the timeline requested.
This project is still just being prototyped, and has not even entered the origin trial phase (let alone contemplating shipping). Feedback not addressed so far may be addressed in the future.
Also, the more feedback on the same point we get from multiple developers/vendors the more prioritized that piece of feedback is likely to be.
The proposal uses
window.open
which is synchronous. This would not easily allow the development of browsers that require authorisation from the user before opening the popin. Would it be possible to rethink the api call?