function checkSecond()
{ var iframeelem = document.getElementById('test-iframe');
second = snapshotWindow(iframeelem.contentWindow, false);
// Check that we actually reloaded.
[correct, val1, val2] = compareSnapshots(first, second, false);
ok(correct, "Image should have changed after the first reload.");
function checkThird()
{ var iframeelem = document.getElementById('test-iframe');
third = snapshotWindow(iframeelem.contentWindow, false);
// Check that we actually reloaded.
[correct, val1, val2] = compareSnapshots(second, third, false);
ok(correct, "Image should have changed after the second reload.");
// Make sure we looped back to the first image.
[correct, val1, val2] = compareSnapshots(first, third, true);
ok(correct, "Third image should match first image.");
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.