summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/HighResolutionTime/Performance.cpp
AgeCommit message (Collapse)Author
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling
2020-11-22LibWeb: Make event dispatching spec-compliantLuke
Specification: https://dom.spec.whatwg.org/#concept-event-dispatch This also introduces shadow roots due to it being a requirement of the event dispatcher. However, it does not introduce the full shadow DOM, that can be left for future work. This changes some event dispatches which require certain attributes to be initialised to a value.
2020-09-29LibWeb: Implement performance.timeOriginAndreas Kling
This is the origin timestamp of the same monotonic clock used for the performance.now() timestamp. I got a little confused while implementing this, since the numbers are very low. That's because it uses the CLOCK_MONOTONIC system clock, which we start counting from 0 at boot. :^)
2020-09-29LibWeb: Implement performance.now()Andreas Kling
This patch introduces the HighResolutionTime namespace which is home to the Performance object (exposed via window.performance) performance.now() is currently the only function, and it returns the number of milliseconds since the window object was constructed. :^)