Name Description Size
.eslintrc.js 76
browser.ini 6036
browser_ext_addressBooksUI.js 3580
browser_ext_browserAction_customized.js 825
browser_ext_browserAction_not_customized.js 474
browser_ext_browserAction_popup_click.js 15064
browser_ext_browserAction_popup_click_mv3_event_pages.js 2264
browser_ext_browserAction_popup_focus.js 6488
browser_ext_browserAction_properties.js 30565
browser_ext_bug1812530.js @implements {nsIExternalProtocolService} 6086
browser_ext_clickHandler.js @implements {nsIExternalProtocolService} 23960
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 -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 6919
browser_ext_commands_execute_compose_action.js -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 3927
browser_ext_commands_execute_message_display_action.js -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 4677
browser_ext_commands_getAll.js -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 4465
browser_ext_commands_onChanged.js 1799
browser_ext_commands_onCommand.js -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 15598
browser_ext_commands_onCommand_bug1845236.js -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 2033
browser_ext_commands_update.js -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 11317
browser_ext_compose_attachments.js 73755
browser_ext_compose_begin_attachments.js 4330
browser_ext_compose_begin_body.js 12575
browser_ext_compose_begin_bug1691254.js Test if line breaks in HTML are ignored (see bug 1691254). 4977
browser_ext_compose_begin_forward.js Test if getComposeDetails() is waiting until the entire init procedure of the composeWindow has finished, before returning values. 12556
browser_ext_compose_begin_headers.js 6365
browser_ext_compose_begin_headers_mv3.js 6644
browser_ext_compose_begin_identity.js 3524
browser_ext_compose_begin_new.js Test if getComposeDetails() is waiting until the entire init procedure of the composeWindow has finished, before returning values. 5146
browser_ext_compose_begin_reply.js Test if getComposeDetails() is waiting until the entire init procedure of the composeWindow has finished, before returning values. 5528
browser_ext_compose_bug1692439.js 4904
browser_ext_compose_bug1804796.js 2848
browser_ext_compose_bug1882725.js Test to make sure we get the menu entry in the context menu of a scrolled compose editor. 2970
browser_ext_compose_details.js 40657
browser_ext_compose_details_body.js 23006
browser_ext_compose_details_headers.js 26450
browser_ext_compose_details_mv3.js 39322
browser_ext_compose_dictionaries.js 6906
browser_ext_compose_onBeforeSend.js 39979
browser_ext_compose_printPreview.js 8398
browser_ext_compose_saveAuto.js 5607
browser_ext_compose_saveDraft.js 12639
browser_ext_compose_saveTemplate.js 13437
browser_ext_compose_sendMessage.js 20358
browser_ext_compose_sendMessage_mv3.js 5647
browser_ext_composeAction.js 7634
browser_ext_composeAction_popup_click.js 9461
browser_ext_composeAction_popup_click_mv3_event_pages.js 1569
browser_ext_composeAction_properties.js 16936
browser_ext_composeScripts.js Tests browser.tabs.insertCSS and browser.tabs.removeCSS. 20471
browser_ext_composeScripts_mv3.js Tests browser.scripting.insertCSS and browser.scripting.removeCSS. 22140
browser_ext_content_handler.js 10607
browser_ext_content_handler_with_prompt.js 11664
browser_ext_content_tabs_navigation_menu.js 7494
browser_ext_contentScripts.js Tests browser.tabs.insertCSS and browser.tabs.removeCSS. 18757
browser_ext_contentScripts_mv3.js Tests browser.scripting.insertCSS and browser.scripting.removeCSS. 19197
browser_ext_mailTabs.js 37443
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 11152
browser_ext_mailTabs_create.js 7925
browser_ext_mailTabs_folderModes.js 9261
browser_ext_mailTabs_getListedMessages.js 4220
browser_ext_mailTabs_mv3.js 30700
browser_ext_menus_context_action.js 13744
browser_ext_menus_context_compose.js 5330
browser_ext_menus_context_content.js 6228
browser_ext_menus_context_folder_pane.js 3389
browser_ext_menus_context_icons.js 7402
browser_ext_menus_context_message_panes.js 5036
browser_ext_menus_context_tabs.js 2397
browser_ext_menus_context_tools_main_menu.js 4413
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 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 10489
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 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 10496
browser_ext_menus_popup_action.js 11399
browser_ext_menus_replace_menu.js 20583
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:// 12474
browser_ext_message_external.js 14938
browser_ext_messageDisplay.js 37045
browser_ext_messageDisplay_bug1827032.js Test to make sure messageDisplay.getDisplayedMessage() returns null for non-message tabs. 1239
browser_ext_messageDisplay_bug1828056.js Open a message tab and request its message immediately. 5837
browser_ext_messageDisplay_open_file.js 7173
browser_ext_messageDisplay_open_headerMessageId.js 7323
browser_ext_messageDisplay_open_messageId.js 7203
browser_ext_messageDisplayAction.js 9821
browser_ext_messageDisplayAction_popup_click.js 10570
browser_ext_messageDisplayAction_popup_click_mv3_event_pages.js 2969
browser_ext_messageDisplayAction_properties.js 19146
browser_ext_messageDisplayScripts.js Tests browser.tabs.insertCSS and browser.tabs.removeCSS. 31652
browser_ext_messageDisplayScripts_mv3.js Tests browser.scripting.insertCSS and browser.scripting.removeCSS. 32403
browser_ext_messages_open_attachment.js 3172
browser_ext_quickFilter.js 7967
browser_ext_runtime_getContexts.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 13724
browser_ext_sessions.js 2836
browser_ext_spaces.js Helper Function, creates a test extension to verify expected button states. @param {Function} background - The background script executed by the test. @param {object} config - Additional config data for the test. Tests can include arbitrary data, but the following have a dedicated purpose: @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. @param {?object} permissions - Permissions assigned to the extension. 35314
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. 25966
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. 10193
browser_ext_tabs_cookieStoreId.js -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 8471
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. 21368
browser_ext_tabs_create_update_with_mocked_application_chooser.js @implements {nsIExternalProtocolService} 15388
browser_ext_tabs_create_update_with_real_application_chooser.js ignore non-web-app handlers 18819
browser_ext_tabs_events.js 20306
browser_ext_tabs_move.js 10277
browser_ext_tabs_onCreated_bug1817872.js Open a message tab and check its status, wait till loaded and get the message. 6496
browser_ext_tabs_query.js 4861
browser_ext_theme_experiment_message_browser.js 2863
browser_ext_themes_onUpdated.js 4486
browser_ext_tooltip_in_extension_pages.js 21561
browser_ext_windows.js @implements {nsIExternalProtocolService} 15751
browser_ext_windows_bug1732559_bug1902844.js 3299
browser_ext_windows_create_normal_cookieStoreId.js -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 3553
browser_ext_windows_create_popup_cookieStoreId.js -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 7673
browser_ext_windows_events.js 14707
browser_ext_windows_types.js 4284
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. 59261
head_menus.js globals synthesizeMouseAtCenterAndRetry, awaitBrowserLoaded, closeMenuPopup, clickItemInMenuPopup, openSubMenuPopup 20952
messages
test_browserAction.js 23141