mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 07:22:21 +00:00
LibWeb/HTML: Inform navigation API about frame container destruction
This commit is contained in:
parent
022cd1adca
commit
6032827fe7
Notes:
github-actions[bot]
2025-04-27 11:55:11 +00:00
Author: https://github.com/shannonbooth
Commit: 6032827fe7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4487
Reviewed-by: https://github.com/trflynn89
3 changed files with 17 additions and 1 deletions
|
@ -285,7 +285,8 @@ void NavigableContainer::destroy_the_child_navigable()
|
|||
return;
|
||||
navigable->set_has_been_destroyed();
|
||||
|
||||
// FIXME: 4. Inform the navigation API about child navigable destruction given navigable.
|
||||
// 4. Inform the navigation API about child navigable destruction given navigable.
|
||||
navigable->inform_the_navigation_api_about_child_navigable_destruction();
|
||||
|
||||
// 5. Destroy a document and its descendants given navigable's active document.
|
||||
navigable->active_document()->destroy_a_document_and_its_descendants(GC::create_function(heap(), [this, navigable] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue