1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:17:36 +00:00

LibWeb: Add state field to History

This is the "classic history API state" referenced in the current HTML
spec.
This commit is contained in:
Andrew Kaster 2023-09-27 22:39:44 -06:00 committed by Alexander Kalenik
parent 2c27b4e63c
commit 49e0466a3d
3 changed files with 17 additions and 1 deletions

View file

@ -3,7 +3,7 @@
interface History {
readonly attribute unsigned long length;
// FIXME: attribute ScrollRestoration scrollRestoration;
// FIXME: readonly attribute any state;
readonly attribute any state;
undefined go(optional long delta = 0);
undefined back();
undefined forward();