-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Labels
design work neededAn acknowledged gap in the proposal that needs design work to resolveAn acknowledged gap in the proposal that needs design work to resolvespec todoA nitty-gritty detail that needs spec workA nitty-gritty detail that needs spec work
Description
We decided in #191 that the timing of activating a portal shouldn't be down to guesswork.
portal.src = otherURL;
portal.activate();
What should happen here? Should it wait for otherURL
to fetch, or should it try and activate the current context (which may be absent)?
Similarly, what should we do if the portal is undergoing a navigation that was triggered internally?
If the src is set, it feels like activation should wait for that action to settle.
If the portal is navigating by some other means, waiting seems like an information leak. The alternative would be to abort that navigation, and activate the current document. This is giving the host page some control over an action stated within the portal, but it seems window.stop()
can already do that? Thoughts @jyasskin?
Metadata
Metadata
Assignees
Labels
design work neededAn acknowledged gap in the proposal that needs design work to resolveAn acknowledged gap in the proposal that needs design work to resolvespec todoA nitty-gritty detail that needs spec workA nitty-gritty detail that needs spec work