diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
commit | a90a5cba08fdf6c0ceb95101c275108a152a3aed (patch) | |
tree | 532507288f3defd7f4dcf1af49698bcb76034855 /security/manager/ssl/nsITLSSocketControl.idl | |
parent | Adding debian version 126.0.1-1. (diff) | |
download | firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.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.idl | 11 |
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 |