/usr/share/xul-ext/downthemall/modules/constants.jsm is in xul-ext-downthemall 2.0.17-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | var EXPORTED_SYMBOLS = [
'PAUSED',
'RUNNING',
'FINISHING',
'COMPLETE',
'CANCELED',
'QUEUED',
'SPEED_COUNT',
'MIN_CHUNK_SIZE',
'REFRESH_FREQ',
'TOOLTIP_FREQ',
];
// Download is paused
const PAUSED = 1<<1;
// Download is running
const RUNNING = 1<<2;
// Download is finishing, but not full complete
const FINISHING = 1<<3;
// Download is complete
const COMPLETE = 1<<4;
// Download was canceled
const CANCELED = 1<<5;
// Download is queued
const QUEUED = 1<<6;
// Number of speed data points to keep
const SPEED_COUNT = 100;
// Minimal size a chunk may take
const MIN_CHUNK_SIZE = 1<<19; // 512K
// Refresh frequency
const REFRESH_FREQ = 1000;
// Tooltip refresh frequency
const TOOLTIP_FREQ = 500;
|