/** Test for Bug 394769 **/
SimpleTest.waitForExplicitFinish();
function h() {
is(arguments.length, 1, "Should only have one argument");
SimpleTest.finish();
}
function g() {
is(arguments.length, 0, "Should not have lateness argument for function with delay");
setTimeout(h, 0, "arg");
}
function f() {
is(arguments.length, 0, "Should not have lateness argument for function with no delay");
setTimeout(g, 0);
}
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.