The condition will never be reach since !resolvedAds will always be false.
So in case the first Ad element of a VAST is empty or it fails, it will never fallback to the next Ad element.
Issue
If any Ad element (going from top to bottom) fails to fetch xml or return empty vast, it will not fallback to next Ad Element.
Description
https://github.com/dailymotion/vast-client-js/blob/master/src/parser/vast_parser.js#L461C25-L461C25
The condition will never be reach since
!resolvedAds
will always befalse
. So in case the first Ad element of a VAST is empty or it fails, it will never fallback to the next Ad element.Issue
If any Ad element (going from top to bottom) fails to fetch xml or return empty vast, it will not fallback to next Ad Element.
Issue Link
Type