Skip to content
Snippets Groups Projects
Commit 3431bfeb authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Bug 30237: Add v3 onion services client authentication prompt

parent 49f52611
Branches
No related tags found
1 merge request!1049Bug 42616 (part 2): Rebased onto Firefox 128.0esr release
......@@ -232,12 +232,9 @@ var OnionAuthPrompt = {
cause === this._topics.clientAuthMissing
? Cr.NS_ERROR_TOR_ONION_SVC_MISSING_CLIENT_AUTH
: Cr.NS_ERROR_TOR_ONION_SVC_BAD_CLIENT_AUTH;
const io =
'ChromeUtils.import("resource://gre/modules/Services.jsm").Services.io';
browser.messageManager.loadFrameScript(
`data:application/javascript,${encodeURIComponent(
`docShell.displayLoadError(${errorCode}, ${io}.newURI(${JSON.stringify(
`docShell.displayLoadError(${errorCode}, Services.io.newURI(${JSON.stringify(
uri.spec
)}), undefined, undefined);`
)}`,
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment