LibWeb: Bring HistoryHandlingBehavior up to date with the specification

Co-Authored-By: Andrew Kaster <akaster@serenityos.org>
This commit is contained in:
Aliaksandr Kalenik 2024-03-28 12:58:43 +01:00 committed by Andreas Kling
commit 39f74d3437
Notes: sideshowbarker 2024-07-17 08:59:18 +09:00
8 changed files with 24 additions and 24 deletions

View file

@ -13,7 +13,7 @@
#include <LibWeb/Bindings/PlatformObject.h>
#include <LibWeb/Forward.h>
#include <LibWeb/HTML/CrossOrigin/CrossOriginPropertyDescriptorMap.h>
#include <LibWeb/HTML/HistoryHandlingBehavior.h>
#include <LibWeb/HTML/Navigable.h>
namespace Web::HTML {
@ -76,7 +76,7 @@ private:
JS::GCPtr<DOM::Document> relevant_document() const;
URL::URL url() const;
WebIDL::ExceptionOr<void> navigate(URL::URL, HistoryHandlingBehavior = HistoryHandlingBehavior::Default);
WebIDL::ExceptionOr<void> navigate(URL::URL, Bindings::NavigationHistoryBehavior = Bindings::NavigationHistoryBehavior::Auto);
// [[CrossOriginPropertyDescriptorMap]], https://html.spec.whatwg.org/multipage/browsers.html#crossoriginpropertydescriptormap
HTML::CrossOriginPropertyDescriptorMap m_cross_origin_property_descriptor_map;