This test often fails on buildbots and locally. I think that this is a deficiency in the test, not a real bug.
Created attachment 25379 [details] proposed fix
Comment on attachment 25379 [details] proposed fix r=me
Committed revision 38709.