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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-eventsource.html

Issue 1940593002: Make sure the test finishes after EventSource loading has completed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added Access-Control-Allow-Origin http header to the test event stream. Created 4 years, 7 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
1 <script> 1 <script>
2 var es = new EventSource("http://127.0.0.1:8000/eventsource/resources/simple-eve nt-stream.asis"); 2 var es = new EventSource("http://127.0.0.1:8000/security/mixedContent/resources/ simple-event-stream.pl");
3 3 es.addEventListener("error", function() {
4 window.onload = function() {
5 if (window.opener) 4 if (window.opener)
6 window.opener.postMessage('done', '*'); 5 window.opener.postMessage('done', '*');
7 }; 6 });
8 </script> 7 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698