mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 23:29:52 +00:00
LibWeb: Add about base url to the various AOs that construct documents
And some assorted cleanup along the way. The browsing context and document AOs in particular need re-alignment with the spec.
This commit is contained in:
parent
dc0f7c4c54
commit
7e277797ad
Notes:
sideshowbarker
2024-07-17 09:41:18 +09:00
Author: https://github.com/ADKaster
Commit: 7e277797ad
Pull-request: https://github.com/SerenityOS/serenity/pull/21184
Reviewed-by: https://github.com/kalenikaliaksandr
5 changed files with 28 additions and 2 deletions
|
@ -1531,6 +1531,7 @@ WebIDL::ExceptionOr<void> Navigable::navigate_to_a_javascript_url(AK::URL const&
|
|||
document_state->set_request_referrer_policy(old_doc_state->request_referrer_policy());
|
||||
document_state->set_initiator_origin(initiator_origin);
|
||||
document_state->set_origin(initiator_origin);
|
||||
document_state->set_about_base_url(old_doc_state->about_base_url());
|
||||
document_state->set_ever_populated(true);
|
||||
document_state->set_navigable_target_name(old_doc_state->navigable_target_name());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue