-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
I initially thought we needed another state only due to the work happening in #3740, but it turns out that child browsing contexts can actually be preserved when navigating. How else could you navigate back with them still being there? (Thanks Nika for pointing this out!)
They mostly need to behave identically to discarded browsing contexts, except that we cannot actually discard them. (I don't have a complete understanding of when the difference matters. It's mostly that they still need to be there.)
(To be clear, this "closed" concept is slightly different from the "is closing" concept, which is solely relevant for close()
. And it's reversible in that the browsing context can be "opened" again.)