aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/unittests.js
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-06-08 15:54:58 +0000
committerMaximilian Krambach <[email protected]>2018-06-08 15:54:58 +0000
commitc072675f3f2d734297a348c6de810148fb1424a2 (patch)
tree9e0ddfd642f26b6adfd793a7db9241c404bb891d /lang/js/unittests.js
parentjs: change Keyinfo timestamps into javascript date (diff)
downloadgpgme-c072675f3f2d734297a348c6de810148fb1424a2.tar.gz
gpgme-c072675f3f2d734297a348c6de810148fb1424a2.zip
js: change chunksize handling and decoding
-- * the nativeApp now sends all data in one base64-encoded string, which needs reassembly, but in a much easier way now. * there are some new performance problems now, especially with decrypting data
Diffstat (limited to 'lang/js/unittests.js')
-rw-r--r--lang/js/unittests.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/js/unittests.js b/lang/js/unittests.js
index ce1dd0c3..169e8ebc 100644
--- a/lang/js/unittests.js
+++ b/lang/js/unittests.js
@@ -339,7 +339,8 @@ function unittests (){
test0.setParameter('keys', hp.validFingerprints);
expect(test0.message).to.not.be.null;
- expect(test0.message).to.have.keys('op', 'data', 'keys');
+ expect(test0.message).to.have.keys('op', 'data', 'keys',
+ 'chunksize');
expect(test0.message.op).to.equal('encrypt');
expect(test0.message.data).to.equal(
mp.valid_encrypt_data);