Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F35401135
enigmailMsgComposeOverlay-test.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
929 B
Subscribers
None
enigmailMsgComposeOverlay-test.js
View Options
/* global Enigmail: false, Assert: false, do_load_module: false, trustAllKeys_test: false, JSUnit: false */
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
var
window
;
var
document
;
function
trustAllKeys_test
()
{
// test functionality of trustAllKeys
Enigmail
.
msg
.
trustAllKeys
=
true
;
Enigmail
.
msg
.
tempTrustAllKeys
();
Assert
.
equal
(
Enigmail
.
msg
.
trustAllKeys
,
false
,
"check trustAllKeys is false"
);
Enigmail
.
msg
.
tempTrustAllKeys
();
Assert
.
equal
(
Enigmail
.
msg
.
trustAllKeys
,
true
,
"check trustAllKeys is true"
);
}
function
run_test
()
{
window
=
JSUnit
.
createStubWindow
();
window
.
document
=
JSUnit
.
createDOMDocument
();
document
=
window
.
document
;
do_load_module
(
"chrome://enigmail/content/enigmailMsgComposeOverlay.js"
);
trustAllKeys_test
();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 7, 5:31 PM (1 d, 3 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c5/c3/661088904e0c2daaef8f17562817
Attached To
rENIG Enigmail
Event Timeline
Log In to Comment