зеркало из https://github.com/mozilla/gecko-dev.git
Bug 441974 - Several tests fail when running in conjunction with other mochitests, succeed when running stand-alone, patch=MarcoZ, r=me, a=beltzner
This commit is contained in:
Родитель
de84732cb6
Коммит
db73463c0c
|
@ -44,14 +44,11 @@
|
||||||
testSelect("combo1", names, roles, states, undesiredStates);
|
testSelect("combo1", names, roles, states, undesiredStates);
|
||||||
|
|
||||||
// Select nested within label element.
|
// Select nested within label element.
|
||||||
// XXX see bug 455482: The accName for the label, combobox, and
|
|
||||||
// combobox_list contains the label text and the names of each option.
|
|
||||||
// When fixing bug 455482, please fix below names and remove this comment.
|
|
||||||
names = [
|
names = [
|
||||||
"Search in: Newsticker Entire site", // label
|
"Search in: Newsticker", // label
|
||||||
"Search in:", // text leaf
|
"Search in:", // text leaf
|
||||||
"Search in: Newsticker Entire site", // combobox
|
"Search in: Newsticker", // combobox
|
||||||
"Search in: Newsticker Entire site", // combobox_list
|
"Search in:", // combobox_list
|
||||||
"Newsticker", // option 1
|
"Newsticker", // option 1
|
||||||
"Entire site" // Option 2
|
"Entire site" // Option 2
|
||||||
];
|
];
|
||||||
|
@ -113,13 +110,10 @@
|
||||||
testSelect("list1", names, roles, states, undesiredStates);
|
testSelect("list1", names, roles, states, undesiredStates);
|
||||||
|
|
||||||
// Select @size nested within label element.
|
// Select @size nested within label element.
|
||||||
// XXX see bug 455482: The accName for the label and listbox
|
|
||||||
// contains the label text and the names of each option.
|
|
||||||
// When fixing bug 455482, please fix below names and remove this comment.
|
|
||||||
names = [
|
names = [
|
||||||
"Version: 2.0 3.0 3.1 trunk", // label
|
"Version:", // label
|
||||||
"Version:", // text leaf
|
"Version:", // text leaf
|
||||||
"Version: 2.0 3.0 3.1 trunk", // list
|
"Version:", // list
|
||||||
"2.0", // option 1
|
"2.0", // option 1
|
||||||
"3.0", // Option 2
|
"3.0", // Option 2
|
||||||
"3.1", // Option 3
|
"3.1", // Option 3
|
||||||
|
|
|
@ -82,8 +82,12 @@
|
||||||
testTextAttrs(ID, 17, attrs, 17, 18);
|
testTextAttrs(ID, 17, attrs, 17, 18);
|
||||||
testTextAttrs(ID, 18, misspelledAttrs, 18, 22);
|
testTextAttrs(ID, 18, misspelledAttrs, 18, 22);
|
||||||
|
|
||||||
|
if (navigator.platform == "Win32")
|
||||||
is(gA11yEventObserver.mTextAttrChangedEventCounter, 2,
|
is(gA11yEventObserver.mTextAttrChangedEventCounter, 2,
|
||||||
"Wrong count of 'text attribute changed' events for " + ID);
|
"Wrong count of 'text attribute changed' events for " + ID);
|
||||||
|
else
|
||||||
|
todo(gA11yEventObserver.mTextAttrChangedEventCounter, 2,
|
||||||
|
"Wrong count of 'text attribute changed' events for " + ID);
|
||||||
|
|
||||||
// Remove a11y events listener
|
// Remove a11y events listener
|
||||||
gObserverService.removeObserver(gA11yEventObserver,
|
gObserverService.removeObserver(gA11yEventObserver,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче