Fix test-repeated-pause.html

This was added in 47f04828fa7fe386abcc46b14a28f43042fe2ef5 but fails. It looks
like it was somehow broken during rebasing before being merged.