| Index: third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network/xhr-interception-auth-fail.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network/xhr-interception-auth-fail.html b/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network/xhr-interception-auth-fail.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4827e705d197ac00b61482b9003aaada2c59235c
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network/xhr-interception-auth-fail.html
|
| @@ -0,0 +1,29 @@
|
| +<html>
|
| +<head>
|
| +<script type="text/javascript" src="../inspector-protocol-test.js"></script>
|
| +<script type="text/javascript" src="interception-test.js"></script>
|
| +
|
| +<script>
|
| +function appendIframe()
|
| +{
|
| + var iframe = document.createElement("iframe");
|
| + iframe.src = "resources/xhr-iframe-auth-fail.html";
|
| + document.body.appendChild(iframe);
|
| +}
|
| +
|
| +function test()
|
| +{
|
| + var requestInterceptedDict = {
|
| + "xhr-iframe-auth-fail.html": InspectorTest.allowRequest,
|
| + "unauthorised.pl": InspectorTest.allowRequest,
|
| + };
|
| +
|
| + InspectorTest.startInterceptionTest(requestInterceptedDict, 1);
|
| +}
|
| +</script>
|
| +</head>
|
| +<body onload="runTest();">
|
| +<p>Tests interception of an XHR request that fails due to lack of credentials.</a>
|
| +</p>
|
| +</body>
|
| +</html>
|
|
|