Skip to content

Commit

Permalink
Stub out the getNimbusExperimentData method in "regular" MOZCENTRAL…
Browse files Browse the repository at this point in the history
… builds
  • Loading branch information
Snuffleupagus committed Jan 27, 2024
1 parent 5dd25b6 commit c6594b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/firefoxcom.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6594b7

Please sign in to comment.