summaryrefslogtreecommitdiffstats
path: root/devtools/client/netmonitor/test/html_ws-sse-test-page.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
commitfbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch)
tree4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /devtools/client/netmonitor/test/html_ws-sse-test-page.html
parentReleasing progress-linux version 124.0.1-1~progress7.99u1. (diff)
downloadfirefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz
firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/client/netmonitor/test/html_ws-sse-test-page.html')
-rw-r--r--devtools/client/netmonitor/test/html_ws-sse-test-page.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/devtools/client/netmonitor/test/html_ws-sse-test-page.html b/devtools/client/netmonitor/test/html_ws-sse-test-page.html
index 8936efa81e..637848eea3 100644
--- a/devtools/client/netmonitor/test/html_ws-sse-test-page.html
+++ b/devtools/client/netmonitor/test/html_ws-sse-test-page.html
@@ -22,7 +22,7 @@
"ws://mochi.test:8888/browser/devtools/client/netmonitor/test/file_ws_backend"
);
- ws.onopen = e => {
+ ws.onopen = () => {
for (let i = 0; i < numFramesToSend; i++) {
ws.send("Payload " + i);
}
@@ -33,7 +33,7 @@
function closeWsConnection() {
return new Promise(resolve => {
- ws.onclose = e => {
+ ws.onclose = () => {
resolve();
};
ws.close();
@@ -48,7 +48,7 @@
function openSseConnection() {
return new Promise(resolve => {
es = new EventSource("sjs_sse-test-server.sjs");
- es.onmessage = function(e) {
+ es.onmessage = function() {
es.close();
resolve();
};