Open cdata opened 8 years ago
maybe related to https://github.com/PolymerElements/iron-selector/issues/75?
The MutationObserver that Polymer.Base.async
uses to queue microtasks is added earlier than the one that the iron-selector uses to monitor its children, so it ends up getting called first: adding a 1ms delay to the last async
call in that test (causing it to use setTimeout
) makes it pass. (JSBin showing this behavior.)
invokeLast
strikes again!
This error started occurring with the addition of ShadowDOM-specific tests.