1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:37:45 +00:00

LibWeb: Store document origin as a HTML::Origin object

This will allow us to remember an arbitrary origin instead of deriving
it from the document's URL.
This commit is contained in:
Andreas Kling 2022-08-05 10:54:01 +02:00
parent 130be479cb
commit 6e71e400e6
2 changed files with 5 additions and 6 deletions

View file

@ -482,6 +482,9 @@ private:
// https://html.spec.whatwg.org/multipage/dom.html#is-initial-about:blank
bool m_is_initial_about_blank { false };
// https://dom.spec.whatwg.org/#concept-document-origin
HTML::Origin m_origin;
};
}