mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 874502 part 3. Fix a11y tests to not assume synchronous window closing. r=tbsaunde
This commit is contained in:
parent
3f53c76541
commit
a568b08581
@ -216,8 +216,11 @@
|
||||
|
||||
this.mDialog.close();
|
||||
|
||||
ok(!isAccessibleInCache(dlgDoc),
|
||||
"The document accessible for '" + aURL + "' is in cache still!");
|
||||
// close() is asynchronous.
|
||||
SimpleTest.executeSoon(function() {
|
||||
ok(!isAccessibleInCache(dlgDoc),
|
||||
"The document accessible for '" + aURL + "' is in cache still!");
|
||||
});
|
||||
}
|
||||
|
||||
this.getID = function openDialogWnd_getID()
|
||||
|
@ -22,12 +22,6 @@
|
||||
src="../browser.js"></script>
|
||||
|
||||
<script type="application/javascript">
|
||||
if (navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(0, 1);
|
||||
} else {
|
||||
SimpleTest.expectAssertions(1);
|
||||
}
|
||||
|
||||
function hasTabModalPrompts() {
|
||||
try {
|
||||
return SpecialPowers.getBoolPref("prompts.tab_modal.enabled");
|
||||
|
Loading…
Reference in New Issue
Block a user