1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Stub out the getNimbusExperimentData method in "regular" MOZCENTRAL builds

This commit is contained in:
Jonas Jenwald 2024-01-27 13:12:54 +01:00
parent 5dd25b6e80
commit c6594b73a7

View file

@ -400,6 +400,9 @@ class ExternalServices extends BaseExternalServices {
}
async getNimbusExperimentData() {
if (typeof PDFJSDev === "undefined" || !PDFJSDev.test("GECKOVIEW")) {
return null;
}
const nimbusData = await FirefoxCom.requestAsync(
"getNimbusExperimentData",
null