CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. CONSOLE WARNING: Setting 'XMLHttpRequest.withCredentials' for synchronous requests is deprecated. Start Cross-origin XMLHttpRequest (sync), testing that cookies are not set when not sending credentials. PASS: Finished sync xhr. PASS: No cookies set. Cross-origin XMLHttpRequest (async), testing that cookies are not set when not sending credentials. PASS: Finished async xhr. PASS: No cookies set. Cross-origin XMLHttpRequest (sync), testing that cookies are set when sending credentials. PASS: Finished sync xhr. PASS: Cookie set. DONE