function redispatchinHandler(evt) {
is(evt.type, "load", "Wrong event type!");
ok(!evt.isTrusted, "Event should not be trusted!");
SimpleTest.finish();
}
function redispatch() {
ok(loadEvent.isTrusted, "Event should be trusted before redispatching!");
document.getElementById('content').dispatchEvent(loadEvent);
}
function testRedispatching(evt) {
is(evt.type, "load", "Wrong event type!");
ok(evt.isTrusted, "Event should be trusted!");
loadEvent = evt;
setTimeout(redispatch, 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.