mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Merge pull request #4952 from yurydelendik/telemetry
Collect More Telemetry Data
This commit is contained in:
commit
22cfcbcf8a
12 changed files with 207 additions and 24 deletions
|
@ -1570,6 +1570,12 @@ var PDFView = {
|
|||
for (i = 0, ii = this.pages.length; i < ii; ++i) {
|
||||
this.pages[i].beforePrint();
|
||||
}
|
||||
|
||||
//#if (FIREFOX || MOZCENTRAL)
|
||||
// FirefoxCom.request('reportTelemetry', JSON.stringify({
|
||||
// type: 'print'
|
||||
// }));
|
||||
//#endif
|
||||
},
|
||||
|
||||
afterPrint: function pdfViewSetupAfterPrint() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue