diff options
author | Maximilian Krambach <[email protected]> | 2018-08-01 10:51:12 +0000 |
---|---|---|
committer | Maximilian Krambach <[email protected]> | 2018-08-01 10:51:12 +0000 |
commit | 68a012deb3b501d7417778be12c88bd475a37cb5 (patch) | |
tree | 453fd5544589dbc51968f2138f7816b69ae83c66 /lang/js/BrowserTestExtension/browsertest.html | |
parent | js: fix confusion about loop in last commit (diff) | |
download | gpgme-68a012deb3b501d7417778be12c88bd475a37cb5.tar.gz gpgme-68a012deb3b501d7417778be12c88bd475a37cb5.zip |
js: make init export immutable
--
* src/index.js: The export now uses a freezed Object, which does not
allow for simply overwriting the init method by e.g. a third-party
library.
* BrowsertestExtension: Added some tests trying if decryption of bad
data properly fails
Diffstat (limited to 'lang/js/BrowserTestExtension/browsertest.html')
-rw-r--r-- | lang/js/BrowserTestExtension/browsertest.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/js/BrowserTestExtension/browsertest.html b/lang/js/BrowserTestExtension/browsertest.html index de8cd41a..a20cfe19 100644 --- a/lang/js/BrowserTestExtension/browsertest.html +++ b/lang/js/BrowserTestExtension/browsertest.html @@ -19,6 +19,7 @@ <script src="tests/encryptDecryptTest.js"></script> <script src="tests/signTest.js"></script> <script src="tests/verifyTest.js"></script> + <script src="tests/decryptTest.js"></script> <script src="tests/KeyImportExport.js"></script> <!-- run tests --> <script src="runbrowsertest.js"></script> |