Fix IE8 unit test breakage introduced by #14767