mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Add page rendered timestamp to telemetry.
This commit is contained in:
parent
be70ee236d
commit
47077f8de9
1 changed files with 1 additions and 0 deletions
|
@ -1742,6 +1742,7 @@ function webViewerPageRendered(evt) {
|
|||
PDFJSDev.test('FIREFOX || MOZCENTRAL')) {
|
||||
PDFViewerApplication.externalServices.reportTelemetry({
|
||||
type: 'pageInfo',
|
||||
timestamp: evt.timestamp,
|
||||
});
|
||||
// It is a good time to report stream and font types.
|
||||
PDFViewerApplication.pdfDocument.getStats().then(function (stats) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue