Page MenuHome GnuPG

pipeConsole.jsm
No OneTemporary

pipeConsole.jsm

/*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

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

Event Timeline