summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/server-timing/resource_timing_idl.https.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/server-timing/resource_timing_idl.https.html')
-rw-r--r--testing/web-platform/tests/server-timing/resource_timing_idl.https.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/server-timing/resource_timing_idl.https.html b/testing/web-platform/tests/server-timing/resource_timing_idl.https.html
new file mode 100644
index 0000000000..a719a89097
--- /dev/null
+++ b/testing/web-platform/tests/server-timing/resource_timing_idl.https.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<head>
+ <meta charset='utf-8' />
+ <script src="/resources/testharness.js"></script>
+ <script src="/resources/testharnessreport.js"></script>
+ <script src="/common/performance-timeline-utils.js"></script>
+ <script>
+ setup({single_test: true})
+ delayedLoadListener(function(){
+ assert_not_equals(typeof performance.getEntriesByType('resource')[0].serverTiming, 'undefined',
+ 'An instance of `PerformanceResourceTiming` should have a `serverTiming` attribute.')
+ done()
+ })
+ </script>
+</head>