mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb: Implement navigate()
for Location object
This commit is contained in:
parent
5f21285337
commit
43da0701fc
Notes:
sideshowbarker
2024-07-17 02:06:40 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 43da0701fc
Pull-request: https://github.com/SerenityOS/serenity/pull/20711
2 changed files with 22 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
#include <LibWeb/Bindings/PlatformObject.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/HTML/CrossOrigin/CrossOriginPropertyDescriptorMap.h>
|
||||
#include <LibWeb/HTML/HistoryHandlingBehavior.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
|
@ -74,6 +75,7 @@ private:
|
|||
|
||||
JS::GCPtr<DOM::Document> relevant_document() const;
|
||||
AK::URL url() const;
|
||||
WebIDL::ExceptionOr<void> navigate(AK::URL, HistoryHandlingBehavior = HistoryHandlingBehavior::Default);
|
||||
|
||||
// [[CrossOriginPropertyDescriptorMap]], https://html.spec.whatwg.org/multipage/browsers.html#crossoriginpropertydescriptormap
|
||||
HTML::CrossOriginPropertyDescriptorMap m_cross_origin_property_descriptor_map;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue