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:
parent
5dd25b6e80
commit
c6594b73a7
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue