lighthouse-core/test/gather/gather-runner-test.js
// Loads the page successfully in the first pass, fails with NO_FCP in the second.
Loads the page successfully in the first pass, fails with NO_FCP in the second.
Loads the page successfully in the first pass fails with NO_FCP in the second .
async gotoURL(url) {
        if (url.includes('blank')) return null;
        if (firstLoad) {
          firstLoad = false;
          return requestedUrl;
        } else {
          throw new LHError(LHError.errors.NO_FCP);
        }
      }
async gotoURL ( url ) { if ( url . includes ( 'blank' ) ) return null ; if ( firstLoad ) { firstLoad = false ; return requestedUrl ; } else { throw new LHError ( LHError . errors . NO_FCP ) ; } }
Loads the page successfully in the first pass, fails with NO_FCP in the second.
Loads the page successfully in the first pass fails with NO_FCP in the second .