Add timestamp to the page rendered event.

This is needed to track rendering time in Firefox's talos performance
framework. See https://bugzilla.mozilla.org/show_bug.cgi?id=1565680
This commit is contained in:
Brendan Dahl 2019-07-12 14:08:23 -07:00
parent 28326165ff
commit 60b8b7a8d2

View File

@ -222,6 +222,7 @@ class PDFPageView {
source: this,
pageNumber: this.id,
cssTransform: true,
timestamp: performance.now(),
});
return;
}
@ -245,6 +246,7 @@ class PDFPageView {
source: this,
pageNumber: this.id,
cssTransform: true,
timestamp: performance.now(),
});
return;
}
@ -456,6 +458,7 @@ class PDFPageView {
source: this,
pageNumber: this.id,
cssTransform: false,
timestamp: performance.now(),
});
if (error) {