mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 874502 part 3. Fix a11y tests to not assume synchronous window closing. r=tbsaunde
This commit is contained in:
parent
f78b2f244c
commit
76af02534c
@ -216,8 +216,11 @@
|
||||
|
||||
this.mDialog.close();
|
||||
|
||||
// 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