
Loading…
Polymer.Base.async "infinite loop" condition #1933
Owner
cdata
commented
timeu
commented
Yes I had the same issue, when I ported a rather complicated element from 0.5 to 1.0.
A JS error caused an infinite loop when it was thrown in an async callback.
Owner
arthurevans
commented
Is this a dup of #1759?
Owner
cdata
commented
@arthurevans yes, it's a dupe (sorry!). I looked for potential reports of this bug, but didn't notice #1759 for some reason. Thanks for noticing this
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please consider the following contrived usage of
Polymer.Base.async:The above example will cause the first task ("alpha") to be re-called in what is effectively an infinite loop. In order to reproduce this condition, a second task ("beta") must be queued before the first task returns, and an exception must be thrown after the second task is queued but before the first task returns.