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

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

Issue 333423004: moved to https://codereview.chromium.org/399543002/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: cleanup test 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 side-by-side diff with in-line comments
Download patch
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..ccb8e4f4dc73d223c51c3b2ef9e3178f5a1b78c1
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/resources/fetch-access-control-login.html
@@ -0,0 +1,13 @@
+<script>
+var xhr = new XMLHttpRequest();
+xhr.addEventListener('load', function() {
+ window.parent.postMessage(
+ {},
+ '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>

Powered by Google App Engine
This is Rietveld 408576698