static constructResults(cspHeaders, xfoHeaders) {
    const allowedDirectives = ['deny', 'sameorigin'];

    // Check for frame-ancestors in CSP.
    for (const cspHeader of cspHeaders) {
      if (cspHeader.includes('frame-ancestors')) {
        // Pass the audit if frame-ancestors is present.
        return {score: 1, results: []};
      }
    }

    for (const actualDirective of xfoHeaders) {
      if (allowedDirectives.includes(actualDirective)) {
        // DENY or SAMEORIGIN are present.
        return {score: 1, results: []};
      }
    }

    return {
      score: 0,
      results: [{
        severity: str_(i18n.UIStrings.itemSeverityHigh),
        description: str_(UIStrings.noClickjackingMitigation),
      }],
    };
  }
@param {string[]} cspHeaders
@param {string[]} xfoHeaders
@return {{score: number, results: LH.Audit.Details.TableItem[]}}