Polymer/ShadowDOM — pull request #457 by arv (2014-06-10 14:20:28+00:00)
Title: Fix issue with event reentrancy

If an inner invoke removes a listener, the outer invoke now loops
over the stale listener length. To solve this we only clean up the
listener array when we are in the outermost invoke.