mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
LibWeb: Let determine_the_origin() take an optional URL after all
I originally believed that this could never receive a null URL and the spec was inaccurate, but it seems like it can indeed. I don't have a distilled test, but this makes logging in with GitHub work on https://v0.dev/
This commit is contained in:
parent
ef9208047d
commit
1a4b0ded1f
Notes:
github-actions[bot]
2024-09-26 08:15:13 +00:00
Author: https://github.com/awesomekling
Commit: 1a4b0ded1f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1537
3 changed files with 10 additions and 8 deletions
|
@ -168,7 +168,7 @@ private:
|
|||
JS::GCPtr<BrowsingContext> m_previous_sibling;
|
||||
};
|
||||
|
||||
HTML::Origin determine_the_origin(URL::URL const& url, SandboxingFlagSet sandbox_flags, Optional<HTML::Origin> source_origin);
|
||||
HTML::Origin determine_the_origin(Optional<URL::URL> const&, SandboxingFlagSet, Optional<HTML::Origin> source_origin);
|
||||
|
||||
SandboxingFlagSet determine_the_creation_sandboxing_flags(BrowsingContext const&, JS::GCPtr<DOM::Element> embedder);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue