summaryrefslogtreecommitdiffstats
path: root/devtools/shared/commands/resource/tests/sse_frontend.html
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/shared/commands/resource/tests/sse_frontend.html')
-rw-r--r--devtools/shared/commands/resource/tests/sse_frontend.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/shared/commands/resource/tests/sse_frontend.html b/devtools/shared/commands/resource/tests/sse_frontend.html
index 3bdddbc5bc..359aad2215 100644
--- a/devtools/shared/commands/resource/tests/sse_frontend.html
+++ b/devtools/shared/commands/resource/tests/sse_frontend.html
@@ -18,7 +18,7 @@
function openConnection() {
return new Promise(resolve => {
const es = new EventSource("sse_backend.sjs");
- es.onmessage = function (e) {
+ es.onmessage = function () {
es.close();
resolve();
};