4 <title>Test for Bug
823283</title>
5 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
6 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
9 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=823283">Mozilla Bug
823283</a>
11 <div id=
"content" style=
"display: none">
12 <form id=
"f" onreset=
"window.valueOfAll = all; SimpleTest.executeSoon(finishTest); return false;">
17 SimpleTest
.waitForExplicitFinish();
20 var valueOfAll
= "initial value";
24 is(valueOfAll
, document
.all
,
25 "wrong value for |all| in event handler attribute; note that the wrong " +
26 "value may be |document.forms.f.all| in browsers with an 'all' property " +
31 window
.addEventListener("load", function() { document
.getElementById("f").reset(); });