1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:57:35 +00:00

LibWeb: Return milliseconds from unsafe_shared_current_time()

This was incorrectly changed to returning seconds in fc5cab5, which
meant the time passed to the callbacks of requestAnimationFrame() was
wrong.
This commit is contained in:
MacDue 2024-02-04 21:14:08 +00:00 committed by Andreas Kling
parent 38855de829
commit 1d999fa780
3 changed files with 6 additions and 5 deletions

View file

@ -7,8 +7,8 @@ list instanceof PerformanceObserverEntryList: true
allEntries instanceof Array: true
allEntries.length === 3: true
allEntries[0] === startMark: true
allEntries[1] === endMark: true
allEntries[2] === measureMark: true
allEntries[1] === measureMark: true
allEntries[2] === endMark: true
markEntries instanceof Array: true
markEntries.length === 2: true
markEntries[0] === startMark: true