mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +00:00
282a183d55
This takes the TLS Error Reporting functionality used in the aboutNetError.xhtml and aboutCertError.xhtml error pages and moves it to its own component. This allows us to make use of this same error reporting functionality from elsewhere. Notably, this allows us to send error reports for issues that occur when loading subresources. The xpcshell test included is in security/manager/ssl/tests because we need to make use of tlsserver functionality from the PSM tests.
15 lines
531 B
Plaintext
15 lines
531 B
Plaintext
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "nsISupports.idl"
|
|
#include "nsITransportSecurityInfo.idl"
|
|
|
|
[scriptable, uuid(8a997c9a-bea1-11e5-a1fa-be6aBc8e7f8b)]
|
|
interface nsISecurityReporter : nsISupports
|
|
{
|
|
void reportTLSError(in nsITransportSecurityInfo aSecurityInfo,
|
|
in AUTF8String aHostname,
|
|
in long aPort);
|
|
};
|