Bug 856712 - HTTPS certificate Visit Site/Add permanent exception buttons are not working

--HG--
extra : rebase_source : ed1bad426f17b2bbe273ea0267a8fb12d0896a47
This commit is contained in:
Rodrigo Silveira 2013-05-28 10:51:17 -07:00
parent a10b871fa2
commit 2965c4d18b

View File

@ -619,9 +619,9 @@ var Browser = {
let sslExceptions = new SSLExceptions();
if (json.action == "permanent")
sslExceptions.addPermanentException(uri, errorDoc.defaultView);
sslExceptions.addPermanentException(uri, window);
else
sslExceptions.addTemporaryException(uri, errorDoc.defaultView);
sslExceptions.addTemporaryException(uri, window);
} catch (e) {
dump("EXCEPTION handle content command: " + e + "\n" );
}