Sign in
webkit
/
WebKit
/
0f9dda3eb5e8bee1224032800f3b156cd5ce812d
/
.
/
LayoutTests
/
http
/
tests
/
eventsource
/
resources
/
request-existent-eventsource-error.html
blob: e7ee0b93b2aab77a02364c3119453d9924fe5ecd [
file
] [
log
] [
blame
]
<html>
<body>
<script>
function
statusTest
(
status
)
{
var
source
=
new
EventSource
(
"status-codes.py?status="
+
status
);
source
.
onerror
=
function
()
{
top
.
finish
();
}
}
statusTest
(
"404"
);
statusTest
(
"410"
);
statusTest
(
"503"
);
</script>
</body>
</html>