Skip to content

undefined usePost variable won't get set correctly in object.OutQueueManager #613

Description

In the function object.OutQueueManager (src/js/out_queue.js) there is the following line:

usePost = usePost && window.XMLHttpRequest && ('withCredentials' in new XMLHttpRequest());

If usePost is set to true or false, then you get the desired outcome. Not so if for some reason usePost is undefined. Then you just get undefined.

At least give a warning that it's undefined perhaps?

Metadata

Metadata

Assignees

No one assigned

    Labels

    cla:yes[Auto generated] Snowplow Contributor License Agreement has been signed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions