| Index: LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-beacon-blocked.html
|
| diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-eventsource-blocked.html b/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-beacon-blocked.html
|
| similarity index 80%
|
| copy from LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-eventsource-blocked.html
|
| copy to LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-beacon-blocked.html
|
| index 6a37bc10bee4c8177205381bf6ebaaef37a1501d..06f218b3c6dc696d25de2b75f47696cc6e58a320 100644
|
| --- a/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-eventsource-blocked.html
|
| +++ b/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-beacon-blocked.html
|
| @@ -16,12 +16,11 @@ function log(msg)
|
| }
|
|
|
| try {
|
| - var es = new EventSource("http://127.0.0.1:8000/eventsource/resources/simple-event-stream.asis");
|
| + var es = navigator.sendBeacon("http://127.0.0.1:8000/security/contentSecurityPolicy/echo-report.php");
|
| log("Fail");
|
| } catch(e) {
|
| log("Pass");
|
| }
|
| -
|
| </script>
|
| </body>
|
| </html>
|
|
|