gecko-dev/toolkit/content/tests/chrome
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
..
rtlchrome
RegisterUnregisterChrome.js
bug263683_window.xhtml Bug 1656291 - Enable all ESLint rules for some files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:23:27 +00:00
bug304188_window.xhtml Bug 1656291 - Enable all ESLint rules for some files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:23:27 +00:00
bug331215_window.xhtml Bug 1656291 - Enable all ESLint rules for some files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:23:27 +00:00
bug360437_window.xhtml Bug 1656291 - Enable all ESLint rules for some files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:23:27 +00:00
bug366992_window.xhtml Bug 1656291 - Enable all ESLint rules for some files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:23:27 +00:00
bug409624_window.xhtml Bug 1656291 - Enable all ESLint rules for some files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:23:27 +00:00
bug429723_window.xhtml Bug 1656291 - Enable all ESLint rules for some files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:23:27 +00:00
bug451540_window.xhtml Bug 1656291 - Enable all ESLint rules for some files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:23:27 +00:00
bug624329_window.xhtml
chrome.ini Bug 1557754 - Don't allow locked preferences to be enabled. r=Gijs 2020-04-24 16:50:37 +00:00
dialog_dialogfocus.xhtml Bug 1656291 - Enable all ESLint rules for some files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:23:27 +00:00
dialog_dialogfocus2.xhtml
file_about_networking_wsh.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
file_autocomplete_with_composition.js
file_edit_contextmenu.xhtml Bug 1606018 - Make sure edit context menu also appears on inputs inside shadow trees. r=bgrins 2020-02-06 19:15:17 +00:00
file_editor_with_autocomplete.js Bug 1607131 - Make `beforeinput` event for `MozEditableElement.setUserInput()` not cancelable by default r=smaug 2020-10-20 00:13:43 +00:00
file_empty.xhtml
findbar_entireword_window.xhtml Bug 1656291 - Enable all ESLint rules for some files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:23:27 +00:00
findbar_events_window.xhtml Bug 1656291 - Enable all ESLint rules for some files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:23:27 +00:00
findbar_window.xhtml Bug 1656291 - Enable all ESLint rules for some files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:23:27 +00:00
frame_popup_anchor.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
frame_popupremoving_frame.xhtml
frame_subframe_origin_subframe1.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
frame_subframe_origin_subframe2.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
popup_childframe_node.xhtml
popup_trigger.js
sample_entireword_latin1.html
test_about_networking.html
test_arrowpanel.xhtml Bug 1666497 - Don't flush layout from popuppositioned events. r=mconley,Gijs,smaug 2020-10-06 16:28:41 +00:00
test_autocomplete2.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_autocomplete3.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_autocomplete4.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_autocomplete5.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_autocomplete_emphasis.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_autocomplete_mac_caret.xhtml Bug 1620778 - Fix interaction of up/down keys with autocomplete and <input type=number>. r=masayuki,smaug 2020-03-16 15:50:31 +00:00
test_autocomplete_placehold_last_complete.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_autocomplete_with_composition_on_input.html
test_browser_drop.xhtml Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
test_bug263683.xhtml
test_bug304188.xhtml
test_bug331215.xhtml
test_bug360220.xhtml
test_bug360437.xhtml
test_bug365773.xhtml
test_bug366992.xhtml
test_bug382990.xhtml
test_bug409624.xhtml
test_bug418874.xhtml
test_bug429723.xhtml
test_bug437844.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_bug451540.xhtml
test_bug457632.xhtml
test_bug460942.xhtml
test_bug471776.xhtml
test_bug509732.xhtml
test_bug557987.xhtml
test_bug562554.xhtml
test_bug624329.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_bug792324.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_bug1048178.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_button.xhtml
test_chromemargin.xhtml
test_closemenu_attribute.xhtml
test_contextmenu_list.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_cursorsnap.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_custom_element_base.xhtml
test_custom_element_delay_connection.xhtml
test_custom_element_parts.html
test_deck.xhtml
test_dialogfocus.xhtml Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
test_edit_contextmenu.html Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
test_editor_for_input_with_autocomplete.html Bug 970802 - part 1: Add `beforeinput` event tests into existing mochitests r=smaug 2020-01-14 07:14:50 +00:00
test_findbar.xhtml
test_findbar_entireword.xhtml
test_findbar_events.xhtml
test_frames.xhtml
test_hiddenitems.xhtml
test_hiddenpaging.xhtml
test_keys.xhtml
test_labelcontrol.xhtml
test_largemenu.html
test_maximized_persist.xhtml Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
test_menu.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_menu_hide.xhtml
test_menu_withcapture.xhtml
test_menuchecks.xhtml
test_menuitem_blink.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_menuitem_commands.xhtml
test_menulist.xhtml Bug 1656291 - Enable all ESLint rules for some more xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-04 06:25:01 +00:00
test_menulist_keynav.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_menulist_null_value.xhtml
test_menulist_paging.xhtml
test_menulist_position.xhtml Bug 1624482 - Scope menulist styles to its own component using shadow DOM. r=dao 2020-04-08 20:00:30 +00:00
test_mousescroll.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_mozinputbox_dictionary.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_navigate_persist.html Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
test_notificationbox.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_panel.xhtml
test_panel_anchoradjust.xhtml
test_panel_focus.xhtml
test_panelfrommenu.xhtml
test_popup_anchor.xhtml
test_popup_anchoratrect.xhtml
test_popup_attribute.xhtml
test_popup_button.xhtml
test_popup_coords.xhtml
test_popup_keys.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_popup_moveToAnchor.xhtml
test_popup_preventdefault.xhtml
test_popup_preventdefault_chrome.xhtml
test_popup_recreate.xhtml
test_popup_scaled.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_popup_tree.xhtml
test_popuphidden.xhtml
test_popupincontent.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_popupremoving.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_popupremoving_frame.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_position.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_preferences.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_preferences_beforeaccept.xhtml Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
test_preferences_onsyncfrompreference.xhtml Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
test_props.xhtml
test_radio.xhtml
test_richlistbox.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_screenPersistence.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_scrollbar.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_showcaret.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_subframe_origin.xhtml
test_tabbox.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_tabindex.xhtml
test_textbox_search.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_titlebar.xhtml
test_tooltip.xhtml
test_tooltip_noautohide.xhtml
test_tree.xhtml
test_tree_hier.xhtml
test_tree_single.xhtml
test_tree_view.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
test_window_intrinsic_size.xhtml Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
window_browser_drop.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_chromemargin.xhtml
window_cursorsnap_dialog.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_cursorsnap_wizard.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_intrinsic_size.xhtml
window_keys.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_largemenu.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_maximized_persist.xhtml
window_navigate_persist.html
window_panel.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_panel_anchoradjust.xhtml Bug 1666497 - Fix various issues with anchored popups. r=NeilDeakin 2020-10-06 16:28:33 +00:00
window_panel_focus.xhtml
window_popup_anchor.xhtml
window_popup_anchoratrect.xhtml
window_popup_attribute.xhtml
window_popup_button.xhtml
window_popup_preventdefault_chrome.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_preferences.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_preferences2.xhtml
window_preferences3.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_preferences_beforeaccept.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_preferences_commandretarget.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_preferences_disabled.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_preferences_onsyncfrompreference.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_screenPosSize.xhtml Backed out changeset 887f1769a2c6 (bug 1609446) for causing bc permafails in browser/base/content/test/webextensions/browser_permissions_installTrigger.js CLOSED TREE 2020-04-15 08:20:48 +03:00
window_showcaret.xhtml
window_subframe_origin.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_titlebar.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
window_tooltip.xhtml Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8 2020-09-07 12:57:10 +00:00
xul_selectcontrol.js