Tests interception of an XHR request that fails due to lack of credentials. Test started Network agent enabled Request interception enabled Page agent enabled Runtime agent enabled Network.requestIntercepted ID 1 GET xhr-iframe-auth-fail.html type: Document allowRequest ID 1 Network.responseReceived xhr-iframe-auth-fail.html 200 text/html Network.requestIntercepted ID 2 GET unauthorised.pl type: XHR allowRequest ID 2 Auth required for ID 2 ----- Use Default Auth ----- Network.responseReceived unauthorised.pl 401 text/plain Page.frameStoppedLoading xhr.status = 401