34long-animation-frame/
137 / 145 WPT subtests passing
- Failed
- 7
- Timed out
- 1
- Not run
- 0
- Test files
- 40
- Blocking files
- 0
Chrome none reported WPT subtests passing on the same files, none blocking, 40 without a result
Tests
40 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
loaf-basic.html 5 / 5 passingChrome —0 failedClean
5 passing subtests
- A long busy wait is a long animation frame
- A long busy wait in a requestAnimationFrame is a long animation frame
- A long busy wait split between a task and a requestAnimationFrame is a long animation frame
- ResizeObservers should create a long-frame and affect layoutStartTime
- Scripts with duration < 5ms are not included in entry.scripts
loaf-blocking-duration.html 2 / 4 passingChrome —2 failedWith failures
- ¶
FAILLoAF blockingDuration should be equivalent to long tasks: Non-rendering
Long Tasks API is not supported.
- ¶
FAILLoAF blockingDuration should be equivalent to long tasks: Rendering
Long Tasks API is not supported.
2 passing subtests
- LoAF blockingDuration adds render duration to the longest task without relying on longtask
- LoAF blockingDuration across multiple tasks in a single frame
loaf-bound-function-opaque-sanitization.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- Opaque cross-origin double-bound function name should be sanitized
loaf-buffered.html 2 / 2 passingChrome —0 failedClean
2 passing subtests
- PerformanceObserver with buffered flag can see previous long-animation-frame entries.
- Performance timeline buffer for long-animation-frame is capped at 200 entries.
loaf-container-queries.html 6 / 6 passingChrome —0 failedClean
6 passing subtests
- Container query resize triggers measurable style and layout durations
- Nested container queries trigger measurable style and layout durations
- Forced layout with container query captures style and layout separately
- Many simultaneous container query changes produce valid style and layout durations
- Repeated container query toggles accumulate forced style and layout durations
- Container query resize with ResizeObserver captures style and layout durations
loaf-cross-origin-isolated.https.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- Long animation frames report timestamps and durations in a cross-origin isolated context
loaf-duration-clamping.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- LoAF duration should be clamped even when there is no render
loaf-event-blocking-duration.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- LoAF generated by events should generate correct blockingDuration
loaf-event-listener.html 5 / 5 passingChrome —0 failedClean
5 passing subtests
- LoAF script: IMG#image.onload event-listener,
- LoAF script: IMG[src="/images/green.png"].onload event-listener,
- LoAF script: XMLHttpRequest.onload event-listener,
- Event listener invoker uses #id over [src] when both are present
- Event firing pseudo-task records all listeners and blockingDuration
loaf-first-ui-event.html 5 / 5 passingChrome —0 failedClean
5 passing subtests
- LoAF should expose firstUIEventTimestamp for click events
- LoAF should expose firstUIEventTimestamp for pointermove events
- firstUIEventTimestamp doesn't have to come from a long script
- LoAF should expose firstUIEventTimestamp for keydown events
- Non-UIEvent events do not set firstUIEventTimestamp
loaf-forced-layout-duration.html 5 / 6 passingChrome —1 failedWith failures
- ¶
FAILforcedLayoutDuration and forcedStyleAndLayoutDuration are strictly positive after heavy forced layout work
assert_greater_than: forcedLayoutDuration should be > 0 after sustained forced layout work expected a number greater than 0 but got 0
5 passing subtests
- forcedLayoutDuration attribute exists and is <= forcedStyleAndLayoutDuration
- forcedLayoutDuration is 0 when no forced layout occurs
- forcedLayoutDuration accumulates multiple forced layout recalculations
- forcedStyleDuration + forcedLayoutDuration ≈ forcedStyleAndLayoutDuration
- forcedLayoutDuration is 0 when only style recalculation is forced (no layout)
loaf-forced-style-duration.html 5 / 5 passingChrome —0 failedClean
5 passing subtests
- forcedStyleDuration attribute exists and is <= forcedStyleAndLayoutDuration
- forcedStyleDuration is 0 when no forced style recalculation occurs
- forcedStyleDuration accumulates multiple forced style recalculations
- forcedStyleDuration is part of forcedStyleAndLayoutDuration when layout is also forced
- forcedStyleDuration and forcedStyleAndLayoutDuration are strictly positive after heavy forced style work
loaf-idle.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- A long busy wait split between an idle callback and a requestAnimationFrame is a long animation frame
loaf-iframe-crossorigin.html 2 / 2 passingChrome —0 failedClean
2 passing subtests
- A long busy wait in a REMOTE_ORIGIN iframe is not a long animation frame
- A long busy wait in a HTTP_NOTSAMESITE_ORIGIN iframe is not a long animation frame
loaf-iframe-same-origin.html 2 / 2 passingChrome —0 failedClean
2 passing subtests
- A long busy wait without render in a same-origin iframe is not a long animation frame
- A long busy wait in a same-origin requestAnimationFrame is a long animation frame
loaf-iframe-self.html 3 / 3 passingChrome —0 failedClean
3 passing subtests
- frames receive own long animation frames (ORIGIN)
- frames receive own long animation frames (REMOTE_ORIGIN)
- frames receive own long animation frames (HTTP_NOTSAMESITE_ORIGIN)
loaf-layout-duration.html 7 / 8 passingChrome —1 failedWith failures
- ¶
FAILHeavy render-phase layout produces strictly positive layoutDuration
assert_greater_than: Heavy render-phase layout should produce layoutDuration > 0 expected a number greater than 0 but got 0
7 passing subtests
- layoutDuration attribute exists on PerformanceLongAnimationFrameTiming
- layoutDuration is 0 when no rendering phase occurs
- layoutDuration captures render-phase layout
- layoutDuration does not exceed frame duration
- layoutDuration does not include forced layout from scripts (tracked separately)
- layoutDuration is measured during the render phase
- layoutDuration captures layout during ResizeObserver callbacks
loaf-onmessage.html 6 / 6 passingChrome —0 failedClean
6 passing subtests
- LoAF script: Window.onmessage event-listener, onmessage from iframe - ORIGIN
- LoAF script: MessagePort.onmessage event-listener, onmessage from channel - ORIGIN
- LoAF script: Window.onmessage event-listener, onmessage from iframe - REMOTE_ORIGIN
- LoAF script: MessagePort.onmessage event-listener, onmessage from channel - REMOTE_ORIGIN
- LoAF script: Window.onmessage event-listener, onmessage from iframe - HTTP_NOTSAMESITE_ORIGIN
- LoAF script: MessagePort.onmessage event-listener, onmessage from channel - HTTP_NOTSAMESITE_ORIGIN
loaf-paint-mixin.html 0 / 1 passingChrome —1 failedExempt
Exempt from the 0.1 gate until a renderer answers geometry
the test asserts the entry's paint timing (paintTime/presentationTime) equals the frame's; a frame's paint and presentation timestamps come from the renderer that paints and presents it, and Crane presents nothing, so the PaintTimingMixin reads 0 (Paint Timing: a UA with no implementation-defined presentation time) ([ruling loaf1-8]; renderer output, not a layout box - stated to the user 11-29)
- Failing assertion
- FAIL: A LoAF that generates a frame should have paintTime/presentationTime - assert_equals: expected 366.375 but got 0
- ¶
FAILA LoAF that generates a frame should have paintTime/presentationTime
assert_equals: expected 370 but got 0
loaf-pause-duration.html 2 / 2 passingChrome —0 failedClean
2 passing subtests
- Synchronous XHR should be counted as pauseDuration
- pauseDuration is 0 when no synchronous pause occurs
loaf-pointer-without-render-iframe.html 0 / 1 passingChrome —0 failedExempt
Exempt from the 0.1 gate until a renderer answers geometry
the test clicks into a same-origin iframe through test_driver and waits for a LoAF from the iframe's pointerdown listener on body (resources/long-pointerdown.html); with no layout the hit test answers the iframe document's root element (user ruling 2026-10-27, src/html/user_input.zig hitTest), so the listener never runs and no entry comes ([ruling loaf1-8])
- Failing assertion
- TIMEOUT: Input events in iframes that don't cause a render should only create LoAF for the iframe - Test timed out
/long-animation-frame/loaf-pointer-without-render-iframe.html TIMEOUT 0 / 1
- ¶
TIMEOUTInput events in iframes that don't cause a render should only create LoAF for the iframe
Test timed out
loaf-pointer-without-render.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- Input events should create a LoAF even if they don't generate a frame
loaf-popup.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- A long busy wait in a same-origin popup is a not long animation frame
loaf-promise-scheduled-render.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- Long Animation Frame Timing: promise resolver during scheduled render
loaf-promise.html 5 / 5 passingChrome —0 failedClean
5 passing subtests
- LoAF script: Window.fetch.then resolve-promise,
- LoAF script: Response.text.then resolve-promise,
- LoAF script: Response.arrayBuffer.then resolve-promise,
- LoAF script: Response.json.then resolve-promise,
- LoAF script: Window.fetch.catch reject-promise,
loaf-script-block.html 10 / 10 passingChrome —0 failedClean
10 passing subtests
- Parser-inserted classic script should generate a long script
- Deferred classic script should generate a long script with executionStart >= startTime
- LoAF script: http://web-platform.test:8000/long-animation-frame/loaf-script-block.html module-script,
- LoAF script: http://web-platform.test:8000/long-animation-frame/resources/busy.js classic-script,
- LoAF script: http://web-platform.test:8000/long-animation-frame/resources/busy.js module-script,
- LoAF script: http://web-platform.test:8000/long-animation-frame/resources/busy.js?import module-script,
- LoAF script: data: classic-script,
- LoAF script: blob:http://web-platform.test:8000/ classic-script,
- Inline classic script has executionStart >= startTime and initial source location
- Module script has executionStart == startTime and initial source location
loaf-script-detached-window.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- Script entries report a null window once their window is detached
loaf-script-nested-callback.html 2 / 2 passingChrome —0 failedClean
2 passing subtests
- a callback inside a script block should not mask LoAFs that come afterwards
- a callback inside a script block should not mask LoAFs in a microtask
loaf-script-window-attribution.html 7 / 7 passingChrome —0 failedClean
7 passing subtests
- Scripts in this window should be self-attributed
- Scripts in subframes should be descendant-attributed
- A long busy wait in a requestAnimationFrame should not be observable by same-origin iframes
- Scripts from an ancestor window should be ancestor-attributed
- Scripts from a sibling iframe should be same-page-attributed
- Scripts from a detached iframe should have other attribution and null window
- Scripts in a same-origin grandchild nested inside a cross-origin iframe are attributed to the top-level same-origin root
loaf-source-location-redirect.html 12 / 12 passingChrome —0 failedClean
12 passing subtests
- Test script-block with classic-opaque
- Test script-block with classic-cors
- Test script-block with module
- Test user-callback with classic-opaque
- Test user-callback with classic-cors
- Test user-callback with module
- Test event-listener with classic-opaque
- Test event-listener with classic-cors
- Test event-listener with module
- Test resolve-promise with classic-opaque
- Test resolve-promise with classic-cors
- Test resolve-promise with module
loaf-source-location.html 5 / 5 passingChrome —0 failedClean
5 passing subtests
- Source location should be extracted from non-bound functions
- Source location should be extracted from bound functions
- Source location should be extracted for setTimeout
- Source location should be extracted for promises
- SourceCharPosition should be 64 for promises
loaf-stream.html 3 / 3 passingChrome —0 failedClean
3 passing subtests
- LoAF script: ReadableStreamDefaultReader.read.then resolve-promise,
- LoAF script: ReadableStreamBYOBReader.read.then resolve-promise,
- LoAF script: StreamPromise.resolve resolve-promise,
loaf-style-and-layout-duration-bounds.html 3 / 3 passingChrome —0 failedClean
3 passing subtests
- styleDuration + layoutDuration does not exceed the time between styleAndLayoutStart and paintTime
- styleDuration and layoutDuration do not include ResizeObserver callbacks
- Style and layout forced by a ResizeObserver callback are not included in styleDuration or layoutDuration
loaf-style-duration.html 9 / 10 passingChrome —1 failedWith failures
- ¶
FAILHeavy render-phase style recalculation produces strictly positive styleDuration
assert_greater_than: Heavy render-phase style recalculation should produce styleDuration > 0 expected a number greater than 0 but got 0
9 passing subtests
- styleDuration attribute exists on PerformanceLongAnimationFrameTiming
- styleDuration is 0 when no rendering phase occurs
- styleDuration captures render-phase style recalculation
- styleDuration does not exceed frame duration
- styleDuration does not include forced style from scripts (tracked separately)
- styleDuration is measured during the render phase
- styleDuration captures style recalculations during ResizeObserver callbacks
- styleDuration captures style recalculations from container queries
- styleDuration captures style recalculations from multiple ResizeObservers
loaf-supportedEntryTypes.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- supportedEntryTypes should include long-animation-frame
loaf-timeline.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- LoAF entries are available in the performance timeline
loaf-toJSON.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- Test toJSON() in PerformanceLongAnimationFrameTiming
loaf-ui-event-render-start.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- UI events should always be before renderStart but still affect blockingDuration
loaf-user-callback.html 9 / 10 passingChrome —1 failedWith failures
- ¶
FAILLoAF script: SchedulerPostTaskCallback user-callback,
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of undefined (reading 'postTask')"
9 passing subtests
- LoAF script: TimerHandler:setTimeout user-callback,
- LoAF script: TimerHandler:setInterval user-callback,
- LoAF script: FrameRequestCallback user-callback,
- LoAF script: ResizeObserverCallback user-callback,
- LoAF script: IntersectionObserverCallback user-callback,
- LoAF script: PerformanceObserverCallback user-callback,
- LoAF script: IdleRequestCallback user-callback,
- LoAF script: IdleRequestCallback user-callback, requestIdleCallback with timeout
- LoAF string TimerHandler:setTimeout has empty source location
loaf-visibility.html 2 / 2 passingChrome —0 failedClean
2 passing subtests
- Invisible windows do not report long animation frames
- Long animation frames aborted when window becomes hidden are not reported