// Spin the event loop so we exit the onload handler.
SimpleTest.executeSoon(function() { gGen.next(); });
yield undefined;
let origLocation = iframe.location + "";
callbackOnHashchange = true; iframe.location.hash = "#1";
// Wait for a hashchange event.
yield undefined;
ok(true, "Got hashchange.");
iframe.location = origLocation;
// This should produce a load event and *not* a hashchange, because the
// result of the load is a different document than we had previously.
callbackOnLoad = true;
errorOnHashchange = true;
yield undefined;
ok(true, "Got final load.");
// Spin the event loop to give hashchange a chance to fire, if it's going to.
SimpleTest.executeSoon(function() { gGen.next(); });
yield undefined;
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 ist noch experimentell.