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-window-only.worker.html - WPT Dashboard Interop Dashboard
importScripts("/resources/testharness.js");
test(() => {
assert_false(PerformanceObserver.supportedEntryTypes.includes("long-animation-frame"));
}, 'PerformanceObserver should not include "long-animation-frame" in workers');
test(() => {
assert_false("PerformanceLongAnimationFrameTiming" in self);
}, 'PerformanceLongAnimationFrameTiming should not be exposed in workers');
done();