diff options
Diffstat (limited to 'testing/web-platform/tests/interfaces/server-timing.idl')
-rw-r--r-- | testing/web-platform/tests/interfaces/server-timing.idl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/interfaces/server-timing.idl b/testing/web-platform/tests/interfaces/server-timing.idl new file mode 100644 index 0000000000..ef2a761dfc --- /dev/null +++ b/testing/web-platform/tests/interfaces/server-timing.idl @@ -0,0 +1,17 @@ +// GENERATED CONTENT - DO NOT EDIT +// Content was automatically extracted by Reffy into webref +// (https://github.com/w3c/webref) +// Source: Server Timing (https://w3c.github.io/server-timing/) + +[Exposed=(Window,Worker)] +interface PerformanceServerTiming { + readonly attribute DOMString name; + readonly attribute DOMHighResTimeStamp duration; + readonly attribute DOMString description; + [Default] object toJSON(); +}; + +[Exposed=(Window,Worker)] +partial interface PerformanceResourceTiming { + readonly attribute FrozenArray<PerformanceServerTiming> serverTiming; +}; |