#4567 fix for web resource test