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:
parent
28326165ff
commit
60b8b7a8d2
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user