Update HTML5 legacy parsing test with randomly-sourced strings.