Merge pull request #11049 from brendandahl/telem-add-time

Add page rendered timestamp to telemetry.
This commit is contained in:
Brendan Dahl 2019-08-06 11:53:08 -07:00 committed by GitHub
commit e1aed05c44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {