diff options
Diffstat (limited to 'testing/web-platform/tests/interfaces/event-timing.idl')
-rw-r--r-- | testing/web-platform/tests/interfaces/event-timing.idl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/interfaces/event-timing.idl b/testing/web-platform/tests/interfaces/event-timing.idl new file mode 100644 index 0000000000..741a05dc6b --- /dev/null +++ b/testing/web-platform/tests/interfaces/event-timing.idl @@ -0,0 +1,29 @@ +// GENERATED CONTENT - DO NOT EDIT +// Content was automatically extracted by Reffy into webref +// (https://github.com/w3c/webref) +// Source: Event Timing API (https://w3c.github.io/event-timing) + +[Exposed=Window] +interface PerformanceEventTiming : PerformanceEntry { + readonly attribute DOMHighResTimeStamp processingStart; + readonly attribute DOMHighResTimeStamp processingEnd; + readonly attribute boolean cancelable; + readonly attribute Node? target; + readonly attribute unsigned long long interactionId; + [Default] object toJSON(); +}; + +[Exposed=Window] +interface EventCounts { + readonly maplike<DOMString, unsigned long long>; +}; + +[Exposed=Window] +partial interface Performance { + [SameObject] readonly attribute EventCounts eventCounts; + readonly attribute unsigned long long interactionCount; +}; + +partial dictionary PerformanceObserverInit { + DOMHighResTimeStamp durationThreshold; +}; |