v1.1.0
Firefox 17-26 iterators throw a StopIteration object to indicate "done". This normalizes it.
Source code on GitHub