Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  browser_bug1674464.js

  Sprache: JAVA
 

const DUMMY_1 =
  // eslint-disable-next-line @microsoft/sdl/no-insecure-url
  "http://example.org/browser/docshell/test/browser/dummy_page.html";
const DUMMY_2 =
  // eslint-disable-next-line @microsoft/sdl/no-insecure-url
  "http://example.com/browser/docshell/test/browser/dummy_page.html";

add_task(async function test_backAndReload() {
  await BrowserTestUtils.withNewTab(
    { gBrowser, url: DUMMY_1 },
    async function (browser) {
      await BrowserTestUtils.crashFrame(browser);

      info("Start second load.");
      BrowserTestUtils.startLoadingURIString(browser, DUMMY_2);
      await BrowserTestUtils.waitForLocationChange(gBrowser, DUMMY_2);

      browser.goBack();
      await BrowserTestUtils.waitForLocationChange(gBrowser);

      is(
        browser.browsingContext.childSessionHistory.index,
        0,
        "We should have gone back to the first page"
      );
      is(
        browser.browsingContext.childSessionHistory.count,
        2,
        "If a tab crashes after a load has finished we shouldn't have an entry for about:tabcrashed"
      );
      is(
        browser.documentURI.spec,
        DUMMY_1,
        "If a tab crashes after a load has finished we shouldn't have an entry for about:tabcrashed"
      );
    }
  );
});

Messung V0.5 in Prozent
C=90 H=95 G=92

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=141584
#Domains=752002