| Index: LayoutTests/http/tests/serviceworker/resources/fetch-access-control-login.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-access-control-login.html b/LayoutTests/http/tests/serviceworker/resources/fetch-access-control-login.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9750c6a0fc09fc33192c1464d4259436a8fd287d
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/serviceworker/resources/fetch-access-control-login.html
|
| @@ -0,0 +1,14 @@
|
| +<script>
|
| +// Set authentication info to http://localhost:8000 username2/password2
|
| +var xhr = new XMLHttpRequest();
|
| +xhr.addEventListener('load', function() {
|
| + window.parent.postMessage(
|
| + {msg: 'LOGIN FINISHED'},
|
| + 'http://127.0.0.1:8000/serviceworker/fetch-access-control.html');
|
| +}, false);
|
| +xhr.open('GET',
|
| + 'http://localhost:8000/serviceworker/resources/fetch-access-control.php?Auth',
|
| + true,
|
| + 'username2', 'password2');
|
| +xhr.send();
|
| +</script>
|
|
|