mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
b806cbda1f
Differential Revision: https://phabricator.services.mozilla.com/D49355 --HG-- rename : accessible/tests/browser/states/test_deck_has_out_of_process_iframe.xul => accessible/tests/browser/states/test_deck_has_out_of_process_iframe.xhtml rename : accessible/tests/crashtests/471493.xul => accessible/tests/crashtests/471493.xhtml rename : accessible/tests/crashtests/last_test_to_unload_testsuite.xul => accessible/tests/crashtests/last_test_to_unload_testsuite.xhtml rename : accessible/tests/mochitest/actions/test_general.xul => accessible/tests/mochitest/actions/test_general.xhtml rename : accessible/tests/mochitest/actions/test_keys_menu.xul => accessible/tests/mochitest/actions/test_keys_menu.xhtml rename : accessible/tests/mochitest/actions/test_tree.xul => accessible/tests/mochitest/actions/test_tree.xhtml rename : accessible/tests/mochitest/actions/test_treegrid.xul => accessible/tests/mochitest/actions/test_treegrid.xhtml rename : accessible/tests/mochitest/attributes/test_obj_css.xul => accessible/tests/mochitest/attributes/test_obj_css.xhtml rename : accessible/tests/mochitest/attributes/test_obj_group.xul => accessible/tests/mochitest/attributes/test_obj_group.xhtml rename : accessible/tests/mochitest/attributes/test_obj_group_tree.xul => accessible/tests/mochitest/attributes/test_obj_group_tree.xhtml rename : accessible/tests/mochitest/elm/test_listbox.xul => accessible/tests/mochitest/elm/test_listbox.xhtml rename : accessible/tests/mochitest/events/test_focus_autocomplete.xul => accessible/tests/mochitest/events/test_focus_autocomplete.xhtml rename : accessible/tests/mochitest/events/test_focus_contextmenu.xul => accessible/tests/mochitest/events/test_focus_contextmenu.xhtml rename : accessible/tests/mochitest/events/test_focus_general.xul => accessible/tests/mochitest/events/test_focus_general.xhtml rename : accessible/tests/mochitest/events/test_focus_listcontrols.xul => accessible/tests/mochitest/events/test_focus_listcontrols.xhtml rename : accessible/tests/mochitest/events/test_focus_menu.xul => accessible/tests/mochitest/events/test_focus_menu.xhtml rename : accessible/tests/mochitest/events/test_focus_tabbox.xul => accessible/tests/mochitest/events/test_focus_tabbox.xhtml rename : accessible/tests/mochitest/events/test_focus_tree.xul => accessible/tests/mochitest/events/test_focus_tree.xhtml rename : accessible/tests/mochitest/events/test_label.xul => accessible/tests/mochitest/events/test_label.xhtml rename : accessible/tests/mochitest/events/test_menu.xul => accessible/tests/mochitest/events/test_menu.xhtml rename : accessible/tests/mochitest/events/test_namechange.xul => accessible/tests/mochitest/events/test_namechange.xhtml rename : accessible/tests/mochitest/events/test_scroll.xul => accessible/tests/mochitest/events/test_scroll.xhtml rename : accessible/tests/mochitest/events/test_scroll_caret.xul => accessible/tests/mochitest/events/test_scroll_caret.xhtml rename : accessible/tests/mochitest/events/test_selection.xul => accessible/tests/mochitest/events/test_selection.xhtml rename : accessible/tests/mochitest/events/test_tree.xul => accessible/tests/mochitest/events/test_tree.xhtml rename : accessible/tests/mochitest/focus/test_focus_radio.xul => accessible/tests/mochitest/focus/test_focus_radio.xhtml rename : accessible/tests/mochitest/focus/test_takeFocus.xul => accessible/tests/mochitest/focus/test_takeFocus.xhtml rename : accessible/tests/mochitest/hittest/test_menu.xul => accessible/tests/mochitest/hittest/test_menu.xhtml rename : accessible/tests/mochitest/hittest/test_zoom_tree.xul => accessible/tests/mochitest/hittest/test_zoom_tree.xhtml rename : accessible/tests/mochitest/hittest/zoom_tree.xul => accessible/tests/mochitest/hittest/zoom_tree.xhtml rename : accessible/tests/mochitest/hyperlink/test_general.xul => accessible/tests/mochitest/hyperlink/test_general.xhtml rename : accessible/tests/mochitest/name/test_browserui.xul => accessible/tests/mochitest/name/test_browserui.xhtml rename : accessible/tests/mochitest/name/test_general.xul => accessible/tests/mochitest/name/test_general.xhtml rename : accessible/tests/mochitest/name/test_tree.xul => accessible/tests/mochitest/name/test_tree.xhtml rename : accessible/tests/mochitest/relations/test_embeds.xul => accessible/tests/mochitest/relations/test_embeds.xhtml rename : accessible/tests/mochitest/relations/test_general.xul => accessible/tests/mochitest/relations/test_general.xhtml rename : accessible/tests/mochitest/relations/test_tabbrowser.xul => accessible/tests/mochitest/relations/test_tabbrowser.xhtml rename : accessible/tests/mochitest/relations/test_tree.xul => accessible/tests/mochitest/relations/test_tree.xhtml rename : accessible/tests/mochitest/role/test_aria.xul => accessible/tests/mochitest/role/test_aria.xhtml rename : accessible/tests/mochitest/role/test_general.xul => accessible/tests/mochitest/role/test_general.xhtml rename : accessible/tests/mochitest/selectable/test_listbox.xul => accessible/tests/mochitest/selectable/test_listbox.xhtml rename : accessible/tests/mochitest/selectable/test_menu.xul => accessible/tests/mochitest/selectable/test_menu.xhtml rename : accessible/tests/mochitest/selectable/test_menulist.xul => accessible/tests/mochitest/selectable/test_menulist.xhtml rename : accessible/tests/mochitest/selectable/test_tabs.xul => accessible/tests/mochitest/selectable/test_tabs.xhtml rename : accessible/tests/mochitest/selectable/test_tree.xul => accessible/tests/mochitest/selectable/test_tree.xhtml rename : accessible/tests/mochitest/states/test_aria.xul => accessible/tests/mochitest/states/test_aria.xhtml rename : accessible/tests/mochitest/states/test_controls.xul => accessible/tests/mochitest/states/test_controls.xhtml rename : accessible/tests/mochitest/states/test_expandable.xul => accessible/tests/mochitest/states/test_expandable.xhtml rename : accessible/tests/mochitest/states/test_popup.xul => accessible/tests/mochitest/states/test_popup.xhtml rename : accessible/tests/mochitest/states/test_tabs.xul => accessible/tests/mochitest/states/test_tabs.xhtml rename : accessible/tests/mochitest/states/test_textbox.xul => accessible/tests/mochitest/states/test_textbox.xhtml rename : accessible/tests/mochitest/states/test_tree.xul => accessible/tests/mochitest/states/test_tree.xhtml rename : accessible/tests/mochitest/states/test_visibility.xul => accessible/tests/mochitest/states/test_visibility.xhtml rename : accessible/tests/mochitest/table/test_headers_tree.xul => accessible/tests/mochitest/table/test_headers_tree.xhtml rename : accessible/tests/mochitest/table/test_indexes_tree.xul => accessible/tests/mochitest/table/test_indexes_tree.xhtml rename : accessible/tests/mochitest/table/test_sels_tree.xul => accessible/tests/mochitest/table/test_sels_tree.xhtml rename : accessible/tests/mochitest/table/test_struct_tree.xul => accessible/tests/mochitest/table/test_struct_tree.xhtml rename : accessible/tests/mochitest/text/test_general.xul => accessible/tests/mochitest/text/test_general.xhtml rename : accessible/tests/mochitest/tree/test_applicationacc.xul => accessible/tests/mochitest/tree/test_applicationacc.xhtml rename : accessible/tests/mochitest/tree/test_button.xul => accessible/tests/mochitest/tree/test_button.xhtml rename : accessible/tests/mochitest/tree/test_combobox.xul => accessible/tests/mochitest/tree/test_combobox.xhtml rename : accessible/tests/mochitest/tree/test_formctrl.xul => accessible/tests/mochitest/tree/test_formctrl.xhtml rename : accessible/tests/mochitest/tree/test_groupbox.xul => accessible/tests/mochitest/tree/test_groupbox.xhtml rename : accessible/tests/mochitest/tree/test_image.xul => accessible/tests/mochitest/tree/test_image.xhtml rename : accessible/tests/mochitest/tree/test_tabbox.xul => accessible/tests/mochitest/tree/test_tabbox.xhtml rename : accessible/tests/mochitest/tree/test_tabbrowser.xul => accessible/tests/mochitest/tree/test_tabbrowser.xhtml rename : accessible/tests/mochitest/tree/test_tree.xul => accessible/tests/mochitest/tree/test_tree.xhtml rename : accessible/tests/mochitest/tree/test_txtctrl.xul => accessible/tests/mochitest/tree/test_txtctrl.xhtml rename : accessible/tests/mochitest/tree/wnd.xul => accessible/tests/mochitest/tree/wnd.xhtml rename : accessible/tests/mochitest/treeupdate/test_contextmenu.xul => accessible/tests/mochitest/treeupdate/test_contextmenu.xhtml rename : accessible/tests/mochitest/treeupdate/test_deck.xul => accessible/tests/mochitest/treeupdate/test_deck.xhtml rename : accessible/tests/mochitest/treeupdate/test_listbox.xul => accessible/tests/mochitest/treeupdate/test_listbox.xhtml rename : accessible/tests/mochitest/treeupdate/test_menu.xul => accessible/tests/mochitest/treeupdate/test_menu.xhtml rename : accessible/tests/mochitest/treeupdate/test_menubutton.xul => accessible/tests/mochitest/treeupdate/test_menubutton.xhtml rename : accessible/tests/mochitest/treeupdate/test_shutdown.xul => accessible/tests/mochitest/treeupdate/test_shutdown.xhtml extra : moz-landing-system : lando
74 lines
2.1 KiB
HTML
74 lines
2.1 KiB
HTML
<?xml version="1.0"?>
|
|
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
|
|
type="text/css"?>
|
|
|
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
title="Accessible Application Accessible hierarchy tests">
|
|
|
|
<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
|
|
|
|
<script type="application/javascript"
|
|
src="../common.js" />
|
|
<script type="application/javascript"
|
|
src="../role.js" />
|
|
|
|
<script type="application/javascript">
|
|
<![CDATA[
|
|
////////////////////////////////////////////////////////////////////////////
|
|
// Test
|
|
|
|
// Note: bug 560239 can be tested if this test runs in standalone mode only.
|
|
|
|
var gURL = "../tree/wnd.xhtml"
|
|
var gWnd = window.openDialog(gURL, "wnd", "chrome,width=600,height=600");
|
|
|
|
function doTest()
|
|
{
|
|
// Application accessible should contain two root document accessibles,
|
|
// one is for browser window, another one is for open dialog window.
|
|
var accTree = {
|
|
role: ROLE_APP_ROOT,
|
|
children: [
|
|
{
|
|
role: ROLE_CHROME_WINDOW,
|
|
name: "Accessibility Chrome Test Harness - Minefield"
|
|
},
|
|
{
|
|
role: ROLE_CHROME_WINDOW,
|
|
name: "Empty Window"
|
|
}
|
|
]
|
|
};
|
|
testAccessibleTree(getApplicationAccessible(), accTree);
|
|
|
|
gWnd.close();
|
|
|
|
SimpleTest.finish()
|
|
}
|
|
|
|
SimpleTest.waitForExplicitFinish();
|
|
|
|
// We need to open dialog window before accessibility is started.
|
|
addLoadEvent(doTest);
|
|
]]>
|
|
</script>
|
|
|
|
<hbox flex="1" style="overflow: auto;">
|
|
<body xmlns="http://www.w3.org/1999/xhtml">
|
|
<a target="_blank"
|
|
href="https://bugzilla.mozilla.org/show_bug.cgi?id=560239"
|
|
title="no children of application accessible for windows open before accessibility was started">
|
|
Mozilla Bug 560239
|
|
</a><br/>
|
|
<p id="display"></p>
|
|
<div id="content" style="display: none">
|
|
</div>
|
|
<pre id="test">
|
|
</pre>
|
|
</body>
|
|
</hbox>
|
|
|
|
</window>
|
|
|