/** Test for Bug 465263 **/
SimpleTest.waitForExplicitFinish();
addLoadEvent(function() {
window.frames[0].location.hash = '';
is(window.frames[0].location.href, "http://mochi.test:8888/#", "Should have '#' in href now");
window.frames[1].location.hash = '#';
is(window.frames[1].location.href, "http://mochi.test:8888/#", "Should have only one '#' in href");
window.frames[2].location.hash = 'foo';
is(window.frames[2].location.href, "http://mochi.test:8888/#foo", "Should have '#foo' in href");
window.frames[3].location.hash = '#foo';
is(window.frames[3].location.href, "http://mochi.test:8888/#foo", "Should have only one '#' in href here too");
SimpleTest.finish();
});
</script>
</pre>
</body>
</html>
Messung V0.5
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet)
¤
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.