Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  browser_child_hang.js   Sprache: JAVA

 
/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/ */

"use strict";

//
// Try to open a tab.  This provides code coverage for a few things,
// although currently there's no automated functional test of correctness:
//
// * On opt builds, when the tab is closed and the process exits, it
//   will hang for 3s and the parent will kill it after 2s.
//
// * On debug[*] builds, the parent process will wait until the
//   process exits normally; but also, on browser shutdown, the
//   preallocated content processes will block parent shutdown in
//   WillDestroyCurrentMessageLoop.
//
// [*] Also sanitizer and code coverage builds.
//

add_task(async function () {
  await BrowserTestUtils.withNewTab(
    {
      gBrowser,
      url: "https://example.com/",
      forceNewProcess: true,
    },
    async function () {
      // browser.frameLoader.remoteTab.osPid is the child pid; once we
      // have a way to get notifications about child process termination
      // events, that could be useful.
      ok(true"Browser isn't broken");
    }
  );
  // eslint-disable-next-line mozilla/no-arbitrary-setTimeout
  await new Promise(resolve => setTimeout(resolve, 4000));
  ok(true"Still running after child process (hopefully) exited");
});

Messung V0.5
C=95 H=88 G=91

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge