mirror of
https://github.com/RGBCube/serenity
synced 2025-07-01 23:42:06 +00:00
LibWeb: Add missing properties from latest spec in SessionHistoryEntry
Adds step and document_state properties. Both will be required for further navigables spec implementation. Co-authored-by: Andreas Kling <kling@serenityos.org>
This commit is contained in:
parent
1df52ea94c
commit
aa33a3381b
2 changed files with 15 additions and 6 deletions
|
@ -4,7 +4,8 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibWeb/DOM/Document.h>
|
||||
#include <LibWeb/HTML/BrowsingContext.h>
|
||||
#include <LibWeb/HTML/DocumentState.h>
|
||||
#include <LibWeb/HTML/SessionHistoryEntry.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
@ -12,7 +13,7 @@ namespace Web::HTML {
|
|||
void SessionHistoryEntry::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(document);
|
||||
visitor.visit(document_state);
|
||||
visitor.visit(original_source_browsing_context);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue