Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Side by Side Diff: LayoutTests/http/tests/serviceworker/resources/fetch-access-control-login.html

Issue 399543002: [ServiceWorker] Make fetch() method better conformance with the spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated yhirano's comment Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <script>
2 // Set authentication info to http://localhost:8000 username2/password2
3 var xhr = new XMLHttpRequest();
4 xhr.addEventListener('load', function() {
5 window.parent.postMessage(
6 {msg: 'LOGIN FINISHED'},
7 'http://127.0.0.1:8000/serviceworker/fetch-access-control.html');
8 }, false);
9 xhr.open('GET',
10 'http://localhost:8000/serviceworker/resources/fetch-access-control.php ?Auth',
11 true,
12 'username2', 'password2');
13 xhr.send();
14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698