mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:08:13 +00:00
LibWeb: Update Window::open_impl()
to use navigables
This commit is contained in:
parent
1e54026269
commit
3634749d98
2 changed files with 27 additions and 42 deletions
|
@ -149,6 +149,8 @@ public:
|
|||
void set_needs_display();
|
||||
void set_needs_display(CSSPixelRect const&);
|
||||
|
||||
void set_is_popup(TokenizedFeature::Popup is_popup) { m_is_popup = is_popup; }
|
||||
|
||||
protected:
|
||||
Navigable();
|
||||
|
||||
|
@ -157,6 +159,9 @@ protected:
|
|||
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#ongoing-navigation
|
||||
Variant<Empty, Traversal, String> m_ongoing_navigation;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/browsers.html#is-popup
|
||||
TokenizedFeature::Popup m_is_popup { TokenizedFeature::Popup::No };
|
||||
|
||||
private:
|
||||
bool allowed_by_sandboxing_to_navigate(Navigable const& target, SourceSnapshotParams const&);
|
||||
TargetSnapshotParams snapshot_target_snapshot_params();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue