INNER CODE UNIT · JavaScript

elapsedTime

mozilla/firefox-translations · extension/controller/backgroundScript.js:886

          elapsedTime = performance.now() - tDownloadStart;
          doneReading = readResponse.done;
          value = readResponse.value;

          if (doneReading) {
              break;
          }
          if (value) {
              chunks.push(value);
              receivedLength += value.length;
              sendUpdateProgress(tabId, ["updateProgress", ["downloadProgress", [`${receivedLength}`,`${contentLength}`]]]);
          } else {
            sendUpdateProgress(tabId, ["updateProgress", "nodataDownloadingEngine"]);
            return false;
          }

          if (receivedLength === contentLength) {
              doneReading = true;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…