1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:47:44 +00:00

LibWeb: Add index and length into HTML::History

This commit is contained in:
Aliaksandr Kalenik 2023-09-23 22:57:04 +02:00 committed by Andrew Kaster
parent 0f8ae12d44
commit 40cbe9e72b
3 changed files with 11 additions and 10 deletions

View file

@ -27,6 +27,9 @@ public:
WebIDL::ExceptionOr<void> forward();
WebIDL::ExceptionOr<u64> length() const;
u64 m_index { 0 };
u64 m_length { 0 };
private:
History(JS::Realm&, DOM::Document&);