mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 23:28:06 +02:00
Telemetry for used stream and font types
This commit is contained in:
parent
7ac1c6b034
commit
0cd28ebfa3
11 changed files with 174 additions and 24 deletions
|
@ -630,7 +630,13 @@ var PageView = function pageView(container, id, scale,
|
|||
// FirefoxCom.request('reportTelemetry', JSON.stringify({
|
||||
// type: 'pageInfo'
|
||||
// }));
|
||||
// // TODO add stream types report here
|
||||
// // It is a good time to report stream and font types
|
||||
// PDFView.pdfDocument.getStats().then(function (stats) {
|
||||
// FirefoxCom.request('reportTelemetry', JSON.stringify({
|
||||
// type: 'documentStats',
|
||||
// stats: stats
|
||||
// }));
|
||||
// });
|
||||
//#endif
|
||||
callback();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue