);
      }
      result[inner] = closers;
      return result;
    }

    runExperiment(makeHtmlString, check, newBlankObject(), finish);
  }

  function finish(result) {
    var toSatisfy = closedOnClose;
    if (toSatisfy instanceof Promise) {
      closedOnClose = sortedMultiMap(result);
      toSatisfy.satisfy();
    }
    displayJson(closedOnClose,
                document.getElementById('closed-by-close-json'));
  }

  if (closedOnClose instanceof Promise) {
    when(run, containmentStackFor, textCont