summaryrefslogtreecommitdiffstats
path: root/dom/security/test/https-only/file_upgrade_insecure.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/security/test/https-only/file_upgrade_insecure.html')
-rw-r--r--dom/security/test/https-only/file_upgrade_insecure.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/security/test/https-only/file_upgrade_insecure.html b/dom/security/test/https-only/file_upgrade_insecure.html
index 346cfbeb9c..b2d3b89e3d 100644
--- a/dom/security/test/https-only/file_upgrade_insecure.html
+++ b/dom/security/test/https-only/file_upgrade_insecure.html
@@ -55,7 +55,7 @@
);
if (AppConstants.platform !== "android") {
var mySocket = new WebSocket("ws://example.com/tests/dom/security/test/https-only/file_upgrade_insecure");
- mySocket.onopen = function(e) {
+ mySocket.onopen = function() {
if (mySocket.url.includes("wss://")) {
window.parent.postMessage({result: "websocket-ok"}, "*");
}