mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibWeb: Add navigable property in NavigationParams
This commit is contained in:
committed by
Andreas Kling
parent
0c919718ae
commit
38a2d5ead3
@@ -11,6 +11,7 @@
|
||||
#include <LibWeb/HTML/CrossOrigin/CrossOriginOpenerPolicy.h>
|
||||
#include <LibWeb/HTML/CrossOrigin/CrossOriginOpenerPolicyEnforcementResult.h>
|
||||
#include <LibWeb/HTML/HistoryHandlingBehavior.h>
|
||||
#include <LibWeb/HTML/Navigable.h>
|
||||
#include <LibWeb/HTML/Origin.h>
|
||||
#include <LibWeb/HTML/PolicyContainers.h>
|
||||
#include <LibWeb/HTML/SandboxingFlagSet.h>
|
||||
@@ -49,6 +50,9 @@ struct NavigationParams {
|
||||
// the browsing context to be navigated (or discarded, if a browsing context group switch occurs)
|
||||
JS::Handle<HTML::BrowsingContext> browsing_context;
|
||||
|
||||
// the navigable to be navigated
|
||||
JS::Handle<Navigable> navigable;
|
||||
|
||||
// a history handling behavior
|
||||
HistoryHandlingBehavior history_handling { HistoryHandlingBehavior::Default };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user