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

Side by Side Diff: LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-async-xhr-post.html

Issue 1253343002: [XHR] Tidy up files for testing XHR's error for mixed content check failure (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 var xhr = new XMLHttpRequest();
3 xhr.onerror = function()
4 {
5 window.opener.postMessage('done', '*');
Mike West 2015/07/27 09:09:32 Can you add a success handler which postMessages s
tyoshino (SeeGerritForStatus) 2015/07/27 09:20:01 Added!
6 };
7 xhr.open("POST", "http://127.0.0.1:8000/xmlhttprequest/resources/access-control- allow-lists.php?origin=*", true);
8 xhr.send("foo");
9 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698