Sign in
chromium
/
devtools
/
devtools-frontend
/
main
/
.
/
test
/
e2e
/
resources
/
network
/
eventstream.html
blob: 166a4b22ee0b7a597ff09d45152097f239cee4ce [
file
] [
log
] [
blame
]
<!DOCTYPE html>
<body>
<script>
const
url
=
'event-stream.rawresponse'
const
evtSource
=
new
EventSource
(
url
);
window
.
addEventListener
(
'beforeunload'
,
()
=>
{
evtSource
.
close
()
});
</script>
</body>