-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor navigation algorithm. #4664
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My main quibble here is with the determining an origin algorithm, but I also very much like the idea of having that. Also curious what @domenic thinks about this revised setup. (The page load stuff is still a little vague, but this only makes it better I think.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, great stuff. A big improvement. I pushed a few nit fixes (please remember to pull them), and there are a few small remaining issues threading everything through, but this is working out well.
I did a check on the origin stuff. I noticed the following things:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've based and also pushed the activeDocumentNavgationOrigin and incubmentNavigationOrigin into the actual navigation algorithm. Hopefully this addresses your concerns.
@domenic Can you take a look at the new changes sometime? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay while traveling. You picked the hard, no-handwaving route, but we need to fully thread through the variables...
- Create the document after the global is created. - Formally calculate sandbox flags and origin before document is created.
in the navigation algorithm. Pass them around to the determine the origin algorithm.
@domenic I threaded them more to each algorithm although I didn't do the multipart algorithm since it seems to refer to a subnavigation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…ot looked at page loading changes in detail)
I pushed a number of changes you should probably take a look at. I think the setup makes sense and should definitely make further refactoring easier. I'm okay with landing this. Thank you both for your work on writing and reviewing it. |
lgtm |
The description of the sandboxed origin browsing context flag
Perherps it should refer to the first step in |
Refactor navigation algorithm.
/browsers.html ( diff )
/browsing-the-web.html ( diff )
/infrastructure.html ( diff )
/origin.html ( diff )
/urls-and-fetching.html ( diff )
/window-object.html ( diff )