mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 17:48:07 +02:00
[api-minor] Update telemetry to use 'categorical' histograms.
Firefox telemetry supports using string labels now. Convert our integers that we used for categories to just use strings. The upstream work will happen in: https://bugzilla.mozilla.org/show_bug.cgi?id=1566882
This commit is contained in:
parent
71d9f5f860
commit
31d71808e7
3 changed files with 27 additions and 25 deletions
|
@ -696,7 +696,7 @@ class Parser {
|
|||
return new CCITTFaxStream(stream, maybeLength, params);
|
||||
}
|
||||
if (name === 'RunLengthDecode' || name === 'RL') {
|
||||
xrefStreamStats[StreamType.RL] = true;
|
||||
xrefStreamStats[StreamType.RLX] = true;
|
||||
return new RunLengthStream(stream, maybeLength);
|
||||
}
|
||||
if (name === 'JBIG2Decode') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue