1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:07:45 +00:00

LibWeb: Add the PageTransitionEvent interface and fire "pageshow" events

We now fire "pageshow" events at the appropriate time during document
loading (done by the parser.)

Note that there are no corresponding "pagehide" events yet.
This commit is contained in:
Andreas Kling 2021-09-26 12:39:27 +02:00
parent 508edcd217
commit 831fdcaabc
7 changed files with 70 additions and 4 deletions

View file

@ -0,0 +1,5 @@
interface PageTransitionEvent : Event {
readonly attribute boolean persisted;
};