Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  file_bug426646-1.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/dom/base/test/file_bug426646-1.html


<html><head>
<title>Bug 426646, Using location.replace breaks iframe history</title>
<script type="text/javascript">
var BASE_URI = "http://mochi.test:8888/tests/dom/base/test/";
var url1 = BASE_URI + "iframe1_bug426646.html";

function soon(f) {
  return function() { setTimeout(f, 0); };
}

function doe() {
  document.body.innerHTML = "<iframe src='about:blank'></iframe>";
  document.body.innerHTML += "<iframe src='about:blank'></iframe>";
  window.frames[0].frameElement.onload = soon(doe2);
  window.frames[0].location.replace(url1);
}

function doe2() {
  window.frames[0].location = 'iframe2_bug426646.html';
  window.frames[0].frameElement.onload = soon(doe3);
}

function doe3() {
  window.frames[0].frameElement.onload = soon(doe4);
  history.go(-1);
}

function doe4() {
  opener.is(String(window.frames[0].location), url1, "History.go(-1) didn't work?");
  opener.is(String(window.frames[1].location), "about:blank",
            "History.go(-1) didn't work?");
  close();
}
</script>
</head>
<body onload="doe();" onunload="opener.nextTest();">
</body></html>

Messung V0.5 in Prozent
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.27 Sekunden  (vorverarbeitet am  2026-08-27) ¤

*© 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=476070
#Domains=661743