Merge pull request #11049 from brendandahl/telem-add-time
Add page rendered timestamp to telemetry.
This commit is contained in:
commit
e1aed05c44
@ -1742,6 +1742,7 @@ function webViewerPageRendered(evt) {
|
|||||||
PDFJSDev.test('FIREFOX || MOZCENTRAL')) {
|
PDFJSDev.test('FIREFOX || MOZCENTRAL')) {
|
||||||
PDFViewerApplication.externalServices.reportTelemetry({
|
PDFViewerApplication.externalServices.reportTelemetry({
|
||||||
type: 'pageInfo',
|
type: 'pageInfo',
|
||||||
|
timestamp: evt.timestamp,
|
||||||
});
|
});
|
||||||
// It is a good time to report stream and font types.
|
// It is a good time to report stream and font types.
|
||||||
PDFViewerApplication.pdfDocument.getStats().then(function (stats) {
|
PDFViewerApplication.pdfDocument.getStats().then(function (stats) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user