.eslintrc.js |
|
76 |
browser.ini |
|
6319 |
browser_ext_addressBooksUI.js |
|
3595 |
browser_ext_browserAction_customized.js |
|
840 |
browser_ext_browserAction_not_customized.js |
|
489 |
browser_ext_browserAction_popup_click.js |
|
15089 |
browser_ext_browserAction_popup_click_mv3_event_pages.js |
|
2154 |
browser_ext_browserAction_popup_focus.js |
|
6558 |
browser_ext_browserAction_properties.js |
|
30580 |
browser_ext_bug1812530.js |
@implements {nsIExternalProtocolService} |
6118 |
browser_ext_clickHandler.js |
@implements {nsIExternalProtocolService} |
32686 |
browser_ext_cloudFile.js |
Test cloudfile methods (getAccount, getAllAccounts, updateAccount) and
events (onAccountAdded, onAccountDeleted, onFileUpload, onFileUploadAbort,
onFileDeleted, onFileRename) without UI interaction.
|
47283 |
browser_ext_commands_execute_browser_action.js |
|
7033 |
browser_ext_commands_execute_compose_action.js |
|
4035 |
browser_ext_commands_execute_message_display_action.js |
|
4791 |
browser_ext_commands_getAll.js |
|
4573 |
browser_ext_commands_onChanged.js |
|
2005 |
browser_ext_commands_onCommand.js |
{
name: "toggle-alt-shift-a",
shortcut: "Alt+Shift+A",
key: "A",
// Does not work in compose window on Mac.
skip: ["messageCompose"],
modifiers: {
altKey: true,
shiftKey: true,
},
},
|
15742 |
browser_ext_commands_onCommand_bug1845236.js |
|
2147 |
browser_ext_commands_openShortcutSettings.js |
|
8340 |
browser_ext_commands_update.js |
eslint-disable mozilla/no-redeclare-with-import-autofix |
11757 |
browser_ext_compose_attachments.js |
|
73796 |
browser_ext_compose_begin_attachments.js |
|
4360 |
browser_ext_compose_begin_body.js |
|
12611 |
browser_ext_compose_begin_bug1691254.js |
Test if line breaks in HTML are ignored (see bug 1691254). |
5013 |
browser_ext_compose_begin_forward.js |
Test if getComposeDetails() is waiting until the entire init procedure of
the composeWindow has finished, before returning values. |
12554 |
browser_ext_compose_begin_headers.js |
|
6395 |
browser_ext_compose_begin_headers_mv3.js |
|
6674 |
browser_ext_compose_begin_identity.js |
|
3591 |
browser_ext_compose_begin_new.js |
Test if getComposeDetails() is waiting until the entire init procedure of
the composeWindow has finished, before returning values. |
5138 |
browser_ext_compose_begin_reply.js |
Test if getComposeDetails() is waiting until the entire init procedure of
the composeWindow has finished, before returning values. |
5520 |
browser_ext_compose_bug1692439.js |
|
4924 |
browser_ext_compose_bug1804796.js |
|
2878 |
browser_ext_compose_bug1882725.js |
Test to make sure we get the menu entry in the context menu of a scrolled compose
editor.
|
2985 |
browser_ext_compose_details.js |
|
40592 |
browser_ext_compose_details_body.js |
|
22957 |
browser_ext_compose_details_headers.js |
|
26481 |
browser_ext_compose_details_mv3.js |
|
39257 |
browser_ext_compose_dictionaries.js |
|
6941 |
browser_ext_compose_onBeforeSend.js |
|
40056 |
browser_ext_compose_printPreview.js |
|
8432 |
browser_ext_compose_saveAuto.js |
|
5620 |
browser_ext_compose_saveDraft.js |
|
12671 |
browser_ext_compose_saveTemplate.js |
|
13451 |
browser_ext_compose_sendMessage.js |
|
20372 |
browser_ext_compose_sendMessage_mv3.js |
|
5665 |
browser_ext_composeAction.js |
|
7657 |
browser_ext_composeAction_popup_click.js |
|
9480 |
browser_ext_composeAction_popup_click_mv3_event_pages.js |
|
1588 |
browser_ext_composeAction_properties.js |
|
16951 |
browser_ext_composeScripts.js |
Tests browser.tabs.insertCSS and browser.tabs.removeCSS. |
20516 |
browser_ext_composeScripts_mv3.js |
Tests browser.scripting.insertCSS and browser.scripting.removeCSS. |
22196 |
browser_ext_content_handler.js |
|
10629 |
browser_ext_content_handler_with_prompt.js |
|
11686 |
browser_ext_content_tabs_navigation_menu.js |
|
7522 |
browser_ext_contentScripts.js |
Tests browser.tabs.insertCSS and browser.tabs.removeCSS. |
21201 |
browser_ext_contentScripts_mv3.js |
Tests browser.scripting.insertCSS and browser.scripting.removeCSS. |
20746 |
browser_ext_mailTabs.js |
|
38275 |
browser_ext_mailTabs_context_clicks.js |
The goal of this test is to test the behavior of a context click on a message
in the thread pane (not) affecting the return value of
- mailTabs.getSelectedMessages()
- mailTabs.onSelectedMessagesChanged
- messageDisplay.getDisplayedMessages()
- menus.onClicked
|
11262 |
browser_ext_mailTabs_create.js |
|
8058 |
browser_ext_mailTabs_folderModes.js |
|
9294 |
browser_ext_mailTabs_getListedMessages.js |
|
4289 |
browser_ext_mailTabs_mv3.js |
|
30965 |
browser_ext_menus_context_action.js |
|
13767 |
browser_ext_menus_context_compose.js |
|
5354 |
browser_ext_menus_context_content.js |
|
6251 |
browser_ext_menus_context_folder_pane.js |
|
3412 |
browser_ext_menus_context_icons.js |
|
7425 |
browser_ext_menus_context_message_panes.js |
|
5059 |
browser_ext_menus_context_tabs.js |
|
2420 |
browser_ext_menus_context_tools_main_menu.js |
|
4436 |
browser_ext_menus_message_header_pane.js |
Check the parameters of a browser.onShown event that was fired.
@see mail/components/extensions/schemas/menus.json
@param {ExtensionWrapper} extension
@param {object} expectedInfo
@param {Array} expectedInfo.menuIds
@param {Array} expectedInfo.contexts
@param {?string} expectedInfo.linkText
@param {?string} expectedInfo.linkUrl
@param {object} expectedTab
@param {boolean} expectedTab.active
@param {integer} expectedTab.index
@param {boolean} expectedTab.mailTab
|
9691 |
browser_ext_menus_message_one_attachment.js |
Check the parameters of a browser.onShown event was fired.
@see mail/components/extensions/schemas/menus.json
@param {ExtensionWrapper} extension
@param {object} expectedInfo
@param {Array} expectedInfo.menuIds
@param {Array} expectedInfo.contexts
@param {?Array} expectedInfo.attachments
@param {object} expectedTab
@param {boolean} expectedTab.active
@param {integer} expectedTab.index
@param {boolean} expectedTab.mailTab
|
10534 |
browser_ext_menus_message_two_attachments.js |
Check the parameters of a browser.onShown event was fired.
@see mail/components/extensions/schemas/menus.json
@param {ExtensionWrapper} extension
@param {object} expectedInfo
@param {Array} expectedInfo.menuIds
@param {Array} expectedInfo.contexts
@param {?Array} expectedInfo.attachments
@param {object} expectedTab
@param {boolean} expectedTab.active
@param {integer} expectedTab.index
@param {boolean} expectedTab.mailTab
|
10547 |
browser_ext_menus_popup_action.js |
|
11422 |
browser_ext_menus_replace_menu.js |
|
20602 |
browser_ext_menus_replace_menu_context.js |
/tab.html"],
},
resolve
)
);
// When viewTypes is present, the document's URL is matched instead.
await new Promise(resolve =>
browser.menus.create(
{
id: "tab_context_viewType_http_unexpected",
title: "tab_context_viewType_http",
contexts: ["tab"],
viewTypes: ["tab"],
documentUrlPatterns: [HTTP_URL],
},
resolve
)
);
await new Promise(resolve =>
browser.menus.create(
{
id: "tab_context_viewType_moz",
title: "tab_context_viewType_moz",
contexts: ["tab"],
viewTypes: ["tab"],
documentUrlPatterns: ["moz-extension:// |
12475 |
browser_ext_message_external.js |
|
14925 |
browser_ext_messageDisplay.js |
|
37211 |
browser_ext_messageDisplay_bug1827032.js |
Test to make sure messageDisplay.getDisplayedMessage() returns null for
non-message tabs.
|
1254 |
browser_ext_messageDisplay_bug1828056.js |
Open a message tab and request its message immediately.
|
6063 |
browser_ext_messageDisplay_open_file.js |
|
7181 |
browser_ext_messageDisplay_open_headerMessageId.js |
|
7331 |
browser_ext_messageDisplay_open_messageId.js |
|
7211 |
browser_ext_messageDisplayAction.js |
|
9940 |
browser_ext_messageDisplayAction_popup_click.js |
|
10640 |
browser_ext_messageDisplayAction_popup_click_mv3_event_pages.js |
|
3046 |
browser_ext_messageDisplayAction_properties.js |
|
19132 |
browser_ext_messageDisplayScripts.js |
Tests browser.tabs.insertCSS and browser.tabs.removeCSS. |
32088 |
browser_ext_messageDisplayScripts_mv3.js |
Tests browser.scripting.insertCSS and browser.scripting.removeCSS. |
32781 |
browser_ext_messages_delete_attachments.js |
|
3132 |
browser_ext_messages_open_attachment.js |
|
3166 |
browser_ext_messages_update_ui.js |
|
2881 |
browser_ext_messages_user_action.js |
|
7578 |
browser_ext_quickFilter.js |
|
8104 |
browser_ext_runtime_getContexts.js |
|
13821 |
browser_ext_sessions.js |
|
2851 |
browser_ext_spaces.js |
|
23020 |
browser_ext_spaces_multiple.js |
|
6766 |
browser_ext_spacesToolbar.js |
Helper Function, creates a test extension to verify expected button states.
@param {Function} background - The background script executed by the test.
@param {string} selectedTheme - The selected theme (default, light or dark),
used to select the expected button/menuitem icon.
@param {?object} manifestIcons - The icons entry of the extension manifest.
|
26022 |
browser_ext_tabs_content.js |
Common core of the test. This is complicated by how WebExtensions tests work.
@param {Function} createTab - The code of this function is copied into the
extension. It should assign a function to `window.createTab` that opens
the tab to be tested and return the id of the tab.
@param {Function} getBrowser - A function to get the <browser> associated
with the tab.
|
10206 |
browser_ext_tabs_cookieStoreId.js |
|
8573 |
browser_ext_tabs_create_update_reload.js |
Update tabs to load registered WebExtension protocol handler pages and check
that it will work only for content tabs and mail tabs.
|
21388 |
browser_ext_tabs_create_update_with_mocked_application_chooser.js |
@implements {nsIExternalProtocolService} |
15406 |
browser_ext_tabs_create_update_with_real_application_chooser.js |
ignore non-web-app handlers |
18834 |
browser_ext_tabs_events.js |
|
21164 |
browser_ext_tabs_move.js |
|
10284 |
browser_ext_tabs_onCreated_bug1817872.js |
Open a message tab and check its status, wait till loaded and get the message.
|
6722 |
browser_ext_tabs_query.js |
|
4876 |
browser_ext_theme_experiment_message_browser.js |
|
2883 |
browser_ext_themes_onUpdated.js |
|
4698 |
browser_ext_tooltip_in_extension_pages.js |
|
21586 |
browser_ext_webrtc.js |
|
970 |
browser_ext_windows.js |
@implements {nsIExternalProtocolService} |
15999 |
browser_ext_windows_bug1732559_bug1902844.js |
|
3314 |
browser_ext_windows_create_normal_cookieStoreId.js |
|
3661 |
browser_ext_windows_create_popup_cookieStoreId.js |
|
8124 |
browser_ext_windows_events.js |
|
15230 |
browser_ext_windows_types.js |
|
4313 |
data |
|
|
head.js |
Generate a CSS image-set declaration for the given extension icons.
@param {string} url - Normal density icon URL, already wrapped in a CSS url().
@param {string} [url2x] - Optional double DPI icon URL, already wrapped in a
CSS url(). If not provided the normal density value is used.
@returns {string} The CSS image-set declaration as would be found in computed
styles.
|
62371 |
head_menus.js |
globals synthesizeMouseAtCenterAndRetry, awaitBrowserLoaded, closeMenuPopup, clickItemInMenuPopup, openSubMenuPopup |
20985 |
head_spaces.js |
globals getUtilsJS, contentTabOpenPromise, makeIconSet, closeMenuPopup |
7763 |
messages |
|
|
test_browserAction.js |
|
23161 |