function onAttached()

in src/main/resources/static/chromium-coverage.js [21:29]


  function onAttached(needsProvider=false) {
    return async function(view) {
      view.shown = await coverageClient.showPercentageColumns();

      if (needsProvider) {
        view.provider = coverageClient.provideCoveragePercentages;
      }
    };
  }