mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
LibWeb: Stub out determine_the_creation_sandboxing_flags
This commit is contained in:
parent
a565021147
commit
5f0fb84379
2 changed files with 9 additions and 0 deletions
|
@ -1635,4 +1635,11 @@ bool BrowsingContext::is_ancestor_of(BrowsingContext const& other) const
|
|||
return false;
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#snapshotting-target-snapshot-params
|
||||
SandboxingFlagSet determine_the_creation_sandboxing_flags(BrowsingContext const&, JS::GCPtr<DOM::Element>)
|
||||
{
|
||||
// FIXME: Populate this once we have the proper flag sets on BrowsingContext
|
||||
return {};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -338,6 +338,8 @@ HTML::Origin determine_the_origin(BrowsingContext const& browsing_context, Optio
|
|||
|
||||
HTML::Origin determine_the_origin(AK::URL const& url, SandboxingFlagSet sandbox_flags, Optional<HTML::Origin> source_origin, Optional<HTML::Origin> container_origin);
|
||||
|
||||
SandboxingFlagSet determine_the_creation_sandboxing_flags(BrowsingContext const&, JS::GCPtr<DOM::Element> embedder);
|
||||
|
||||
// FIXME: Find a better home for this
|
||||
bool url_matches_about_blank(AK::URL const& url);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue