mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
LibWeb: Implement inform the navigation api about aborting navigation
This also requires implementing the abort the ongoing navigation AO on Navigation, which will be used from other NavigateEvent AOs.
This commit is contained in:
parent
25ffe6becb
commit
f296382e1a
5 changed files with 93 additions and 1 deletions
|
@ -62,6 +62,8 @@ public:
|
|||
|
||||
virtual ~NavigateEvent() override;
|
||||
|
||||
JS::NonnullGCPtr<DOM::AbortController> abort_controller() const { return *m_abort_controller; }
|
||||
|
||||
private:
|
||||
NavigateEvent(JS::Realm&, FlyString const& event_name, NavigateEventInit const& event_init);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue