1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:38:10 +00:00

LibWeb: Convert navigationId from DeprecatedString to String

This commit is contained in:
Aliaksandr Kalenik 2023-04-10 12:07:24 +03:00 committed by Andreas Kling
parent 71c98546b8
commit 9f691b7fe4
7 changed files with 13 additions and 13 deletions

View file

@ -235,11 +235,11 @@ public:
HistoryHandlingBehavior history_handling = HistoryHandlingBehavior::Default,
Optional<PolicyContainer> history_policy_container = {},
DeprecatedString navigation_type = "other",
Optional<DeprecatedString> navigation_id = {},
Optional<String> navigation_id = {},
Function<void(JS::NonnullGCPtr<Fetch::Infrastructure::Response>)> process_response_end_of_body = {}) override;
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigate-fragid
WebIDL::ExceptionOr<void> navigate_to_a_fragment(AK::URL const&, HistoryHandlingBehavior, DeprecatedString navigation_id);
WebIDL::ExceptionOr<void> navigate_to_a_fragment(AK::URL const&, HistoryHandlingBehavior, String navigation_id);
// https://html.spec.whatwg.org/multipage/origin.html#one-permitted-sandboxed-navigator
BrowsingContext const* the_one_permitted_sandboxed_navigator() const;