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