function getFixedIn()

in missing_uplifts.js [75:105]


function getFixedIn(bug) {
  let version = getVersion();

  let statuses = ["", "---", "?", "fix-optional", "affected"];
  if (getOption("wontfix")) {
    statuses.push("wontfix");
  }

  if (!statuses.includes(bug["cf_status_firefox" + version])) {
    return [];
  }

  let versionEnd = version;
  if (getOption("channel") == "beta") {
    versionEnd += 2;
  } else if (getOption("channel") == "release") {
    versionEnd += 3;
  }

  let fixedIn = [];
  for (version += 1; version <= versionEnd; version++) {
    if (
      bug["cf_status_firefox" + version] === "fixed" ||
      bug["cf_status_firefox" + version] === "verified"
    ) {
      fixedIn.push(version);
    }
  }

  return fixedIn;
}