summaryrefslogtreecommitdiffstats
path: root/security/manager/ssl/nsITLSSocketControl.idl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /security/manager/ssl/nsITLSSocketControl.idl
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'security/manager/ssl/nsITLSSocketControl.idl')
-rw-r--r--security/manager/ssl/nsITLSSocketControl.idl11
1 files changed, 9 insertions, 2 deletions
diff --git a/security/manager/ssl/nsITLSSocketControl.idl b/security/manager/ssl/nsITLSSocketControl.idl
index a0b6e47c73..361af98faa 100644
--- a/security/manager/ssl/nsITLSSocketControl.idl
+++ b/security/manager/ssl/nsITLSSocketControl.idl
@@ -23,8 +23,15 @@ interface nsIX509Cert;
// thread (except for asyncGetSecurityInfo);
[scriptable, builtinclass, uuid(418265c8-654e-4fbb-ba62-4eed27de1f03)]
interface nsITLSSocketControl : nsISupports {
- void proxyStartSSL();
- void StartTLS();
+ [noscript] void proxyStartSSL();
+ [noscript] void StartTLS();
+
+ /**
+ * Calls StartTLS on the socket thread, and resolves with the nsresult
+ * return value of that call.
+ */
+ [implicit_jscontext,must_use]
+ Promise asyncStartTLS();
/* NPN (Next Protocol Negotiation) is a mechanism for
negotiating the protocol to be spoken inside the SSL