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 hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
calculate-depth-for-node.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- "Calculate depth for node" algorithm with Shadow DOM
callback-cross-realm-report-exception.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- ResizeObserver reports the exception from its callback in the callback's global object
eventloop.html 1 / 3 passingChrome —1 failedExempt
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
idlharness.window.js 48 / 49 passingChrome —1 failedWith failures
- ¶
FAILResizeObserverEntry creator
assert_equals: target width expected 5 but got 0
48 passing subtests
- idl_test setup
- idl_test validation
- Element includes ParentNode: member names are unique
- Element includes NonDocumentTypeChildNode: member names are unique
- Element includes ChildNode: member names are unique
- Element includes Slottable: member names are unique
- ResizeObserver interface: existence and properties of interface object
- ResizeObserver interface object length
- ResizeObserver interface object name
- ResizeObserver interface: existence and properties of interface prototype object
- ResizeObserver interface: existence and properties of interface prototype object's "constructor" property
- ResizeObserver interface: existence and properties of interface prototype object's @@unscopables property
- ResizeObserver interface: operation observe(Element, optional ResizeObserverOptions)
- ResizeObserver interface: operation unobserve(Element)
- ResizeObserver interface: operation disconnect()
- ResizeObserver must be primary interface of observer
- Stringification of observer
- ResizeObserver interface: observer must inherit property "observe(Element, optional ResizeObserverOptions)" with the proper type
- ResizeObserver interface: calling observe(Element, optional ResizeObserverOptions) on observer with too few arguments must throw TypeError
- ResizeObserver interface: observer must inherit property "unobserve(Element)" with the proper type
- ResizeObserver interface: calling unobserve(Element) on observer with too few arguments must throw TypeError
- ResizeObserver interface: observer must inherit property "disconnect()" with the proper type
- ResizeObserverEntry interface: existence and properties of interface object
- ResizeObserverEntry interface object length
- ResizeObserverEntry interface object name
- ResizeObserverEntry interface: existence and properties of interface prototype object
- ResizeObserverEntry interface: existence and properties of interface prototype object's "constructor" property
- ResizeObserverEntry interface: existence and properties of interface prototype object's @@unscopables property
- ResizeObserverEntry interface: attribute target
- ResizeObserverEntry interface: attribute contentRect
- ResizeObserverEntry interface: attribute borderBoxSize
- ResizeObserverEntry interface: attribute contentBoxSize
- ResizeObserverEntry interface: attribute devicePixelContentBoxSize
- ResizeObserverEntry must be primary interface of entry
- Stringification of entry
- ResizeObserverEntry interface: entry must inherit property "target" with the proper type
- ResizeObserverEntry interface: entry must inherit property "contentRect" with the proper type
- ResizeObserverEntry interface: entry must inherit property "borderBoxSize" with the proper type
- ResizeObserverEntry interface: entry must inherit property "contentBoxSize" with the proper type
- ResizeObserverEntry interface: entry must inherit property "devicePixelContentBoxSize" with the proper type
- ResizeObserverSize interface: existence and properties of interface object
- ResizeObserverSize interface object length
- ResizeObserverSize interface object name
- ResizeObserverSize interface: existence and properties of interface prototype object
- ResizeObserverSize interface: existence and properties of interface prototype object's "constructor" property
- ResizeObserverSize interface: existence and properties of interface prototype object's @@unscopables property
- ResizeObserverSize interface: attribute inlineSize
- ResizeObserverSize interface: attribute blockSize
multiple-observers-with-mutation-crash.html none reportedChrome —0 failedExempt
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.html 2 / 5 passingChrome —2 failedExempt
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
- NOT RUNguard¶
- ¶
FAILtest1: display:none triggers notification
assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
- ¶
FAILtest2: remove/appendChild trigger notification
assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
2 passing subtests
- ResizeObserver implemented
- test0: notification ordering
observe-002.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- multiple observation on same element trigger only one
observe-003.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- throw exception when observing non-element
observe-004.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- disconnect stops all notifications
observe-005.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- unobserve target stops notifications, unobserve non-observed does nothing
observe-007.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- iframe notifications
observe-008.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- callback.this
observe-017.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- observations fire once with 0x0 size for non-replaced inline elements
ordering.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- ResizeObserver and IntersectionObserver ordering
svg-with-css-box-001.html 2 / 4 passingChrome —2 failedWith failures
- ¶
FAILtest0: observe `foreignObject` SVG in HTML document
assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
- ¶
FAILtest1: observe inline SVG in HTML
assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
2 passing subtests
- ResizeObserver implemented
- guard
svg.html 1 / 12 passingChrome —9 failedExempt
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
- NOT RUNguard¶
- ¶
FAILtest0: observe svg:circle
assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
- ¶
FAILtest1: observe svg:ellipse
assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
- ¶
FAILtest2: observe svg:foreignObject
assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
- ¶
FAILtest3: observe svg:image
assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
- ¶
FAILtest4: observe svg:line
assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
- ¶
FAILtest5: observe svg:path
assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
- ¶
FAILtest6: observe svg:polygon
assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
- ¶
FAILtest7: observe svg:polyline
assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
- ¶
FAILtest8: observe svg:rect
assert_unreached: Timed out waiting for notification. (1000ms) Reached unreachable code
- ¶
TIMEOUTtest9: observe svg:text
Test timed out
1 passing subtest
- ResizeObserver implemented