Closed fallaciousreasoning closed 5 years ago
One way forward here would be to open the popup/tab and if it triggers a launch event, to then close it again. We might not have a ton of choice because the navigation in the window will only happen after window.open has finished
Interesting. I think I'd be comfortable with a V0 of launch events that doesn't work at all with window.open, with the caveat that we'll think about it more in the future.
I agree, we might just want to think through it a bit.
Notes added to the explainer.
Intuitively, it feels like they should be (e.g. by a site adding
window.open('yourapp.com')
to its button's click handler).However, it may be difficult to reconcile asynchronous launch events with the synchronous
window.open
API. Hopefully we can find some way around this issue, or it will somewhat limit the usefulness of launch events.