The 'waiting' event should only fire once when the ready state drops below HAVE_CURRENT_DATA, currently it can fire twice.
Created attachment 29131 [details] proposed patch
Comment on attachment 29131 [details] proposed patch r=me
Committed revision 42143.