chromium/chrome/test/data/chromedriver/reporting_observer.html

<html>
  <script>
    window.result = "bad result";
    var observer = new ReportingObserver(function(reports) {
        window.result = reports[0];
    }, {buffered:true});
    observer.observe();
  </script>
</html>