зеркало из https://github.com/mozilla/pjs.git
Bug 420541: test failures because onfocus never fires for iframe load, r=Enn
This commit is contained in:
Родитель
237251bdb8
Коммит
1f57a52827
|
@ -5,6 +5,7 @@
|
||||||
XUL Widget Test for textbox with emptyText
|
XUL Widget Test for textbox with emptyText
|
||||||
-->
|
-->
|
||||||
<window title="Textbox with emptyText test" width="500" height="600"
|
<window title="Textbox with emptyText test" width="500" height="600"
|
||||||
|
onload="window.focus();"
|
||||||
onfocus="if (!gDone) { gDone = true; doTests(); }"
|
onfocus="if (!gDone) { gDone = true; doTests(); }"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||||
<script type="application/javascript" src="/MochiKit/packed.js"></script>
|
<script type="application/javascript" src="/MochiKit/packed.js"></script>
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
XUL Widget Test for textbox type="number"
|
XUL Widget Test for textbox type="number"
|
||||||
-->
|
-->
|
||||||
<window title="Textbox type='number' test" width="500" height="600"
|
<window title="Textbox type='number' test" width="500" height="600"
|
||||||
|
onload="window.focus();"
|
||||||
onfocus="if (!gDone) { gDone = true; doTests(); }"
|
onfocus="if (!gDone) { gDone = true; doTests(); }"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||||
<script type="application/javascript" src="/MochiKit/packed.js"></script>
|
<script type="application/javascript" src="/MochiKit/packed.js"></script>
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
<?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
|
<?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
|
||||||
|
|
||||||
<window title="Tooltip Noautohide Tests"
|
<window title="Tooltip Noautohide Tests"
|
||||||
onfocus="setTimeout(runTests, 0);"
|
onload="window.focus();"
|
||||||
|
onfocus="if (!gDone) { gDone = true; setTimeout(runTests, 0); }"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||||
|
|
||||||
<script type="application/javascript" src="/MochiKit/packed.js"></script>
|
<script type="application/javascript" src="/MochiKit/packed.js"></script>
|
||||||
|
@ -21,6 +22,7 @@
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
|
var gDone = false;
|
||||||
var gChecked = false;
|
var gChecked = false;
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче