Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F22948215
pipeConsole.jsm
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
696 B
Subscribers
None
pipeConsole.jsm
View Options
/*jshint -W097 */
/*
* 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/.
*/
"use strict";
var EXPORTED_SYMBOLS = ["EnigmailConsole"];
const MAX_SIZE = 32768;
var dataCache = "";
var gotNewData = false;
const EnigmailConsole = {
write: function(data) {
dataCache += data;
if (dataCache.length > MAX_SIZE) {
dataCache = dataCache.substr(-MAX_SIZE, MAX_SIZE);
}
gotNewData = true;
},
hasNewData: function() {
return gotNewData;
},
getData: function() {
gotNewData = false;
return dataCache;
}
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 10, 8:59 AM (1 d, 5 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
cc/29/5b5c87638bbbbd29c1bf29b3609e
Attached To
rENIG Enigmail
Event Timeline
Log In to Comment