Skip to content

Race condition? VASTClient.getVASTAd.validateAd #17

@lpender

Description

@lpender

FlashTester.js has a probable race condition.

When I run my site in Chrome, about 40% of the time I receive this:

AD ERROR: VAST Error: on VASTClient.getVASTAd.validateAd, could not find MediaFile that is supported by this video player VASTError Array[1]

However, if I step through the constructor of FlashTester.js, the SWF loads successfully 100% of the time.

Here are the actual results of a recent test:

no step through

1: works
2: fails
3: works
4: fails
5: works
6: works
7: fails
8: works
9: fails
10: works

step through

1: works
2: works
3: works
4: works
5: works
6: works
7: works
8: works
9: works
10: works

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions