Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /long-animation-frame/tentative/loaf-supportedEntryTypes.html - WPT Dashboard Interop Dashboard
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>Long Animation Frame Timing: supportedEntryTypes</title>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<h1>Long Animation Frame: supportedEntryTypes</h1>
<div id="log"></div>
<script>
setup(() =>
assert_implements(window.PerformanceLongAnimationFrameTiming,
'Long animation frames are not supported.'));
test(() => {
assert_true(PerformanceObserver.supportedEntryTypes.includes("long-animation-frame"));
}, 'supportedEntryTypes should include long-animation-frame');
</script>
</body>