LibWeb: Add navigable property in NavigationParams

This commit is contained in:
Aliaksandr Kalenik
2023-04-05 09:20:05 +03:00
committed by Andreas Kling
parent 0c919718ae
commit 38a2d5ead3
2 changed files with 6 additions and 0 deletions

View File

@@ -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 };