Repository navigation
Refactor navigation algorithm. - #4664
Conversation
annevk
left a comment
There was a problem hiding this comment.
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.)
domenic
left a comment
There was a problem hiding this comment.
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:
|
dtapuska
left a comment
There was a problem hiding this comment.
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? |
domenic
left a comment
There was a problem hiding this comment.
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. |
…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 )