From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- accessible/tests/mochitest/.eslintrc.js | 24 + accessible/tests/mochitest/a11y.ini | 21 + accessible/tests/mochitest/actions.js | 231 ++ accessible/tests/mochitest/actions/a11y.ini | 17 + .../tests/mochitest/actions/test_anchors.html | 146 ++ accessible/tests/mochitest/actions/test_aria.html | 200 ++ .../tests/mochitest/actions/test_controls.html | 107 + .../tests/mochitest/actions/test_general.html | 105 + .../tests/mochitest/actions/test_general.xhtml | 167 ++ accessible/tests/mochitest/actions/test_keys.html | 57 + accessible/tests/mochitest/actions/test_keys.xhtml | 124 + accessible/tests/mochitest/actions/test_link.html | 145 ++ accessible/tests/mochitest/actions/test_media.html | 130 + .../tests/mochitest/actions/test_select.html | 67 + accessible/tests/mochitest/actions/test_tree.xhtml | 127 + .../tests/mochitest/actions/test_treegrid.xhtml | 190 ++ accessible/tests/mochitest/aom/a11y.ini | 3 + accessible/tests/mochitest/aom/test_general.html | 208 ++ accessible/tests/mochitest/attributes.js | 516 ++++ accessible/tests/mochitest/attributes/a11y.ini | 14 + .../attributes/test_dpub_aria_xml-roles.html | 120 + .../attributes/test_graphics_aria_xml-roles.html | 48 + .../tests/mochitest/attributes/test_listbox.html | 82 + .../tests/mochitest/attributes/test_obj.html | 292 +++ .../tests/mochitest/attributes/test_obj_css.html | 225 ++ .../tests/mochitest/attributes/test_obj_group.html | 564 +++++ .../mochitest/attributes/test_obj_group.xhtml | 215 ++ .../mochitest/attributes/test_obj_group_tree.xhtml | 84 + .../tests/mochitest/attributes/test_tag.html | 80 + .../tests/mochitest/attributes/test_xml-roles.html | 267 ++ accessible/tests/mochitest/autocomplete.js | 198 ++ accessible/tests/mochitest/bounds/a11y.ini | 5 + accessible/tests/mochitest/bounds/test_list.html | 78 + accessible/tests/mochitest/browser.js | 156 ++ accessible/tests/mochitest/common.js | 1046 ++++++++ accessible/tests/mochitest/dumbfile.zip | Bin 0 -> 22 bytes accessible/tests/mochitest/elm/a11y.ini | 14 + accessible/tests/mochitest/elm/test_HTMLSpec.html | 2024 +++++++++++++++ .../tests/mochitest/elm/test_MathMLSpec.html | 616 +++++ accessible/tests/mochitest/elm/test_figure.html | 60 + accessible/tests/mochitest/elm/test_listbox.xhtml | 73 + .../tests/mochitest/elm/test_nsApplicationAcc.html | 67 + .../tests/mochitest/elm/test_shadowroot.html | 35 + .../mochitest/elm/test_shadowroot_subframe.html | 68 + accessible/tests/mochitest/events.js | 2660 ++++++++++++++++++++ accessible/tests/mochitest/events/a11y.ini | 68 + accessible/tests/mochitest/events/docload/a11y.ini | 13 + .../mochitest/events/docload/docload_wnd.html | 37 + .../events/docload/test_docload_aria.html | 75 + .../events/docload/test_docload_busy.html | 83 + .../events/docload/test_docload_embedded.html | 85 + .../events/docload/test_docload_iframe.html | 99 + .../events/docload/test_docload_root.html | 125 + .../events/docload/test_docload_shutdown.html | 142 ++ accessible/tests/mochitest/events/focus.html | 10 + accessible/tests/mochitest/events/scroll.html | 181 ++ accessible/tests/mochitest/events/slow_image.sjs | 55 + .../tests/mochitest/events/test_announcement.html | 61 + .../tests/mochitest/events/test_aria_alert.html | 84 + .../tests/mochitest/events/test_aria_menu.html | 267 ++ .../tests/mochitest/events/test_aria_objattr.html | 68 + .../tests/mochitest/events/test_aria_owns.html | 122 + .../mochitest/events/test_aria_statechange.html | 231 ++ .../tests/mochitest/events/test_attrchange.html | 107 + accessible/tests/mochitest/events/test_attrs.html | 85 + .../tests/mochitest/events/test_bug1322593-2.html | 77 + .../tests/mochitest/events/test_bug1322593.html | 74 + .../tests/mochitest/events/test_caretmove.html | 142 ++ .../tests/mochitest/events/test_coalescence.html | 817 ++++++ .../tests/mochitest/events/test_contextmenu.html | 131 + .../tests/mochitest/events/test_descrchange.html | 142 ++ .../tests/mochitest/events/test_dragndrop.html | 106 + accessible/tests/mochitest/events/test_flush.html | 74 + .../events/test_focus_aria_activedescendant.html | 327 +++ .../mochitest/events/test_focus_autocomplete.html | 83 + .../mochitest/events/test_focus_autocomplete.xhtml | 507 ++++ .../tests/mochitest/events/test_focus_canvas.html | 58 + .../mochitest/events/test_focus_contextmenu.xhtml | 98 + .../mochitest/events/test_focus_controls.html | 76 + .../tests/mochitest/events/test_focus_doc.html | 92 + .../tests/mochitest/events/test_focus_general.html | 176 ++ .../mochitest/events/test_focus_general.xhtml | 124 + .../mochitest/events/test_focus_listcontrols.xhtml | 153 ++ .../tests/mochitest/events/test_focus_menu.xhtml | 117 + .../tests/mochitest/events/test_focus_name.html | 116 + .../tests/mochitest/events/test_focus_removal.html | 95 + .../tests/mochitest/events/test_focus_selects.html | 173 ++ .../tests/mochitest/events/test_focus_tabbox.xhtml | 102 + .../tests/mochitest/events/test_focus_tree.xhtml | 117 + .../events/test_focusable_statechange.html | 128 + .../tests/mochitest/events/test_fromUserInput.html | 112 + accessible/tests/mochitest/events/test_label.xhtml | 178 ++ accessible/tests/mochitest/events/test_menu.xhtml | 200 ++ .../tests/mochitest/events/test_mutation.html | 580 +++++ .../tests/mochitest/events/test_namechange.html | 185 ++ .../tests/mochitest/events/test_namechange.xhtml | 90 + .../tests/mochitest/events/test_scroll.xhtml | 107 + .../tests/mochitest/events/test_scroll_caret.xhtml | 91 + .../tests/mochitest/events/test_selection.html | 109 + .../tests/mochitest/events/test_selection.xhtml | 254 ++ .../mochitest/events/test_selection_aria.html | 122 + .../tests/mochitest/events/test_statechange.html | 582 +++++ .../tests/mochitest/events/test_statechange.xhtml | 117 + accessible/tests/mochitest/events/test_text.html | 310 +++ .../tests/mochitest/events/test_text_alg.html | 249 ++ .../mochitest/events/test_textattrchange.html | 105 + .../tests/mochitest/events/test_textselchange.html | 82 + accessible/tests/mochitest/events/test_tree.xhtml | 358 +++ .../tests/mochitest/events/test_valuechange.html | 315 +++ accessible/tests/mochitest/focus/a11y.ini | 9 + .../tests/mochitest/focus/test_focus_radio.xhtml | 84 + .../tests/mochitest/focus/test_focusedChild.html | 81 + .../tests/mochitest/focus/test_takeFocus.html | 109 + .../tests/mochitest/focus/test_takeFocus.xhtml | 104 + accessible/tests/mochitest/formimage.png | Bin 0 -> 20105 bytes accessible/tests/mochitest/grid.js | 142 ++ accessible/tests/mochitest/hittest/a11y.ini | 13 + .../tests/mochitest/hittest/test_browser.html | 61 + .../tests/mochitest/hittest/test_general.html | 110 + accessible/tests/mochitest/hittest/test_menu.xhtml | 133 + .../tests/mochitest/hittest/test_shadowroot.html | 35 + .../hittest/test_shadowroot_subframe.html | 58 + accessible/tests/mochitest/hittest/test_zoom.html | 59 + .../tests/mochitest/hittest/test_zoom_text.html | 57 + .../tests/mochitest/hittest/test_zoom_tree.xhtml | 97 + accessible/tests/mochitest/hittest/zoom_tree.xhtml | 18 + accessible/tests/mochitest/hyperlink/a11y.ini | 7 + accessible/tests/mochitest/hyperlink/hyperlink.js | 46 + .../tests/mochitest/hyperlink/test_general.html | 279 ++ .../tests/mochitest/hyperlink/test_general.xhtml | 98 + accessible/tests/mochitest/hypertext/a11y.ini | 7 + .../tests/mochitest/hypertext/test_general.html | 150 ++ .../tests/mochitest/hypertext/test_update.html | 214 ++ accessible/tests/mochitest/layout.js | 390 +++ accessible/tests/mochitest/letters.gif | Bin 0 -> 5596 bytes accessible/tests/mochitest/longdesc_src.html | 8 + accessible/tests/mochitest/moz.build | 36 + accessible/tests/mochitest/moz.png | Bin 0 -> 1991 bytes accessible/tests/mochitest/name.js | 38 + accessible/tests/mochitest/name/a11y.ini | 18 + accessible/tests/mochitest/name/markup.js | 425 ++++ accessible/tests/mochitest/name/markuprules.xml | 367 +++ .../mochitest/name/test_ARIACore_examples.html | 90 + .../tests/mochitest/name/test_browserui.xhtml | 85 + .../tests/mochitest/name/test_counterstyle.html | 150 ++ accessible/tests/mochitest/name/test_general.html | 732 ++++++ accessible/tests/mochitest/name/test_general.xhtml | 343 +++ accessible/tests/mochitest/name/test_link.html | 87 + accessible/tests/mochitest/name/test_list.html | 103 + accessible/tests/mochitest/name/test_markup.html | 58 + accessible/tests/mochitest/name/test_svg.html | 53 + accessible/tests/mochitest/name/test_tree.xhtml | 207 ++ accessible/tests/mochitest/pivot.js | 664 +++++ accessible/tests/mochitest/pivot/a11y.ini | 8 + .../tests/mochitest/pivot/doc_virtualcursor.html | 38 + .../mochitest/pivot/doc_virtualcursor_text.html | 37 + .../tests/mochitest/pivot/test_virtualcursor.html | 119 + .../mochitest/pivot/test_virtualcursor_text.html | 271 ++ accessible/tests/mochitest/promisified-events.js | 328 +++ accessible/tests/mochitest/relations.js | 204 ++ accessible/tests/mochitest/relations/a11y.ini | 14 + .../tests/mochitest/relations/test_embeds.xhtml | 128 + .../tests/mochitest/relations/test_general.html | 456 ++++ .../tests/mochitest/relations/test_general.xhtml | 237 ++ .../mochitest/relations/test_groupInfoUpdate.html | 57 + .../tests/mochitest/relations/test_shadowdom.html | 58 + .../mochitest/relations/test_tabbrowser.xhtml | 109 + .../tests/mochitest/relations/test_tree.xhtml | 105 + .../mochitest/relations/test_ui_modalprompt.html | 111 + .../tests/mochitest/relations/test_update.html | 213 ++ accessible/tests/mochitest/role.js | 200 ++ accessible/tests/mochitest/role/a11y.ini | 13 + .../mochitest/role/chrome_body_role_alert.xhtml | 6 + accessible/tests/mochitest/role/test_aria.html | 729 ++++++ accessible/tests/mochitest/role/test_aria.xhtml | 65 + .../tests/mochitest/role/test_dpub_aria.html | 114 + accessible/tests/mochitest/role/test_general.html | 201 ++ accessible/tests/mochitest/role/test_general.xhtml | 59 + .../tests/mochitest/role/test_graphics_aria.html | 42 + accessible/tests/mochitest/role/test_svg.html | 93 + accessible/tests/mochitest/scroll/a11y.ini | 5 + accessible/tests/mochitest/scroll/test_zoom.html | 145 ++ accessible/tests/mochitest/selectable.js | 138 + accessible/tests/mochitest/selectable/a11y.ini | 10 + .../tests/mochitest/selectable/test_listbox.xhtml | 144 ++ .../tests/mochitest/selectable/test_menu.xhtml | 77 + .../tests/mochitest/selectable/test_menulist.xhtml | 95 + .../tests/mochitest/selectable/test_tabs.xhtml | 93 + .../tests/mochitest/selectable/test_tree.xhtml | 171 ++ accessible/tests/mochitest/states.js | 365 +++ accessible/tests/mochitest/states/a11y.ini | 36 + accessible/tests/mochitest/states/test_aria.html | 655 +++++ accessible/tests/mochitest/states/test_aria.xhtml | 70 + .../tests/mochitest/states/test_aria_imgmap.html | 75 + .../mochitest/states/test_aria_widgetitems.html | 152 ++ .../tests/mochitest/states/test_buttons.html | 83 + .../tests/mochitest/states/test_controls.html | 51 + .../tests/mochitest/states/test_controls.xhtml | 153 ++ accessible/tests/mochitest/states/test_doc.html | 95 + .../tests/mochitest/states/test_doc_busy.html | 130 + .../tests/mochitest/states/test_docarticle.html | 78 + .../tests/mochitest/states/test_editablebody.html | 44 + .../tests/mochitest/states/test_expandable.xhtml | 112 + accessible/tests/mochitest/states/test_frames.html | 93 + accessible/tests/mochitest/states/test_inputs.html | 268 ++ accessible/tests/mochitest/states/test_link.html | 85 + accessible/tests/mochitest/states/test_popup.xhtml | 54 + .../tests/mochitest/states/test_selects.html | 166 ++ accessible/tests/mochitest/states/test_stale.html | 108 + accessible/tests/mochitest/states/test_tabs.xhtml | 66 + .../tests/mochitest/states/test_textbox.xhtml | 78 + accessible/tests/mochitest/states/test_tree.xhtml | 146 ++ .../tests/mochitest/states/test_visibility.html | 75 + .../tests/mochitest/states/test_visibility.xhtml | 162 ++ accessible/tests/mochitest/states/z_frames.html | 11 + .../tests/mochitest/states/z_frames_article.html | 11 + .../tests/mochitest/states/z_frames_checkbox.html | 11 + .../tests/mochitest/states/z_frames_textbox.html | 11 + .../tests/mochitest/states/z_frames_update.html | 21 + accessible/tests/mochitest/table.js | 851 +++++++ accessible/tests/mochitest/table/a11y.ini | 24 + .../tests/mochitest/table/test_css_tables.html | 114 + .../mochitest/table/test_headers_ariagrid.html | 183 ++ .../mochitest/table/test_headers_ariatable.html | 94 + .../tests/mochitest/table/test_headers_table.html | 756 ++++++ .../tests/mochitest/table/test_headers_tree.xhtml | 100 + .../mochitest/table/test_indexes_ariagrid.html | 159 ++ .../tests/mochitest/table/test_indexes_table.html | 481 ++++ .../tests/mochitest/table/test_indexes_tree.xhtml | 70 + .../tests/mochitest/table/test_layoutguess.html | 554 ++++ accessible/tests/mochitest/table/test_mtable.html | 160 ++ .../tests/mochitest/table/test_sels_ariagrid.html | 147 ++ .../tests/mochitest/table/test_sels_table.html | 155 ++ .../tests/mochitest/table/test_sels_tree.xhtml | 76 + .../mochitest/table/test_struct_ariagrid.html | 163 ++ .../mochitest/table/test_struct_ariatreegrid.html | 74 + .../tests/mochitest/table/test_struct_table.html | 217 ++ .../tests/mochitest/table/test_struct_tree.xhtml | 73 + accessible/tests/mochitest/table/test_table_1.html | 107 + accessible/tests/mochitest/table/test_table_2.html | 87 + .../tests/mochitest/table/test_table_mutation.html | 100 + .../tests/mochitest/test_OuterDocAccessible.html | 87 + .../tests/mochitest/test_aria_token_attrs.html | 417 +++ accessible/tests/mochitest/test_bug420863.html | 99 + ...test_custom_element_accessibility_defaults.html | 383 +++ accessible/tests/mochitest/test_descr.html | 134 + .../mochitest/test_nsIAccessibleDocument.html | 94 + .../tests/mochitest/test_nsIAccessibleImage.html | 198 ++ accessible/tests/mochitest/text.js | 814 ++++++ accessible/tests/mochitest/text/a11y.ini | 19 + accessible/tests/mochitest/text/doc.html | 9 + .../tests/mochitest/text/test_atcaretoffset.html | 425 ++++ .../tests/mochitest/text/test_charboundary.html | 138 + accessible/tests/mochitest/text/test_doc.html | 40 + accessible/tests/mochitest/text/test_dynamic.html | 80 + accessible/tests/mochitest/text/test_general.xhtml | 79 + accessible/tests/mochitest/text/test_gettext.html | 135 + .../tests/mochitest/text/test_hypertext.html | 150 ++ .../tests/mochitest/text/test_lineboundary.html | 422 ++++ .../mochitest/text/test_paragraphboundary.html | 148 ++ .../tests/mochitest/text/test_passwords.html | 72 + .../tests/mochitest/text/test_selection.html | 119 + .../mochitest/text/test_settext_input_event.html | 38 + .../tests/mochitest/text/test_textBounds.html | 36 + .../tests/mochitest/text/test_wordboundary.html | 361 +++ accessible/tests/mochitest/text/test_words.html | 131 + accessible/tests/mochitest/textattrs/a11y.ini | 11 + .../tests/mochitest/textattrs/test_general.html | 823 ++++++ .../tests/mochitest/textattrs/test_general.xhtml | 51 + .../tests/mochitest/textattrs/test_invalid.html | 59 + .../tests/mochitest/textattrs/test_mathml.html | 47 + .../tests/mochitest/textattrs/test_spelling.html | 52 + accessible/tests/mochitest/textattrs/test_svg.html | 52 + accessible/tests/mochitest/textcaret/a11y.ini | 5 + .../tests/mochitest/textcaret/test_general.html | 174 ++ accessible/tests/mochitest/textrange/a11y.ini | 7 + .../tests/mochitest/textrange/test_general.html | 106 + .../tests/mochitest/textrange/test_selection.html | 144 ++ accessible/tests/mochitest/textselection/a11y.ini | 6 + .../mochitest/textselection/test_general.html | 221 ++ .../mochitest/textselection/test_userinput.html | 76 + accessible/tests/mochitest/tree/a11y.ini | 58 + accessible/tests/mochitest/tree/dockids.html | 32 + .../tests/mochitest/tree/test_applicationacc.xhtml | 73 + .../mochitest/tree/test_aria_display_contents.html | 173 ++ .../tests/mochitest/tree/test_aria_globals.html | 127 + .../tests/mochitest/tree/test_aria_grid.html | 318 +++ .../tests/mochitest/tree/test_aria_imgmap.html | 104 + .../tests/mochitest/tree/test_aria_list.html | 90 + .../tests/mochitest/tree/test_aria_menu.html | 91 + .../tests/mochitest/tree/test_aria_owns.html | 197 ++ .../mochitest/tree/test_aria_presentation.html | 176 ++ .../tests/mochitest/tree/test_aria_table.html | 101 + .../tests/mochitest/tree/test_brokencontext.html | 214 ++ accessible/tests/mochitest/tree/test_button.xhtml | 83 + accessible/tests/mochitest/tree/test_canvas.html | 53 + .../tests/mochitest/tree/test_combobox.xhtml | 116 + .../tests/mochitest/tree/test_cssflexbox.html | 78 + .../tests/mochitest/tree/test_cssoverflow.html | 135 + .../mochitest/tree/test_display_contents.html | 92 + accessible/tests/mochitest/tree/test_divs.html | 351 +++ .../tests/mochitest/tree/test_dochierarchy.html | 84 + accessible/tests/mochitest/tree/test_dockids.html | 62 + accessible/tests/mochitest/tree/test_filectrl.html | 56 + accessible/tests/mochitest/tree/test_formctrl.html | 125 + .../tests/mochitest/tree/test_formctrl.xhtml | 129 + .../tests/mochitest/tree/test_gencontent.html | 69 + .../tests/mochitest/tree/test_groupbox.xhtml | 63 + .../tests/mochitest/tree/test_html_in_mathml.html | 61 + accessible/tests/mochitest/tree/test_iframe.html | 50 + accessible/tests/mochitest/tree/test_image.xhtml | 58 + accessible/tests/mochitest/tree/test_img.html | 84 + .../tests/mochitest/tree/test_invalid_img.xhtml | 48 + .../mochitest/tree/test_invalidationlist.html | 56 + accessible/tests/mochitest/tree/test_list.html | 346 +++ accessible/tests/mochitest/tree/test_map.html | 81 + accessible/tests/mochitest/tree/test_media.html | 127 + accessible/tests/mochitest/tree/test_select.html | 121 + accessible/tests/mochitest/tree/test_svg.html | 127 + accessible/tests/mochitest/tree/test_tabbox.xhtml | 108 + .../tests/mochitest/tree/test_tabbrowser.xhtml | 261 ++ accessible/tests/mochitest/tree/test_table.html | 507 ++++ accessible/tests/mochitest/tree/test_table_2.html | 242 ++ accessible/tests/mochitest/tree/test_table_3.html | 244 ++ accessible/tests/mochitest/tree/test_tree.xhtml | 182 ++ accessible/tests/mochitest/tree/test_txtcntr.html | 234 ++ accessible/tests/mochitest/tree/test_txtctrl.html | 171 ++ accessible/tests/mochitest/tree/test_txtctrl.xhtml | 86 + accessible/tests/mochitest/tree/wnd.xhtml | 8 + accessible/tests/mochitest/treeupdate/a11y.ini | 46 + .../mochitest/treeupdate/test_ariadialog.html | 113 + .../mochitest/treeupdate/test_ariahidden.html | 118 + .../tests/mochitest/treeupdate/test_ariaowns.html | 851 +++++++ .../mochitest/treeupdate/test_bug1040735.html | 40 + .../mochitest/treeupdate/test_bug1175913.html | 95 + .../mochitest/treeupdate/test_bug1189277.html | 82 + .../mochitest/treeupdate/test_bug1276857.html | 131 + .../treeupdate/test_bug1276857_subframe.html | 33 + .../mochitest/treeupdate/test_bug852150.xhtml | 57 + .../mochitest/treeupdate/test_bug883708.xhtml | 31 + .../mochitest/treeupdate/test_bug884251.xhtml | 19 + .../tests/mochitest/treeupdate/test_bug895082.html | 49 + .../tests/mochitest/treeupdate/test_canvas.html | 87 + .../mochitest/treeupdate/test_contextmenu.xhtml | 315 +++ .../mochitest/treeupdate/test_cssoverflow.html | 149 ++ .../tests/mochitest/treeupdate/test_deck.xhtml | 154 ++ .../mochitest/treeupdate/test_delayed_removal.html | 500 ++++ .../tests/mochitest/treeupdate/test_doc.html | 415 +++ .../mochitest/treeupdate/test_gencontent.html | 187 ++ .../tests/mochitest/treeupdate/test_general.html | 174 ++ .../tests/mochitest/treeupdate/test_hidden.html | 125 + .../tests/mochitest/treeupdate/test_imagemap.html | 402 +++ .../tests/mochitest/treeupdate/test_inert.html | 138 + .../mochitest/treeupdate/test_inner_reorder.html | 148 ++ .../tests/mochitest/treeupdate/test_list.html | 139 + .../treeupdate/test_list_editabledoc.html | 100 + .../mochitest/treeupdate/test_list_style.html | 181 ++ .../tests/mochitest/treeupdate/test_listbox.xhtml | 181 ++ .../tests/mochitest/treeupdate/test_menu.xhtml | 127 + .../mochitest/treeupdate/test_menubutton.xhtml | 141 ++ .../tests/mochitest/treeupdate/test_optgroup.html | 122 + .../mochitest/treeupdate/test_recreation.html | 93 + .../tests/mochitest/treeupdate/test_select.html | 191 ++ .../mochitest/treeupdate/test_shadow_slots.html | 554 ++++ .../tests/mochitest/treeupdate/test_shutdown.xhtml | 131 + .../tests/mochitest/treeupdate/test_table.html | 74 + .../tests/mochitest/treeupdate/test_textleaf.html | 167 ++ .../tests/mochitest/treeupdate/test_tooltip.xhtml | 75 + .../mochitest/treeupdate/test_visibility.html | 411 +++ .../mochitest/treeupdate/test_whitespace.html | 200 ++ accessible/tests/mochitest/treeview.css | 15 + accessible/tests/mochitest/treeview.js | 273 ++ accessible/tests/mochitest/value.js | 52 + accessible/tests/mochitest/value/a11y.ini | 11 + .../tests/mochitest/value/test_ariavalue.html | 85 + .../tests/mochitest/value/test_datetime.html | 76 + accessible/tests/mochitest/value/test_general.html | 159 ++ accessible/tests/mochitest/value/test_meter.html | 82 + accessible/tests/mochitest/value/test_number.html | 56 + .../tests/mochitest/value/test_progress.html | 61 + accessible/tests/mochitest/value/test_range.html | 59 + 381 files changed, 62042 insertions(+) create mode 100644 accessible/tests/mochitest/.eslintrc.js create mode 100644 accessible/tests/mochitest/a11y.ini create mode 100644 accessible/tests/mochitest/actions.js create mode 100644 accessible/tests/mochitest/actions/a11y.ini create mode 100644 accessible/tests/mochitest/actions/test_anchors.html create mode 100644 accessible/tests/mochitest/actions/test_aria.html create mode 100644 accessible/tests/mochitest/actions/test_controls.html create mode 100644 accessible/tests/mochitest/actions/test_general.html create mode 100644 accessible/tests/mochitest/actions/test_general.xhtml create mode 100644 accessible/tests/mochitest/actions/test_keys.html create mode 100644 accessible/tests/mochitest/actions/test_keys.xhtml create mode 100644 accessible/tests/mochitest/actions/test_link.html create mode 100644 accessible/tests/mochitest/actions/test_media.html create mode 100644 accessible/tests/mochitest/actions/test_select.html create mode 100644 accessible/tests/mochitest/actions/test_tree.xhtml create mode 100644 accessible/tests/mochitest/actions/test_treegrid.xhtml create mode 100644 accessible/tests/mochitest/aom/a11y.ini create mode 100644 accessible/tests/mochitest/aom/test_general.html create mode 100644 accessible/tests/mochitest/attributes.js create mode 100644 accessible/tests/mochitest/attributes/a11y.ini create mode 100644 accessible/tests/mochitest/attributes/test_dpub_aria_xml-roles.html create mode 100644 accessible/tests/mochitest/attributes/test_graphics_aria_xml-roles.html create mode 100644 accessible/tests/mochitest/attributes/test_listbox.html create mode 100644 accessible/tests/mochitest/attributes/test_obj.html create mode 100644 accessible/tests/mochitest/attributes/test_obj_css.html create mode 100644 accessible/tests/mochitest/attributes/test_obj_group.html create mode 100644 accessible/tests/mochitest/attributes/test_obj_group.xhtml create mode 100644 accessible/tests/mochitest/attributes/test_obj_group_tree.xhtml create mode 100644 accessible/tests/mochitest/attributes/test_tag.html create mode 100644 accessible/tests/mochitest/attributes/test_xml-roles.html create mode 100644 accessible/tests/mochitest/autocomplete.js create mode 100644 accessible/tests/mochitest/bounds/a11y.ini create mode 100644 accessible/tests/mochitest/bounds/test_list.html create mode 100644 accessible/tests/mochitest/browser.js create mode 100644 accessible/tests/mochitest/common.js create mode 100644 accessible/tests/mochitest/dumbfile.zip create mode 100644 accessible/tests/mochitest/elm/a11y.ini create mode 100644 accessible/tests/mochitest/elm/test_HTMLSpec.html create mode 100644 accessible/tests/mochitest/elm/test_MathMLSpec.html create mode 100644 accessible/tests/mochitest/elm/test_figure.html create mode 100644 accessible/tests/mochitest/elm/test_listbox.xhtml create mode 100644 accessible/tests/mochitest/elm/test_nsApplicationAcc.html create mode 100644 accessible/tests/mochitest/elm/test_shadowroot.html create mode 100644 accessible/tests/mochitest/elm/test_shadowroot_subframe.html create mode 100644 accessible/tests/mochitest/events.js create mode 100644 accessible/tests/mochitest/events/a11y.ini create mode 100644 accessible/tests/mochitest/events/docload/a11y.ini create mode 100644 accessible/tests/mochitest/events/docload/docload_wnd.html create mode 100644 accessible/tests/mochitest/events/docload/test_docload_aria.html create mode 100644 accessible/tests/mochitest/events/docload/test_docload_busy.html create mode 100644 accessible/tests/mochitest/events/docload/test_docload_embedded.html create mode 100644 accessible/tests/mochitest/events/docload/test_docload_iframe.html create mode 100644 accessible/tests/mochitest/events/docload/test_docload_root.html create mode 100644 accessible/tests/mochitest/events/docload/test_docload_shutdown.html create mode 100644 accessible/tests/mochitest/events/focus.html create mode 100644 accessible/tests/mochitest/events/scroll.html create mode 100644 accessible/tests/mochitest/events/slow_image.sjs create mode 100644 accessible/tests/mochitest/events/test_announcement.html create mode 100644 accessible/tests/mochitest/events/test_aria_alert.html create mode 100644 accessible/tests/mochitest/events/test_aria_menu.html create mode 100644 accessible/tests/mochitest/events/test_aria_objattr.html create mode 100644 accessible/tests/mochitest/events/test_aria_owns.html create mode 100644 accessible/tests/mochitest/events/test_aria_statechange.html create mode 100644 accessible/tests/mochitest/events/test_attrchange.html create mode 100644 accessible/tests/mochitest/events/test_attrs.html create mode 100644 accessible/tests/mochitest/events/test_bug1322593-2.html create mode 100644 accessible/tests/mochitest/events/test_bug1322593.html create mode 100644 accessible/tests/mochitest/events/test_caretmove.html create mode 100644 accessible/tests/mochitest/events/test_coalescence.html create mode 100644 accessible/tests/mochitest/events/test_contextmenu.html create mode 100644 accessible/tests/mochitest/events/test_descrchange.html create mode 100644 accessible/tests/mochitest/events/test_dragndrop.html create mode 100644 accessible/tests/mochitest/events/test_flush.html create mode 100644 accessible/tests/mochitest/events/test_focus_aria_activedescendant.html create mode 100644 accessible/tests/mochitest/events/test_focus_autocomplete.html create mode 100644 accessible/tests/mochitest/events/test_focus_autocomplete.xhtml create mode 100644 accessible/tests/mochitest/events/test_focus_canvas.html create mode 100644 accessible/tests/mochitest/events/test_focus_contextmenu.xhtml create mode 100644 accessible/tests/mochitest/events/test_focus_controls.html create mode 100644 accessible/tests/mochitest/events/test_focus_doc.html create mode 100644 accessible/tests/mochitest/events/test_focus_general.html create mode 100644 accessible/tests/mochitest/events/test_focus_general.xhtml create mode 100644 accessible/tests/mochitest/events/test_focus_listcontrols.xhtml create mode 100644 accessible/tests/mochitest/events/test_focus_menu.xhtml create mode 100644 accessible/tests/mochitest/events/test_focus_name.html create mode 100644 accessible/tests/mochitest/events/test_focus_removal.html create mode 100644 accessible/tests/mochitest/events/test_focus_selects.html create mode 100644 accessible/tests/mochitest/events/test_focus_tabbox.xhtml create mode 100644 accessible/tests/mochitest/events/test_focus_tree.xhtml create mode 100644 accessible/tests/mochitest/events/test_focusable_statechange.html create mode 100644 accessible/tests/mochitest/events/test_fromUserInput.html create mode 100644 accessible/tests/mochitest/events/test_label.xhtml create mode 100644 accessible/tests/mochitest/events/test_menu.xhtml create mode 100644 accessible/tests/mochitest/events/test_mutation.html create mode 100644 accessible/tests/mochitest/events/test_namechange.html create mode 100644 accessible/tests/mochitest/events/test_namechange.xhtml create mode 100644 accessible/tests/mochitest/events/test_scroll.xhtml create mode 100644 accessible/tests/mochitest/events/test_scroll_caret.xhtml create mode 100644 accessible/tests/mochitest/events/test_selection.html create mode 100644 accessible/tests/mochitest/events/test_selection.xhtml create mode 100644 accessible/tests/mochitest/events/test_selection_aria.html create mode 100644 accessible/tests/mochitest/events/test_statechange.html create mode 100644 accessible/tests/mochitest/events/test_statechange.xhtml create mode 100644 accessible/tests/mochitest/events/test_text.html create mode 100644 accessible/tests/mochitest/events/test_text_alg.html create mode 100644 accessible/tests/mochitest/events/test_textattrchange.html create mode 100644 accessible/tests/mochitest/events/test_textselchange.html create mode 100644 accessible/tests/mochitest/events/test_tree.xhtml create mode 100644 accessible/tests/mochitest/events/test_valuechange.html create mode 100644 accessible/tests/mochitest/focus/a11y.ini create mode 100644 accessible/tests/mochitest/focus/test_focus_radio.xhtml create mode 100644 accessible/tests/mochitest/focus/test_focusedChild.html create mode 100644 accessible/tests/mochitest/focus/test_takeFocus.html create mode 100644 accessible/tests/mochitest/focus/test_takeFocus.xhtml create mode 100644 accessible/tests/mochitest/formimage.png create mode 100644 accessible/tests/mochitest/grid.js create mode 100644 accessible/tests/mochitest/hittest/a11y.ini create mode 100644 accessible/tests/mochitest/hittest/test_browser.html create mode 100644 accessible/tests/mochitest/hittest/test_general.html create mode 100644 accessible/tests/mochitest/hittest/test_menu.xhtml create mode 100644 accessible/tests/mochitest/hittest/test_shadowroot.html create mode 100644 accessible/tests/mochitest/hittest/test_shadowroot_subframe.html create mode 100644 accessible/tests/mochitest/hittest/test_zoom.html create mode 100644 accessible/tests/mochitest/hittest/test_zoom_text.html create mode 100644 accessible/tests/mochitest/hittest/test_zoom_tree.xhtml create mode 100644 accessible/tests/mochitest/hittest/zoom_tree.xhtml create mode 100644 accessible/tests/mochitest/hyperlink/a11y.ini create mode 100644 accessible/tests/mochitest/hyperlink/hyperlink.js create mode 100644 accessible/tests/mochitest/hyperlink/test_general.html create mode 100644 accessible/tests/mochitest/hyperlink/test_general.xhtml create mode 100644 accessible/tests/mochitest/hypertext/a11y.ini create mode 100644 accessible/tests/mochitest/hypertext/test_general.html create mode 100644 accessible/tests/mochitest/hypertext/test_update.html create mode 100644 accessible/tests/mochitest/layout.js create mode 100644 accessible/tests/mochitest/letters.gif create mode 100644 accessible/tests/mochitest/longdesc_src.html create mode 100644 accessible/tests/mochitest/moz.build create mode 100644 accessible/tests/mochitest/moz.png create mode 100644 accessible/tests/mochitest/name.js create mode 100644 accessible/tests/mochitest/name/a11y.ini create mode 100644 accessible/tests/mochitest/name/markup.js create mode 100644 accessible/tests/mochitest/name/markuprules.xml create mode 100644 accessible/tests/mochitest/name/test_ARIACore_examples.html create mode 100644 accessible/tests/mochitest/name/test_browserui.xhtml create mode 100644 accessible/tests/mochitest/name/test_counterstyle.html create mode 100644 accessible/tests/mochitest/name/test_general.html create mode 100644 accessible/tests/mochitest/name/test_general.xhtml create mode 100644 accessible/tests/mochitest/name/test_link.html create mode 100644 accessible/tests/mochitest/name/test_list.html create mode 100644 accessible/tests/mochitest/name/test_markup.html create mode 100644 accessible/tests/mochitest/name/test_svg.html create mode 100644 accessible/tests/mochitest/name/test_tree.xhtml create mode 100644 accessible/tests/mochitest/pivot.js create mode 100644 accessible/tests/mochitest/pivot/a11y.ini create mode 100644 accessible/tests/mochitest/pivot/doc_virtualcursor.html create mode 100644 accessible/tests/mochitest/pivot/doc_virtualcursor_text.html create mode 100644 accessible/tests/mochitest/pivot/test_virtualcursor.html create mode 100644 accessible/tests/mochitest/pivot/test_virtualcursor_text.html create mode 100644 accessible/tests/mochitest/promisified-events.js create mode 100644 accessible/tests/mochitest/relations.js create mode 100644 accessible/tests/mochitest/relations/a11y.ini create mode 100644 accessible/tests/mochitest/relations/test_embeds.xhtml create mode 100644 accessible/tests/mochitest/relations/test_general.html create mode 100644 accessible/tests/mochitest/relations/test_general.xhtml create mode 100644 accessible/tests/mochitest/relations/test_groupInfoUpdate.html create mode 100644 accessible/tests/mochitest/relations/test_shadowdom.html create mode 100644 accessible/tests/mochitest/relations/test_tabbrowser.xhtml create mode 100644 accessible/tests/mochitest/relations/test_tree.xhtml create mode 100644 accessible/tests/mochitest/relations/test_ui_modalprompt.html create mode 100644 accessible/tests/mochitest/relations/test_update.html create mode 100644 accessible/tests/mochitest/role.js create mode 100644 accessible/tests/mochitest/role/a11y.ini create mode 100644 accessible/tests/mochitest/role/chrome_body_role_alert.xhtml create mode 100644 accessible/tests/mochitest/role/test_aria.html create mode 100644 accessible/tests/mochitest/role/test_aria.xhtml create mode 100644 accessible/tests/mochitest/role/test_dpub_aria.html create mode 100644 accessible/tests/mochitest/role/test_general.html create mode 100644 accessible/tests/mochitest/role/test_general.xhtml create mode 100644 accessible/tests/mochitest/role/test_graphics_aria.html create mode 100644 accessible/tests/mochitest/role/test_svg.html create mode 100644 accessible/tests/mochitest/scroll/a11y.ini create mode 100644 accessible/tests/mochitest/scroll/test_zoom.html create mode 100644 accessible/tests/mochitest/selectable.js create mode 100644 accessible/tests/mochitest/selectable/a11y.ini create mode 100644 accessible/tests/mochitest/selectable/test_listbox.xhtml create mode 100644 accessible/tests/mochitest/selectable/test_menu.xhtml create mode 100644 accessible/tests/mochitest/selectable/test_menulist.xhtml create mode 100644 accessible/tests/mochitest/selectable/test_tabs.xhtml create mode 100644 accessible/tests/mochitest/selectable/test_tree.xhtml create mode 100644 accessible/tests/mochitest/states.js create mode 100644 accessible/tests/mochitest/states/a11y.ini create mode 100644 accessible/tests/mochitest/states/test_aria.html create mode 100644 accessible/tests/mochitest/states/test_aria.xhtml create mode 100644 accessible/tests/mochitest/states/test_aria_imgmap.html create mode 100644 accessible/tests/mochitest/states/test_aria_widgetitems.html create mode 100644 accessible/tests/mochitest/states/test_buttons.html create mode 100644 accessible/tests/mochitest/states/test_controls.html create mode 100644 accessible/tests/mochitest/states/test_controls.xhtml create mode 100644 accessible/tests/mochitest/states/test_doc.html create mode 100644 accessible/tests/mochitest/states/test_doc_busy.html create mode 100644 accessible/tests/mochitest/states/test_docarticle.html create mode 100644 accessible/tests/mochitest/states/test_editablebody.html create mode 100644 accessible/tests/mochitest/states/test_expandable.xhtml create mode 100644 accessible/tests/mochitest/states/test_frames.html create mode 100644 accessible/tests/mochitest/states/test_inputs.html create mode 100644 accessible/tests/mochitest/states/test_link.html create mode 100644 accessible/tests/mochitest/states/test_popup.xhtml create mode 100644 accessible/tests/mochitest/states/test_selects.html create mode 100644 accessible/tests/mochitest/states/test_stale.html create mode 100644 accessible/tests/mochitest/states/test_tabs.xhtml create mode 100644 accessible/tests/mochitest/states/test_textbox.xhtml create mode 100644 accessible/tests/mochitest/states/test_tree.xhtml create mode 100644 accessible/tests/mochitest/states/test_visibility.html create mode 100644 accessible/tests/mochitest/states/test_visibility.xhtml create mode 100644 accessible/tests/mochitest/states/z_frames.html create mode 100644 accessible/tests/mochitest/states/z_frames_article.html create mode 100644 accessible/tests/mochitest/states/z_frames_checkbox.html create mode 100644 accessible/tests/mochitest/states/z_frames_textbox.html create mode 100644 accessible/tests/mochitest/states/z_frames_update.html create mode 100644 accessible/tests/mochitest/table.js create mode 100644 accessible/tests/mochitest/table/a11y.ini create mode 100644 accessible/tests/mochitest/table/test_css_tables.html create mode 100644 accessible/tests/mochitest/table/test_headers_ariagrid.html create mode 100644 accessible/tests/mochitest/table/test_headers_ariatable.html create mode 100644 accessible/tests/mochitest/table/test_headers_table.html create mode 100644 accessible/tests/mochitest/table/test_headers_tree.xhtml create mode 100644 accessible/tests/mochitest/table/test_indexes_ariagrid.html create mode 100644 accessible/tests/mochitest/table/test_indexes_table.html create mode 100644 accessible/tests/mochitest/table/test_indexes_tree.xhtml create mode 100644 accessible/tests/mochitest/table/test_layoutguess.html create mode 100644 accessible/tests/mochitest/table/test_mtable.html create mode 100644 accessible/tests/mochitest/table/test_sels_ariagrid.html create mode 100644 accessible/tests/mochitest/table/test_sels_table.html create mode 100644 accessible/tests/mochitest/table/test_sels_tree.xhtml create mode 100644 accessible/tests/mochitest/table/test_struct_ariagrid.html create mode 100644 accessible/tests/mochitest/table/test_struct_ariatreegrid.html create mode 100644 accessible/tests/mochitest/table/test_struct_table.html create mode 100644 accessible/tests/mochitest/table/test_struct_tree.xhtml create mode 100644 accessible/tests/mochitest/table/test_table_1.html create mode 100644 accessible/tests/mochitest/table/test_table_2.html create mode 100644 accessible/tests/mochitest/table/test_table_mutation.html create mode 100644 accessible/tests/mochitest/test_OuterDocAccessible.html create mode 100644 accessible/tests/mochitest/test_aria_token_attrs.html create mode 100644 accessible/tests/mochitest/test_bug420863.html create mode 100644 accessible/tests/mochitest/test_custom_element_accessibility_defaults.html create mode 100644 accessible/tests/mochitest/test_descr.html create mode 100644 accessible/tests/mochitest/test_nsIAccessibleDocument.html create mode 100644 accessible/tests/mochitest/test_nsIAccessibleImage.html create mode 100644 accessible/tests/mochitest/text.js create mode 100644 accessible/tests/mochitest/text/a11y.ini create mode 100644 accessible/tests/mochitest/text/doc.html create mode 100644 accessible/tests/mochitest/text/test_atcaretoffset.html create mode 100644 accessible/tests/mochitest/text/test_charboundary.html create mode 100644 accessible/tests/mochitest/text/test_doc.html create mode 100644 accessible/tests/mochitest/text/test_dynamic.html create mode 100644 accessible/tests/mochitest/text/test_general.xhtml create mode 100644 accessible/tests/mochitest/text/test_gettext.html create mode 100644 accessible/tests/mochitest/text/test_hypertext.html create mode 100644 accessible/tests/mochitest/text/test_lineboundary.html create mode 100644 accessible/tests/mochitest/text/test_paragraphboundary.html create mode 100644 accessible/tests/mochitest/text/test_passwords.html create mode 100644 accessible/tests/mochitest/text/test_selection.html create mode 100644 accessible/tests/mochitest/text/test_settext_input_event.html create mode 100644 accessible/tests/mochitest/text/test_textBounds.html create mode 100644 accessible/tests/mochitest/text/test_wordboundary.html create mode 100644 accessible/tests/mochitest/text/test_words.html create mode 100644 accessible/tests/mochitest/textattrs/a11y.ini create mode 100644 accessible/tests/mochitest/textattrs/test_general.html create mode 100644 accessible/tests/mochitest/textattrs/test_general.xhtml create mode 100644 accessible/tests/mochitest/textattrs/test_invalid.html create mode 100644 accessible/tests/mochitest/textattrs/test_mathml.html create mode 100644 accessible/tests/mochitest/textattrs/test_spelling.html create mode 100644 accessible/tests/mochitest/textattrs/test_svg.html create mode 100644 accessible/tests/mochitest/textcaret/a11y.ini create mode 100644 accessible/tests/mochitest/textcaret/test_general.html create mode 100644 accessible/tests/mochitest/textrange/a11y.ini create mode 100644 accessible/tests/mochitest/textrange/test_general.html create mode 100644 accessible/tests/mochitest/textrange/test_selection.html create mode 100644 accessible/tests/mochitest/textselection/a11y.ini create mode 100644 accessible/tests/mochitest/textselection/test_general.html create mode 100644 accessible/tests/mochitest/textselection/test_userinput.html create mode 100644 accessible/tests/mochitest/tree/a11y.ini create mode 100644 accessible/tests/mochitest/tree/dockids.html create mode 100644 accessible/tests/mochitest/tree/test_applicationacc.xhtml create mode 100644 accessible/tests/mochitest/tree/test_aria_display_contents.html create mode 100644 accessible/tests/mochitest/tree/test_aria_globals.html create mode 100644 accessible/tests/mochitest/tree/test_aria_grid.html create mode 100644 accessible/tests/mochitest/tree/test_aria_imgmap.html create mode 100644 accessible/tests/mochitest/tree/test_aria_list.html create mode 100644 accessible/tests/mochitest/tree/test_aria_menu.html create mode 100644 accessible/tests/mochitest/tree/test_aria_owns.html create mode 100644 accessible/tests/mochitest/tree/test_aria_presentation.html create mode 100644 accessible/tests/mochitest/tree/test_aria_table.html create mode 100644 accessible/tests/mochitest/tree/test_brokencontext.html create mode 100644 accessible/tests/mochitest/tree/test_button.xhtml create mode 100644 accessible/tests/mochitest/tree/test_canvas.html create mode 100644 accessible/tests/mochitest/tree/test_combobox.xhtml create mode 100644 accessible/tests/mochitest/tree/test_cssflexbox.html create mode 100644 accessible/tests/mochitest/tree/test_cssoverflow.html create mode 100644 accessible/tests/mochitest/tree/test_display_contents.html create mode 100644 accessible/tests/mochitest/tree/test_divs.html create mode 100644 accessible/tests/mochitest/tree/test_dochierarchy.html create mode 100644 accessible/tests/mochitest/tree/test_dockids.html create mode 100644 accessible/tests/mochitest/tree/test_filectrl.html create mode 100644 accessible/tests/mochitest/tree/test_formctrl.html create mode 100644 accessible/tests/mochitest/tree/test_formctrl.xhtml create mode 100644 accessible/tests/mochitest/tree/test_gencontent.html create mode 100644 accessible/tests/mochitest/tree/test_groupbox.xhtml create mode 100644 accessible/tests/mochitest/tree/test_html_in_mathml.html create mode 100644 accessible/tests/mochitest/tree/test_iframe.html create mode 100644 accessible/tests/mochitest/tree/test_image.xhtml create mode 100644 accessible/tests/mochitest/tree/test_img.html create mode 100644 accessible/tests/mochitest/tree/test_invalid_img.xhtml create mode 100644 accessible/tests/mochitest/tree/test_invalidationlist.html create mode 100644 accessible/tests/mochitest/tree/test_list.html create mode 100644 accessible/tests/mochitest/tree/test_map.html create mode 100644 accessible/tests/mochitest/tree/test_media.html create mode 100644 accessible/tests/mochitest/tree/test_select.html create mode 100644 accessible/tests/mochitest/tree/test_svg.html create mode 100644 accessible/tests/mochitest/tree/test_tabbox.xhtml create mode 100644 accessible/tests/mochitest/tree/test_tabbrowser.xhtml create mode 100644 accessible/tests/mochitest/tree/test_table.html create mode 100644 accessible/tests/mochitest/tree/test_table_2.html create mode 100644 accessible/tests/mochitest/tree/test_table_3.html create mode 100644 accessible/tests/mochitest/tree/test_tree.xhtml create mode 100644 accessible/tests/mochitest/tree/test_txtcntr.html create mode 100644 accessible/tests/mochitest/tree/test_txtctrl.html create mode 100644 accessible/tests/mochitest/tree/test_txtctrl.xhtml create mode 100644 accessible/tests/mochitest/tree/wnd.xhtml create mode 100644 accessible/tests/mochitest/treeupdate/a11y.ini create mode 100644 accessible/tests/mochitest/treeupdate/test_ariadialog.html create mode 100644 accessible/tests/mochitest/treeupdate/test_ariahidden.html create mode 100644 accessible/tests/mochitest/treeupdate/test_ariaowns.html create mode 100644 accessible/tests/mochitest/treeupdate/test_bug1040735.html create mode 100644 accessible/tests/mochitest/treeupdate/test_bug1175913.html create mode 100644 accessible/tests/mochitest/treeupdate/test_bug1189277.html create mode 100644 accessible/tests/mochitest/treeupdate/test_bug1276857.html create mode 100644 accessible/tests/mochitest/treeupdate/test_bug1276857_subframe.html create mode 100644 accessible/tests/mochitest/treeupdate/test_bug852150.xhtml create mode 100644 accessible/tests/mochitest/treeupdate/test_bug883708.xhtml create mode 100644 accessible/tests/mochitest/treeupdate/test_bug884251.xhtml create mode 100644 accessible/tests/mochitest/treeupdate/test_bug895082.html create mode 100644 accessible/tests/mochitest/treeupdate/test_canvas.html create mode 100644 accessible/tests/mochitest/treeupdate/test_contextmenu.xhtml create mode 100644 accessible/tests/mochitest/treeupdate/test_cssoverflow.html create mode 100644 accessible/tests/mochitest/treeupdate/test_deck.xhtml create mode 100644 accessible/tests/mochitest/treeupdate/test_delayed_removal.html create mode 100644 accessible/tests/mochitest/treeupdate/test_doc.html create mode 100644 accessible/tests/mochitest/treeupdate/test_gencontent.html create mode 100644 accessible/tests/mochitest/treeupdate/test_general.html create mode 100644 accessible/tests/mochitest/treeupdate/test_hidden.html create mode 100644 accessible/tests/mochitest/treeupdate/test_imagemap.html create mode 100644 accessible/tests/mochitest/treeupdate/test_inert.html create mode 100644 accessible/tests/mochitest/treeupdate/test_inner_reorder.html create mode 100644 accessible/tests/mochitest/treeupdate/test_list.html create mode 100644 accessible/tests/mochitest/treeupdate/test_list_editabledoc.html create mode 100644 accessible/tests/mochitest/treeupdate/test_list_style.html create mode 100644 accessible/tests/mochitest/treeupdate/test_listbox.xhtml create mode 100644 accessible/tests/mochitest/treeupdate/test_menu.xhtml create mode 100644 accessible/tests/mochitest/treeupdate/test_menubutton.xhtml create mode 100644 accessible/tests/mochitest/treeupdate/test_optgroup.html create mode 100644 accessible/tests/mochitest/treeupdate/test_recreation.html create mode 100644 accessible/tests/mochitest/treeupdate/test_select.html create mode 100644 accessible/tests/mochitest/treeupdate/test_shadow_slots.html create mode 100644 accessible/tests/mochitest/treeupdate/test_shutdown.xhtml create mode 100644 accessible/tests/mochitest/treeupdate/test_table.html create mode 100644 accessible/tests/mochitest/treeupdate/test_textleaf.html create mode 100644 accessible/tests/mochitest/treeupdate/test_tooltip.xhtml create mode 100644 accessible/tests/mochitest/treeupdate/test_visibility.html create mode 100644 accessible/tests/mochitest/treeupdate/test_whitespace.html create mode 100644 accessible/tests/mochitest/treeview.css create mode 100644 accessible/tests/mochitest/treeview.js create mode 100644 accessible/tests/mochitest/value.js create mode 100644 accessible/tests/mochitest/value/a11y.ini create mode 100644 accessible/tests/mochitest/value/test_ariavalue.html create mode 100644 accessible/tests/mochitest/value/test_datetime.html create mode 100644 accessible/tests/mochitest/value/test_general.html create mode 100644 accessible/tests/mochitest/value/test_meter.html create mode 100644 accessible/tests/mochitest/value/test_number.html create mode 100644 accessible/tests/mochitest/value/test_progress.html create mode 100644 accessible/tests/mochitest/value/test_range.html (limited to 'accessible/tests/mochitest') diff --git a/accessible/tests/mochitest/.eslintrc.js b/accessible/tests/mochitest/.eslintrc.js new file mode 100644 index 0000000000..2ce1c5017a --- /dev/null +++ b/accessible/tests/mochitest/.eslintrc.js @@ -0,0 +1,24 @@ +"use strict"; + +module.exports = { + rules: { + // XXX These are rules that are enabled in the recommended configuration, but + // disabled here due to failures when initially implemented. They should be + // removed (and hence enabled) at some stage. + "no-nested-ternary": "off", + }, + + overrides: [ + { + files: [ + // Bug 1602061 TODO: These tests access DOM elements via + // id-as-variable-name, which eslint doesn't have support for yet. + "attributes/test_listbox.html", + "treeupdate/test_ariaowns.html", + ], + rules: { + "no-undef": "off", + }, + }, + ], +}; diff --git a/accessible/tests/mochitest/a11y.ini b/accessible/tests/mochitest/a11y.ini new file mode 100644 index 0000000000..885cb56e4a --- /dev/null +++ b/accessible/tests/mochitest/a11y.ini @@ -0,0 +1,21 @@ +[DEFAULT] +support-files = + ../../../dom/media/test/bug461281.ogg + ../../../dom/security/test/csp/dummy.pdf + ../../../image/test/mochitest/animated-gif-finalframe.gif + ../../../image/test/mochitest/animated-gif.gif + dumbfile.zip + formimage.png + letters.gif + moz.png + longdesc_src.html + *.js + treeview.css + +[test_aria_token_attrs.html] +[test_bug420863.html] +[test_custom_element_accessibility_defaults.html] +[test_descr.html] +[test_nsIAccessibleDocument.html] +[test_nsIAccessibleImage.html] +[test_OuterDocAccessible.html] diff --git a/accessible/tests/mochitest/actions.js b/accessible/tests/mochitest/actions.js new file mode 100644 index 0000000000..dc2f7d929d --- /dev/null +++ b/accessible/tests/mochitest/actions.js @@ -0,0 +1,231 @@ +/* import-globals-from common.js */ +/* import-globals-from events.js */ + +// ////////////////////////////////////////////////////////////////////////////// +// Event constants + +const MOUSEDOWN_EVENT = 1; +const MOUSEUP_EVENT = 2; +const CLICK_EVENT = 4; +const COMMAND_EVENT = 8; +const FOCUS_EVENT = 16; + +const CLICK_EVENTS = MOUSEDOWN_EVENT | MOUSEUP_EVENT | CLICK_EVENT; +const XUL_EVENTS = CLICK_EVENTS | COMMAND_EVENT; + +// ////////////////////////////////////////////////////////////////////////////// +// Public functions + +/** + * Test default accessible actions. + * + * Action tester interface is: + * + * var actionObj = { + * // identifier of accessible to perform an action on + * get ID() {}, + * + * // index of the action + * get actionIndex() {}, + * + * // name of the action + * get actionName() {}, + * + * // DOM events (see constants defined above) + * get events() {}, + * + * // [optional] identifier of target DOM events listeners are registered on, + * // used with 'events', if missing then 'ID' is used instead. + * get targetID() {}, + * + * // [optional] true to match DOM events bubbled up to the target, + * // false (default) to only match events fired directly on the target. + * get allowBubbling() {}, + * + * // [optional] perform checks when 'click' event is handled if 'events' + * // is used. + * checkOnClickEvent: function() {}, + * + * // [optional] an array of invoker's checker objects (see eventQueue + * // constructor events.js) + * get eventSeq() {} + * }; + * + * + * @param aArray [in] an array of action cheker objects + */ +function testActions(aArray) { + gActionsQueue = new eventQueue(); + + for (var idx = 0; idx < aArray.length; idx++) { + var actionObj = aArray[idx]; + var accOrElmOrID = actionObj.ID; + var actionIndex = actionObj.actionIndex; + var actionName = actionObj.actionName; + var events = actionObj.events; + var accOrElmOrIDOfTarget = actionObj.targetID + ? actionObj.targetID + : accOrElmOrID; + + var eventSeq = []; + if (events) { + var elm = getNode(accOrElmOrIDOfTarget); + if (events & MOUSEDOWN_EVENT) { + eventSeq.push(new checkerOfActionInvoker("mousedown", elm, actionObj)); + } + + if (events & MOUSEUP_EVENT) { + eventSeq.push(new checkerOfActionInvoker("mouseup", elm, actionObj)); + } + + if (events & CLICK_EVENT) { + eventSeq.push(new checkerOfActionInvoker("click", elm, actionObj)); + } + + if (events & COMMAND_EVENT) { + eventSeq.push(new checkerOfActionInvoker("command", elm, actionObj)); + } + + if (events & FOCUS_EVENT) { + eventSeq.push(new focusChecker(elm)); + } + } + + if (actionObj.eventSeq) { + eventSeq = eventSeq.concat(actionObj.eventSeq); + } + + var invoker = new actionInvoker( + accOrElmOrID, + actionIndex, + actionName, + eventSeq + ); + gActionsQueue.push(invoker); + } + + gActionsQueue.invoke(); +} + +/** + * Test action names and descriptions. + */ +function testActionNames(aID, aActions) { + var actions = typeof aActions == "string" ? [aActions] : aActions || []; + + var acc = getAccessible(aID); + is(acc.actionCount, actions.length, "Wong number of actions."); + for (var i = 0; i < actions.length; i++) { + is( + acc.getActionName(i), + actions[i], + "Wrong action name at " + i + " index." + ); + is( + acc.getActionDescription(0), + gActionDescrMap[actions[i]], + "Wrong action description at " + i + "index." + ); + } +} + +// ////////////////////////////////////////////////////////////////////////////// +// Private + +var gActionsQueue = null; + +function actionInvoker(aAccOrElmOrId, aActionIndex, aActionName, aEventSeq) { + this.invoke = function actionInvoker_invoke() { + var acc = getAccessible(aAccOrElmOrId); + if (!acc) { + return INVOKER_ACTION_FAILED; + } + + var isThereActions = acc.actionCount > 0; + ok( + isThereActions, + "No actions on the accessible for " + prettyName(aAccOrElmOrId) + ); + + if (!isThereActions) { + return INVOKER_ACTION_FAILED; + } + + is( + acc.getActionName(aActionIndex), + aActionName, + "Wrong action name of the accessible for " + prettyName(aAccOrElmOrId) + ); + + try { + acc.doAction(aActionIndex); + } catch (e) { + ok(false, "doAction(" + aActionIndex + ") failed with: " + e.name); + return INVOKER_ACTION_FAILED; + } + return null; + }; + + this.eventSeq = aEventSeq; + + this.getID = function actionInvoker_getID() { + return ( + "invoke an action " + + aActionName + + " at index " + + aActionIndex + + " on " + + prettyName(aAccOrElmOrId) + ); + }; +} + +function checkerOfActionInvoker(aType, aTarget, aActionObj) { + this.type = aType; + + this.target = aTarget; + + if (aActionObj && "eventTarget" in aActionObj) { + this.eventTarget = aActionObj.eventTarget; + } + + if (aActionObj && aActionObj.allowBubbling) { + // Normally, we add event listeners on the document. To catch bubbled + // events, we need to add the listener on the target itself. + this.eventTarget = "element"; + // Normally, we only match an event fired directly on the target. Override + // this to match a bubbled event. + this.match = function (aEvent) { + return aEvent.currentTarget == aTarget; + }; + } + + this.phase = false; + + this.getID = function getID() { + return aType + " event handling"; + }; + + this.check = function check(aEvent) { + if (aType == "click" && aActionObj && "checkOnClickEvent" in aActionObj) { + aActionObj.checkOnClickEvent(aEvent); + } + }; +} + +var gActionDescrMap = { + jump: "Jump", + press: "Press", + check: "Check", + uncheck: "Uncheck", + select: "Select", + open: "Open", + close: "Close", + switch: "Switch", + click: "Click", + collapse: "Collapse", + expand: "Expand", + activate: "Activate", + cycle: "Cycle", + "click ancestor": "Click ancestor", +}; diff --git a/accessible/tests/mochitest/actions/a11y.ini b/accessible/tests/mochitest/actions/a11y.ini new file mode 100644 index 0000000000..5669e8d963 --- /dev/null +++ b/accessible/tests/mochitest/actions/a11y.ini @@ -0,0 +1,17 @@ +[DEFAULT] +support-files = + !/accessible/tests/mochitest/*.js + !/dom/media/test/bug461281.ogg + +[test_anchors.html] +[test_aria.html] +[test_controls.html] +[test_general.html] +[test_general.xhtml] +[test_keys.html] +[test_keys.xhtml] +[test_link.html] +[test_media.html] +[test_select.html] +[test_tree.xhtml] +[test_treegrid.xhtml] diff --git a/accessible/tests/mochitest/actions/test_anchors.html b/accessible/tests/mochitest/actions/test_anchors.html new file mode 100644 index 0000000000..6ee1e0c450 --- /dev/null +++ b/accessible/tests/mochitest/actions/test_anchors.html @@ -0,0 +1,146 @@ + + + + nsIAccessible actions testing for HTML links that + scroll the page to named anchors + + + + + + + + + + + + + + + + Mozilla Bug 506389 +
+ + Mozilla Bug 437607 +
+ + Mozilla Bug 519303 + + +

+ +
+  
+ +
+ +

This is a test page for anchors

+ This is a top anchor + Link to anchor + Link to div +









+









+









+









+









+









+









+









+









+









+










+










+









+









+




This is some text in the middle




+









+









+









+









+









+









+









+









+









+









+









+









+









+









+









+









+









+









+









+ This is some text. + This is a bottom anchor +









+









+









+
This is a div
+ + diff --git a/accessible/tests/mochitest/actions/test_aria.html b/accessible/tests/mochitest/actions/test_aria.html new file mode 100644 index 0000000000..7ec0f8ed35 --- /dev/null +++ b/accessible/tests/mochitest/actions/test_aria.html @@ -0,0 +1,200 @@ + + + + nsIAccessible actions testing + + + + + + + + + + + + + + + + Mozilla Bug 410765 + +

+ +
+  
+ +
Clickable text
+ +
Button
+ + + + + + + +
+
Option of collapsed combobox
+
+ +
+
Option of expanded combobox
+
+ + + +
+ + + +
+ +
+ +
+ +
Switch
+ +
Switch
+ +
+ +
+ +
Textbox
+ +
+
Treeitem
+
+ +
+
+ Columnheader +
+
+ + +
expanded
+ + diff --git a/accessible/tests/mochitest/actions/test_controls.html b/accessible/tests/mochitest/actions/test_controls.html new file mode 100644 index 0000000000..8b6f413619 --- /dev/null +++ b/accessible/tests/mochitest/actions/test_controls.html @@ -0,0 +1,107 @@ + + + + nsIAccessible actions testing for inputs + + + + + + + + + + + + + + + + + + Mozilla Bug 477975 + +

+ +
+  
+ + + + + + Checkbox + + Checkbox + + Checkbox + +
+ Radio +
+ + + + + + diff --git a/accessible/tests/mochitest/actions/test_general.html b/accessible/tests/mochitest/actions/test_general.html new file mode 100644 index 0000000000..025b18f175 --- /dev/null +++ b/accessible/tests/mochitest/actions/test_general.html @@ -0,0 +1,105 @@ + + + + nsIAccessible actions testing on HTML elements + + + + + + + + + + + + + + + + Mozilla Bug 523789 +
+ + Mozilla Bug 423409 + + + Mozilla Bug 659620 + +

+ +
+  
+ + + + + + + linkable textleaf accessible +
linkable textleaf accessible
+ +
+ + +
+ + + diff --git a/accessible/tests/mochitest/actions/test_general.xhtml b/accessible/tests/mochitest/actions/test_general.xhtml new file mode 100644 index 0000000000..5b376b9624 --- /dev/null +++ b/accessible/tests/mochitest/actions/test_general.xhtml @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + Mozilla Bug 410765 + + + Mozilla Bug 504252 +
+

+ +
+      
+ + + + + + + + + + + + + + + + + + + +
+
+ diff --git a/accessible/tests/mochitest/actions/test_keys.html b/accessible/tests/mochitest/actions/test_keys.html new file mode 100644 index 0000000000..acacb34c09 --- /dev/null +++ b/accessible/tests/mochitest/actions/test_keys.html @@ -0,0 +1,57 @@ + + + + + Keyboard shortcuts tests + + + + + + + + + + + + + + Mozilla Bug 381599 + +

+ +
+  
+ + +