1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:57:35 +00:00

LibWeb: Add updated version of "determine the origin" AO from HTML spec

The old version is still around since it has many users, so we can't
remove it until everything has been updated to use the new version.
This commit is contained in:
Andreas Kling 2022-12-12 17:36:20 +01:00
parent 3225c39191
commit 65467021e2
2 changed files with 32 additions and 0 deletions

View file

@ -330,6 +330,9 @@ private:
bool m_has_been_discarded { false };
};
// FIXME: Remove this once everything is switched to the new overload.
HTML::Origin determine_the_origin(BrowsingContext const& browsing_context, Optional<AK::URL> url, SandboxingFlagSet sandbox_flags, Optional<HTML::Origin> invocation_origin);
HTML::Origin determine_the_origin(AK::URL const& url, SandboxingFlagSet sandbox_flags, Optional<HTML::Origin> source_origin, Optional<HTML::Origin> container_origin);
}