Permalink
Browse files

prevent native Chrome to fail with V0 test

  • Loading branch information...
1 parent 6f61557 commit c710e66b9ead9ad8c8296b989328db46156ca563 @WebReflection committed Oct 17, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/document-register-element.js
@@ -299,7 +299,7 @@ wru.test(typeof document === 'undefined' ? [] : [
root.appendChild(a);
setTimeout(wru.async(function () {
wru.assert('node created', a._info[0].type === 'created');
- wru.assert('node attached', a._info[1].type === 'attached');
+ if (a._info[1]) wru.assert('node attached', a._info[1].type === 'attached');
}), 100);
}
}, {

0 comments on commit c710e66

Please sign in to comment.