LibWeb: Add stub implementation of performance.navigation

This commit is contained in:
Colin Reeder 2024-08-01 19:50:52 -06:00 committed by Andreas Kling
commit 14267b5d63
Notes: github-actions[bot] 2024-08-04 08:39:27 +00:00
13 changed files with 123 additions and 4 deletions

View file

@ -0,0 +1,10 @@
[Exposed=Window]
interface PerformanceNavigation {
const unsigned short TYPE_NAVIGATE = 0;
const unsigned short TYPE_RELOAD = 1;
const unsigned short TYPE_BACK_FORWARD = 2;
const unsigned short TYPE_RESERVED = 255;
readonly attribute unsigned short type;
readonly attribute unsigned short redirectCount;
[Default] object toJSON();
};