       navStartTsIndex++;
      }

      const taskWindowEndTs = navStartTsIndex < navStartTimestamps.length ?
        navStartTimestamps[navStartTsIndex] : traceEndTimestamp;

      if (taskWindowEndTs === lastTaskWindowEndTs) {
        // This is the case where we have two different interactive timestamps
        // with no navigationStart event between them. This is only possible
        // when two different pages are sharing the same renderer process (and
        // therefore the same renderer schedule