m[0].type, 'down');
      assert.equal(el.stream[1].detail.state, 'start');
      assert.equal(el.stream[2].detail.state, 'track');
      assert.equal(el.stream[3].detail.state, 'track');
      assert.equal(el.stream[4].type, 'up');
      assert.equal(el.stream[5].detail.state, 'end');
    });
  });
});

suite('SD Polyfill', function() {
  var el;
  setup(function(done) {
    el = document.createElement('x-document-listener');
    document.body.appendChild(el);
    afterNextRender(null, function() {
      e