forked from mirrors/gecko-dev
Bug 1800555 - Remove 471493.xhtml crash test. r=Jamie
It already has a mochitest and is probably old enough that we don't need it. Loading XUL in content with e10s enabled is not something our cache is prepared for yet. Differential Revision: https://phabricator.services.mozilla.com/D162057
This commit is contained in:
parent
26ed19454c
commit
d2a883bac9
2 changed files with 0 additions and 56 deletions
|
|
@ -1,55 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
title="bug 471493 'crash [@ nsPropertyTable::GetPropertyInternal]'"
|
||||
onload="doTest();" class="reftest-wait">
|
||||
|
||||
<script type="application/javascript">
|
||||
<![CDATA[
|
||||
function addA11yLoadEvent(accService, func) {
|
||||
function waitForDocLoad() {
|
||||
setTimeout(() => {
|
||||
let accDoc = accService.getAccessibleFor(document);
|
||||
let state = {};
|
||||
accDoc.getState(state, {});
|
||||
|
||||
if (state.value & SpecialPowers.Ci.nsIAccessibleStates.STATE_BUSY) {
|
||||
return waitForDocLoad();
|
||||
}
|
||||
setTimeout(func, 0);
|
||||
}, 0);
|
||||
}
|
||||
|
||||
waitForDocLoad();
|
||||
}
|
||||
|
||||
function doTest()
|
||||
{
|
||||
var accService = SpecialPowers.Cc["@mozilla.org/accessibilityService;1"].
|
||||
getService(SpecialPowers.Ci.nsIAccessibilityService);
|
||||
|
||||
var treecol = document.getElementById("col");
|
||||
var x = treecol.screenX;
|
||||
var y = treecol.screenY;
|
||||
|
||||
var tree = document.getElementById("tree");
|
||||
addA11yLoadEvent(accService, () => {
|
||||
var treeAcc = accService.getAccessibleFor(tree);
|
||||
treeAcc.getChildAtPoint(x + 1, y + 1);
|
||||
document.documentElement.removeAttribute("class");
|
||||
});
|
||||
}
|
||||
]]>
|
||||
</script>
|
||||
|
||||
<tree id="tree" flex="1">
|
||||
<treecols>
|
||||
<treecol id="col" flex="1" primary="true" label="column"/>
|
||||
<treecol id="scol" flex="1" label="column 2"/>
|
||||
</treecols>
|
||||
<treechildren id="treechildren"/>
|
||||
</tree>
|
||||
|
||||
</window>
|
||||
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
load 448064.xhtml # This test instantiates a11y, so be careful about adding tests before it
|
||||
skip-if(Android) load chrome://reftest/content/crashtests/accessible/tests/crashtests/471493.xhtml
|
||||
asserts-if(!browserIsRemote,2) load 884202.html
|
||||
load 1572811.html
|
||||
load 1578282.html
|
||||
|
|
|
|||
Loading…
Reference in a new issue