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 here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
loaf-basic.html5 / 5 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
5 passing subtests
  1. A long busy wait is a long animation frame
  2. A long busy wait in a requestAnimationFrame is a long animation frame
  3. A long busy wait split between a task and a requestAnimationFrame is a long animation frame
  4. ResizeObservers should create a long-frame and affect layoutStartTime
  5. Scripts with duration < 5ms are not included in entry.scripts
loaf-blocking-duration.html2 / 4 passingChrome —2 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILLoAF blockingDuration should be equivalent to long tasks: Non-rendering
    Long Tasks API is not supported.
  2. FAILLoAF blockingDuration should be equivalent to long tasks: Rendering
    Long Tasks API is not supported.
2 passing subtests
  1. LoAF blockingDuration adds render duration to the longest task without relying on longtask
  2. LoAF blockingDuration across multiple tasks in a single frame
loaf-bound-function-opaque-sanitization.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Opaque cross-origin double-bound function name should be sanitized
loaf-buffered.html2 / 2 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
2 passing subtests
  1. PerformanceObserver with buffered flag can see previous long-animation-frame entries.
  2. Performance timeline buffer for long-animation-frame is capped at 200 entries.
loaf-container-queries.html6 / 6 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
6 passing subtests
  1. Container query resize triggers measurable style and layout durations
  2. Nested container queries trigger measurable style and layout durations
  3. Forced layout with container query captures style and layout separately
  4. Many simultaneous container query changes produce valid style and layout durations
  5. Repeated container query toggles accumulate forced style and layout durations
  6. Container query resize with ResizeObserver captures style and layout durations
loaf-cross-origin-isolated.https.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Long animation frames report timestamps and durations in a cross-origin isolated context
loaf-duration-clamping.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. LoAF duration should be clamped even when there is no render
loaf-event-blocking-duration.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. LoAF generated by events should generate correct blockingDuration
loaf-event-listener.html5 / 5 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
5 passing subtests
  1. LoAF script: IMG#image.onload event-listener,
  2. LoAF script: IMG[src="/images/green.png"].onload event-listener,
  3. LoAF script: XMLHttpRequest.onload event-listener,
  4. Event listener invoker uses #id over [src] when both are present
  5. Event firing pseudo-task records all listeners and blockingDuration
loaf-first-ui-event.html5 / 5 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
5 passing subtests
  1. LoAF should expose firstUIEventTimestamp for click events
  2. LoAF should expose firstUIEventTimestamp for pointermove events
  3. firstUIEventTimestamp doesn't have to come from a long script
  4. LoAF should expose firstUIEventTimestamp for keydown events
  5. Non-UIEvent events do not set firstUIEventTimestamp
loaf-forced-layout-duration.html5 / 6 passingChrome —1 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. 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
  1. forcedLayoutDuration attribute exists and is <= forcedStyleAndLayoutDuration
  2. forcedLayoutDuration is 0 when no forced layout occurs
  3. forcedLayoutDuration accumulates multiple forced layout recalculations
  4. forcedStyleDuration + forcedLayoutDuration ≈ forcedStyleAndLayoutDuration
  5. forcedLayoutDuration is 0 when only style recalculation is forced (no layout)
loaf-forced-style-duration.html5 / 5 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
5 passing subtests
  1. forcedStyleDuration attribute exists and is <= forcedStyleAndLayoutDuration
  2. forcedStyleDuration is 0 when no forced style recalculation occurs
  3. forcedStyleDuration accumulates multiple forced style recalculations
  4. forcedStyleDuration is part of forcedStyleAndLayoutDuration when layout is also forced
  5. forcedStyleDuration and forcedStyleAndLayoutDuration are strictly positive after heavy forced style work
loaf-idle.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. A long busy wait split between an idle callback and a requestAnimationFrame is a long animation frame
loaf-iframe-crossorigin.html2 / 2 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
2 passing subtests
  1. A long busy wait in a REMOTE_ORIGIN iframe is not a long animation frame
  2. A long busy wait in a HTTP_NOTSAMESITE_ORIGIN iframe is not a long animation frame
loaf-iframe-same-origin.html2 / 2 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
2 passing subtests
  1. A long busy wait without render in a same-origin iframe is not a long animation frame
  2. A long busy wait in a same-origin requestAnimationFrame is a long animation frame
loaf-iframe-self.html3 / 3 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
3 passing subtests
  1. frames receive own long animation frames (ORIGIN)
  2. frames receive own long animation frames (REMOTE_ORIGIN)
  3. frames receive own long animation frames (HTTP_NOTSAMESITE_ORIGIN)
loaf-layout-duration.html7 / 8 passingChrome —1 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. 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
  1. layoutDuration attribute exists on PerformanceLongAnimationFrameTiming
  2. layoutDuration is 0 when no rendering phase occurs
  3. layoutDuration captures render-phase layout
  4. layoutDuration does not exceed frame duration
  5. layoutDuration does not include forced layout from scripts (tracked separately)
  6. layoutDuration is measured during the render phase
  7. layoutDuration captures layout during ResizeObserver callbacks
loaf-onmessage.html6 / 6 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
6 passing subtests
  1. LoAF script: Window.onmessage event-listener, onmessage from iframe - ORIGIN
  2. LoAF script: MessagePort.onmessage event-listener, onmessage from channel - ORIGIN
  3. LoAF script: Window.onmessage event-listener, onmessage from iframe - REMOTE_ORIGIN
  4. LoAF script: MessagePort.onmessage event-listener, onmessage from channel - REMOTE_ORIGIN
  5. LoAF script: Window.onmessage event-listener, onmessage from iframe - HTTP_NOTSAMESITE_ORIGIN
  6. LoAF script: MessagePort.onmessage event-listener, onmessage from channel - HTTP_NOTSAMESITE_ORIGIN
loaf-paint-mixin.html0 / 1 passingChrome —1 failedExempt
Standing
Exempt runner status OK
Chrome
no result in the reference run

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
  1. FAILA LoAF that generates a frame should have paintTime/presentationTime
    assert_equals: expected 370 but got 0
loaf-pause-duration.html2 / 2 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
2 passing subtests
  1. Synchronous XHR should be counted as pauseDuration
  2. pauseDuration is 0 when no synchronous pause occurs
loaf-pointer-without-render-iframe.html0 / 1 passingChrome —0 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
no result in the reference run

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

  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.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Input events should create a LoAF even if they don't generate a frame
loaf-popup.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. A long busy wait in a same-origin popup is a not long animation frame
loaf-promise-scheduled-render.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Long Animation Frame Timing: promise resolver during scheduled render
loaf-promise.html5 / 5 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
5 passing subtests
  1. LoAF script: Window.fetch.then resolve-promise,
  2. LoAF script: Response.text.then resolve-promise,
  3. LoAF script: Response.arrayBuffer.then resolve-promise,
  4. LoAF script: Response.json.then resolve-promise,
  5. LoAF script: Window.fetch.catch reject-promise,
loaf-script-block.html10 / 10 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
10 passing subtests
  1. Parser-inserted classic script should generate a long script
  2. Deferred classic script should generate a long script with executionStart >= startTime
  3. LoAF script: http://web-platform.test:8000/long-animation-frame/loaf-script-block.html module-script,
  4. LoAF script: http://web-platform.test:8000/long-animation-frame/resources/busy.js classic-script,
  5. LoAF script: http://web-platform.test:8000/long-animation-frame/resources/busy.js module-script,
  6. LoAF script: http://web-platform.test:8000/long-animation-frame/resources/busy.js?import module-script,
  7. LoAF script: data: classic-script,
  8. LoAF script: blob:http://web-platform.test:8000/ classic-script,
  9. Inline classic script has executionStart >= startTime and initial source location
  10. Module script has executionStart == startTime and initial source location
loaf-script-detached-window.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Script entries report a null window once their window is detached
loaf-script-nested-callback.html2 / 2 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
2 passing subtests
  1. a callback inside a script block should not mask LoAFs that come afterwards
  2. a callback inside a script block should not mask LoAFs in a microtask
loaf-script-window-attribution.html7 / 7 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
7 passing subtests
  1. Scripts in this window should be self-attributed
  2. Scripts in subframes should be descendant-attributed
  3. A long busy wait in a requestAnimationFrame should not be observable by same-origin iframes
  4. Scripts from an ancestor window should be ancestor-attributed
  5. Scripts from a sibling iframe should be same-page-attributed
  6. Scripts from a detached iframe should have other attribution and null window
  7. 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.html12 / 12 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
12 passing subtests
  1. Test script-block with classic-opaque
  2. Test script-block with classic-cors
  3. Test script-block with module
  4. Test user-callback with classic-opaque
  5. Test user-callback with classic-cors
  6. Test user-callback with module
  7. Test event-listener with classic-opaque
  8. Test event-listener with classic-cors
  9. Test event-listener with module
  10. Test resolve-promise with classic-opaque
  11. Test resolve-promise with classic-cors
  12. Test resolve-promise with module
loaf-source-location.html5 / 5 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
5 passing subtests
  1. Source location should be extracted from non-bound functions
  2. Source location should be extracted from bound functions
  3. Source location should be extracted for setTimeout
  4. Source location should be extracted for promises
  5. SourceCharPosition should be 64 for promises
loaf-stream.html3 / 3 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
3 passing subtests
  1. LoAF script: ReadableStreamDefaultReader.read.then resolve-promise,
  2. LoAF script: ReadableStreamBYOBReader.read.then resolve-promise,
  3. LoAF script: StreamPromise.resolve resolve-promise,
loaf-style-and-layout-duration-bounds.html3 / 3 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
3 passing subtests
  1. styleDuration + layoutDuration does not exceed the time between styleAndLayoutStart and paintTime
  2. styleDuration and layoutDuration do not include ResizeObserver callbacks
  3. Style and layout forced by a ResizeObserver callback are not included in styleDuration or layoutDuration
loaf-style-duration.html9 / 10 passingChrome —1 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. 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
  1. styleDuration attribute exists on PerformanceLongAnimationFrameTiming
  2. styleDuration is 0 when no rendering phase occurs
  3. styleDuration captures render-phase style recalculation
  4. styleDuration does not exceed frame duration
  5. styleDuration does not include forced style from scripts (tracked separately)
  6. styleDuration is measured during the render phase
  7. styleDuration captures style recalculations during ResizeObserver callbacks
  8. styleDuration captures style recalculations from container queries
  9. styleDuration captures style recalculations from multiple ResizeObservers
loaf-supportedEntryTypes.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. supportedEntryTypes should include long-animation-frame
loaf-timeline.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. LoAF entries are available in the performance timeline
loaf-toJSON.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Test toJSON() in PerformanceLongAnimationFrameTiming
loaf-ui-event-render-start.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. UI events should always be before renderStart but still affect blockingDuration
loaf-user-callback.html9 / 10 passingChrome —1 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILLoAF script: SchedulerPostTaskCallback user-callback,
    promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of undefined (reading 'postTask')"
9 passing subtests
  1. LoAF script: TimerHandler:setTimeout user-callback,
  2. LoAF script: TimerHandler:setInterval user-callback,
  3. LoAF script: FrameRequestCallback user-callback,
  4. LoAF script: ResizeObserverCallback user-callback,
  5. LoAF script: IntersectionObserverCallback user-callback,
  6. LoAF script: PerformanceObserverCallback user-callback,
  7. LoAF script: IdleRequestCallback user-callback,
  8. LoAF script: IdleRequestCallback user-callback, requestIdleCallback with timeout
  9. LoAF string TimerHandler:setTimeout has empty source location
loaf-visibility.html2 / 2 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
2 passing subtests
  1. Invisible windows do not report long animation frames
  2. Long animation frames aborted when window becomes hidden are not reported

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.