/** Test for Bug 1007790 **/
SimpleTest.waitForExplicitFinish();
addLoadEvent(function() {
is(frames[0].onerror.toString(), "function onerror(event, source, lineno, colno, error) {\n\n}", "Should have the right arguments for onerror on window");
is($("content").onerror.toString(), "function onerror(event) {\n\n}", "Should have the right arguments for onerror on element");
SimpleTest.finish();
});
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.