45resize-observer/

64 / 83 WPT subtests passing

Failed
15
Timed out
1
Not run
3
Test files
16
Blocking files
0

Chrome none reported WPT subtests passing on the same files, none blocking, 16 without a result

Tests

16 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
calculate-depth-for-node.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. "Calculate depth for node" algorithm with Shadow DOM
callback-cross-realm-report-exception.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. ResizeObserver reports the exception from its callback in the callback's global object
eventloop.html1 / 3 passingChrome —1 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
no result in the reference run

Exempt from the 0.1 gate until a renderer answers geometry

test0 observes three nested divs, takes the initial notification, then sets each one's style.width to 101px and waits for the second notification; with no layout box every observed size stays 0x0 (platform.layoutBox answers nothing), so no resize is seen, the wait times out, and the helper's chain stops (its next step_timeout runs on the finished test), leaving test1, test2 and guard unrun and the file TIMEOUT

Failing assertion
test0: multiple notifications inside same event loop: assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code

/resize-observer/eventloop.html TIMEOUT 1 / 3

  1. NOT RUNguard
  2. FAILtest0: multiple notifications inside same event loop
    assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
1 passing subtest
  1. ResizeObserver implemented
idlharness.window.js48 / 49 passingChrome —1 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILResizeObserverEntry creator
    assert_equals: target width expected 5 but got 0
48 passing subtests
  1. idl_test setup
  2. idl_test validation
  3. Element includes ParentNode: member names are unique
  4. Element includes NonDocumentTypeChildNode: member names are unique
  5. Element includes ChildNode: member names are unique
  6. Element includes Slottable: member names are unique
  7. ResizeObserver interface: existence and properties of interface object
  8. ResizeObserver interface object length
  9. ResizeObserver interface object name
  10. ResizeObserver interface: existence and properties of interface prototype object
  11. ResizeObserver interface: existence and properties of interface prototype object's "constructor" property
  12. ResizeObserver interface: existence and properties of interface prototype object's @@unscopables property
  13. ResizeObserver interface: operation observe(Element, optional ResizeObserverOptions)
  14. ResizeObserver interface: operation unobserve(Element)
  15. ResizeObserver interface: operation disconnect()
  16. ResizeObserver must be primary interface of observer
  17. Stringification of observer
  18. ResizeObserver interface: observer must inherit property "observe(Element, optional ResizeObserverOptions)" with the proper type
  19. ResizeObserver interface: calling observe(Element, optional ResizeObserverOptions) on observer with too few arguments must throw TypeError
  20. ResizeObserver interface: observer must inherit property "unobserve(Element)" with the proper type
  21. ResizeObserver interface: calling unobserve(Element) on observer with too few arguments must throw TypeError
  22. ResizeObserver interface: observer must inherit property "disconnect()" with the proper type
  23. ResizeObserverEntry interface: existence and properties of interface object
  24. ResizeObserverEntry interface object length
  25. ResizeObserverEntry interface object name
  26. ResizeObserverEntry interface: existence and properties of interface prototype object
  27. ResizeObserverEntry interface: existence and properties of interface prototype object's "constructor" property
  28. ResizeObserverEntry interface: existence and properties of interface prototype object's @@unscopables property
  29. ResizeObserverEntry interface: attribute target
  30. ResizeObserverEntry interface: attribute contentRect
  31. ResizeObserverEntry interface: attribute borderBoxSize
  32. ResizeObserverEntry interface: attribute contentBoxSize
  33. ResizeObserverEntry interface: attribute devicePixelContentBoxSize
  34. ResizeObserverEntry must be primary interface of entry
  35. Stringification of entry
  36. ResizeObserverEntry interface: entry must inherit property "target" with the proper type
  37. ResizeObserverEntry interface: entry must inherit property "contentRect" with the proper type
  38. ResizeObserverEntry interface: entry must inherit property "borderBoxSize" with the proper type
  39. ResizeObserverEntry interface: entry must inherit property "contentBoxSize" with the proper type
  40. ResizeObserverEntry interface: entry must inherit property "devicePixelContentBoxSize" with the proper type
  41. ResizeObserverSize interface: existence and properties of interface object
  42. ResizeObserverSize interface object length
  43. ResizeObserverSize interface object name
  44. ResizeObserverSize interface: existence and properties of interface prototype object
  45. ResizeObserverSize interface: existence and properties of interface prototype object's "constructor" property
  46. ResizeObserverSize interface: existence and properties of interface prototype object's @@unscopables property
  47. ResizeObserverSize interface: attribute inlineSize
  48. ResizeObserverSize interface: attribute blockSize
multiple-observers-with-mutation-crash.htmlnone reportedChrome —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

Crane delivers each ResizeObserver's initial observation (0x0 without a layout box; probe: ["0x0"]); the test then waits for a second observation of the iframe's inner_element after its body's width changes to 200px - a change of the element's box size that only layout computes - so the crashtest never finishes (Chrome, Firefox and Safari PASS at 2358bd4835)

Failing assertion
TIMEOUT: Crashtest did not finish (load, then test-wait) within 10000ms

Harness message

Crashtest did not finish (load, then test-wait) within 10000ms

/resize-observer/multiple-observers-with-mutation-crash.html TIMEOUT none reported

Crashtest did not finish (load, then test-wait) within 10000ms

No subtests were reported.

notify.html2 / 5 passingChrome —2 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
no result in the reference run

Exempt from the 0.1 gate until a renderer answers geometry

test1 (display:none) and test2 (removeChild/appendChild) wait for the notification a 100x100 box going to no box sends; with no layout box the target is 0x0 before and after, so neither change is a resize, both waits time out, and test2's stalled chain leaves test3-test12 and guard unrun and the file TIMEOUT

Failing assertion
test1: display:none triggers notification: assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code

/resize-observer/notify.html TIMEOUT 2 / 5

  1. NOT RUNguard
  2. FAILtest1: display:none triggers notification
    assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
  3. FAILtest2: remove/appendChild trigger notification
    assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
2 passing subtests
  1. ResizeObserver implemented
  2. test0: notification ordering
observe-002.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. multiple observation on same element trigger only one
observe-003.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. throw exception when observing non-element
observe-004.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. disconnect stops all notifications
observe-005.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. unobserve target stops notifications, unobserve non-observed does nothing
observe-007.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. iframe notifications
observe-008.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. callback.this
observe-017.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. observations fire once with 0x0 size for non-replaced inline elements
ordering.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. ResizeObserver and IntersectionObserver ordering
svg-with-css-box-001.html2 / 4 passingChrome —2 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILtest0: observe `foreignObject` SVG in HTML document
    assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
  2. FAILtest1: observe inline SVG in HTML
    assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
2 passing subtests
  1. ResizeObserver implemented
  2. guard
svg.html1 / 12 passingChrome —9 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
no result in the reference run

Exempt from the 0.1 gate until a renderer answers geometry

each test observes an SVG element, takes the initial notification, then changes an attribute that moves its bounding box (circle r, ellipse rx, rect width, text font-size, ...) and waits for the second notification; with no layout box every SVG bounding box stays 0x0, so each wait times out (1 s per test) until the harness timeout ends test9 and leaves test10-test17 and guard unrun

Failing assertion
test0: observe svg:circle: assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code

/resize-observer/svg.html TIMEOUT 1 / 12

  1. NOT RUNguard
  2. FAILtest0: observe svg:circle
    assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
  3. FAILtest1: observe svg:ellipse
    assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
  4. FAILtest2: observe svg:foreignObject
    assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
  5. FAILtest3: observe svg:image
    assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
  6. FAILtest4: observe svg:line
    assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
  7. FAILtest5: observe svg:path
    assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
  8. FAILtest6: observe svg:polygon
    assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
  9. FAILtest7: observe svg:polyline
    assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
  10. FAILtest8: observe svg:rect
    assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
  11. TIMEOUTtest9: observe svg:text
    Test timed out
1 passing subtest
  1. ResizeObserver implemented

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.