mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
[Firefox] Don't send the "initPassiveLoading" message synchronously
The return value is not, nor has it ever been, used for anything and we should thus be able to just send the message. Note that the responses are already handled by the "message" event listener registered above.
This commit is contained in:
parent
f4952399a4
commit
ddebb0f954
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ class FirefoxExternalServices extends DefaultExternalServices {
|
|||
break;
|
||||
}
|
||||
});
|
||||
FirefoxCom.requestSync("initPassiveLoading", null);
|
||||
FirefoxCom.request("initPassiveLoading", null);
|
||||
}
|
||||
|
||||
static reportTelemetry(data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue