mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
LibWeb: Fill-in some fixmes around sandboxing flag sets
...Including a couple of steps in obtain_a_browsing_context_to_use_for_a_navigation_response() which didn't have FIXMEs. No apparent changes on WPT.
This commit is contained in:
parent
2c7e730726
commit
310cdc35f0
Notes:
github-actions[bot]
2024-11-26 10:00:42 +00:00
Author: https://github.com/AtkinsSJ
Commit: 310cdc35f0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2575
5 changed files with 28 additions and 6 deletions
|
@ -124,6 +124,10 @@ public:
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/origin.html#one-permitted-sandboxed-navigator
|
||||
BrowsingContext const* the_one_permitted_sandboxed_navigator() const;
|
||||
void set_the_one_permitted_sandboxed_navigator(BrowsingContext const*)
|
||||
{
|
||||
// FIXME: Implement this
|
||||
}
|
||||
|
||||
bool has_navigable_been_destroyed() const;
|
||||
|
||||
|
@ -132,6 +136,9 @@ public:
|
|||
|
||||
void set_is_popup(TokenizedFeature::Popup is_popup) { m_is_popup = is_popup; }
|
||||
|
||||
SandboxingFlagSet popup_sandboxing_flag_set() const { return m_popup_sandboxing_flag_set; }
|
||||
void set_popup_sandboxing_flag_set(SandboxingFlagSet value) { m_popup_sandboxing_flag_set = value; }
|
||||
|
||||
private:
|
||||
explicit BrowsingContext(GC::Ref<Page>);
|
||||
|
||||
|
@ -151,6 +158,9 @@ private:
|
|||
// https://html.spec.whatwg.org/multipage/browsers.html#is-popup
|
||||
TokenizedFeature::Popup m_is_popup { TokenizedFeature::Popup::No };
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/browsers.html#popup-sandboxing-flag-set
|
||||
SandboxingFlagSet m_popup_sandboxing_flag_set {};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/document-sequences.html#is-auxiliary
|
||||
bool m_is_auxiliary { false };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue