mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-23 15:00:40 -04:00
adding method to export credentials
This commit is contained in:
parent
c707c87cac
commit
9d2d7bde42
6 changed files with 89 additions and 11 deletions
|
@ -22,7 +22,7 @@ describe('InitialCheck', function () {
|
|||
'</body></html>'
|
||||
);
|
||||
$.PrivateBin.Alert.init();
|
||||
window.crypto = null;
|
||||
window.crypto = new WebCrypto();
|
||||
const result1 = !$.PrivateBin.InitialCheck.init(),
|
||||
result2 = !$('#errormessage').hasClass('hidden');
|
||||
clean();
|
||||
|
@ -76,7 +76,7 @@ describe('InitialCheck', function () {
|
|||
'</body></html>'
|
||||
);
|
||||
$.PrivateBin.Alert.init();
|
||||
window.crypto = null;
|
||||
window.crypto = new WebCrypto();
|
||||
const result1 = $.PrivateBin.InitialCheck.init(),
|
||||
result2 = isSecureContext === $('#httpnotice').hasClass('hidden');
|
||||
clean();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue