Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
PassResizeObserver implemented
Asserts run
Pass
assert_own_property(object "[object Window]", "ResizeObserver")
    at Test.<anonymous> ( /resize-observer/eventloop.html:244:3)
Passguard
Asserts runNo asserts ran
Passtest0: multiple notifications inside same event loop
Asserts run
Pass
assert_equals(-1, -1, "start can only be called once")
    at Test.<anonymous> ( /resize-observer/resources/resizeTestHelper.js:149:7)
Pass
assert_equals(3, 3, "3 notifications")
    at Object.notify ( /resize-observer/eventloop.html:55:9)
Pass
assert_equals(2, 2, "2 notifications")
    at Object.notify ( /resize-observer/eventloop.html:65:9)
Pass
assert_equals(0, 0, "still in same loop")
    at Object.notify ( /resize-observer/eventloop.html:66:9)
Pass
assert_equals(1, 1, "1 notifications")
    at Object.notify ( /resize-observer/eventloop.html:74:9)
Pass
assert_equals(0, 0, "same loop")
    at Object.notify ( /resize-observer/eventloop.html:75:9)
Pass
assert_equals(2, 2, "2 notifications")
    at Object.notify ( /resize-observer/eventloop.html:82:9)
Pass
assert_equals(1, 1, "new loop")
    at Object.notify ( /resize-observer/eventloop.html:83:9)
Pass
assert_equals(true, true, "error was fired")
    at Object.notify ( /resize-observer/eventloop.html:84:9)
Passtest1: depths of shadow roots
Asserts run
Pass
assert_equals(-1, -1, "start can only be called once")
    at Test.<anonymous> ( /resize-observer/resources/resizeTestHelper.js:149:7)
Pass
assert_equals(5, 5, "all entries resized")
    at Object.notify ( /resize-observer/eventloop.html:131:9)
Pass
assert_equals(4, 4, "depth limited")
    at Object.notify ( /resize-observer/eventloop.html:139:9)
Pass
assert_equals(3, 3, "depth limited")
    at Object.notify ( /resize-observer/eventloop.html:147:9)
Pass
assert_equals(2, 2, "depth limited")
    at Object.notify ( /resize-observer/eventloop.html:155:9)
Pass
assert_equals(1, 1, "depth limited")
    at Object.notify ( /resize-observer/eventloop.html:163:9)
Pass
assert_equals(4, 4, "limit notifications")
    at Object.notify ( /resize-observer/eventloop.html:170:9)
Pass
assert_equals(true, true, "breached limit")
    at Object.notify ( /resize-observer/eventloop.html:171:9)
Passtest2: move target in dom while inside event loop
Asserts run
Pass
assert_equals(-1, -1, "start can only be called once")
    at Test.<anonymous> ( /resize-observer/resources/resizeTestHelper.js:149:7)
Pass
assert_equals(4, 4, "all targets observed")
    at Object.notify ( /resize-observer/eventloop.html:213:9)
Pass
assert_equals(1, 1, "b2 moved upwards")
    at Object.notify ( /resize-observer/eventloop.html:223:9)
Pass
assert_equals(Element node <div style="width: 130px;"></div>, Element node <div style="width: 130px;"></div>)
    at Object.notify ( /resize-observer/eventloop.html:224:9)
Pass
assert_equals(1, 1, "b2 moved downwards")
    at Object.notify ( /resize-observer/eventloop.html:234:9)
Pass
assert_equals(Element node <div style="width: 130px;"></div>, Element node <div style="width: 130px;"></div>)
    at Object.notify ( /resize-observer/eventloop.html:235:9)