l(recorded[0].removedNodes, [child1, child2]);
          recorded = [];
          ShadyDOM.unobserveChildren(observer);
          ShadyDOM.wrapIfNeeded(d).appendChild(child1);
          handler(observer.takeRecords());
          assert.deepEqual(recorded, []);
        });

        test('observeChildren via takeRecords aborts notification', function () {
          var d = document.createElement('div');
          makeShadowRootWithSlot(d);
          var recorded = null;
          var observer = ShadyDOM.obser