loaf-window-only.worker.js (390B)
1 importScripts("/resources/testharness.js"); 2 3 test(() => { 4 assert_false(PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")); 5 }, 'PerformanceObserver should not include "long-animation-frame" in workers'); 6 7 test(() => { 8 assert_false("PerformanceLongAnimationFrameTiming" in self); 9 }, 'PerformanceLongAnimationFrameTiming should not be exposed in workers'); 10 11 done();