Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Tests failing on IE11 #184

Closed
sorvell opened this issue Aug 11, 2014 · 5 comments
Closed

Tests failing on IE11 #184

sorvell opened this issue Aug 11, 2014 · 5 comments
Labels

Comments

@sorvell
Copy link
Contributor

sorvell commented Aug 11, 2014

The Update Ref test fails. Fwiw, I did notice that if I put a setTimeout, 0 around the failing assert, the test passes.

@jmesserly
Copy link
Contributor

It looks like setTimeout 0 is firing before (native) MutationObservers in IE11... which should be impossible...

@sorvell
Copy link
Contributor Author

sorvell commented Aug 11, 2014

Ug, I was afraid it might be something like that. Ideally if we can make a small repro we can post an IE issue and then workaround the bug in the test.

@jmesserly
Copy link
Contributor

ah. was chatting with arv & he confirmed that IE doesn't have microtasks. Sadness!

I'll put in a workaround for now. Fortunately, I don't think this will show up in typical Polymer apps, since Shadow DOM Polyfill includes a MutationObserver polyfill, which respects the order better. (That also explains why we didn't see this failure elsewhere.) Of course, something to keep in mind if we optimize SD polyfill to use native M.O. when possible.

@sorvell
Copy link
Contributor Author

sorvell commented Aug 13, 2014

That's sad but sounds reasonable. Thanks @jmesserly.

@jmesserly
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants