in Frontend/connect-ccp-metric-worker.js [171:184]
xhr.onreadystatechange = function() {
postMessage(xhr.responseText);
if (xhr.status = 200) {
// If successful, remove from browser memory
postMessage({type: 'contactSubmitted', contacts: data.map(a => a.contactId)});
console.log('xhr success: ');
console.log(xhr.requestId);
} else {
console.log('xhr failure: ');
console.log(xhr.requestId);
transaction.abort();
}
};