mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb: Add index
and length
into HTML::History
This commit is contained in:
parent
0f8ae12d44
commit
40cbe9e72b
Notes:
sideshowbarker
2024-07-17 02:08:15 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 40cbe9e72b
Pull-request: https://github.com/SerenityOS/serenity/pull/21209
Issue: https://github.com/SerenityOS/serenity/issues/21185
Reviewed-by: https://github.com/ADKaster ✅
3 changed files with 11 additions and 10 deletions
|
@ -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&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue