Commit graph

3763 commits

Author SHA1 Message Date
Luca Greco
66af15da8d Bug 1853617 - Clear all logins included FxAccounts ones in test_ext_browsingData_passwords test and re-enable it on windows11 conditioned profile jobs. r=jmaher,robwu
Differential Revision: https://phabricator.services.mozilla.com/D189148
2023-09-25 19:07:35 +00:00
Mark Banner
b23ba99911 Bug 1832704 - Remove SearchService's init-complete, replace by a promise that resolves or rejects as appropriate. r=mcheang,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D187512
2023-09-25 10:44:49 +00:00
Joel Maher
a437fdd3c0 Bug 1853617 - skip test_ext_browsingData_passwords.js on condprof. r=aryx,extension-reviewers,rpl
Differential Revision: https://phabricator.services.mozilla.com/D188999
2023-09-22 19:02:48 +00:00
Tom Marble
d596ebea8e Bug 1853243 - convert .ini manifests to .toml: batch 5 browser/**/browser.ini r=jmaher,mossop,webcompat-reviewers,twisniewski,search-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D188427
2023-09-21 22:47:07 +00:00
Gregory Pappas
6e1275a748 Bug 1843999 - Remove dom.animations-api.core.enabled, dom.animations-api.implicit-keyframes.enabled, and dom.animations-api.autoremove.enabled prefs r=dom-core,webidl,devtools-reviewers,firefox-animation-reviewers,saschanaz,edgar
Differential Revision: https://phabricator.services.mozilla.com/D183827
2023-09-20 08:55:50 +00:00
Luca Greco
91738ce7af Bug 1852391 - gBrowser _notifyPinnedStatus should account for discarded tabs. r=Gijs,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D188581
2023-09-19 15:24:13 +00:00
Sandor Molnar
80544101c7 Backed out changeset f0a2aa2ffe6d (bug 1832704) for causing xpc failures in toolkit/components/search/tests/xpcshell/test_async.js 2023-09-19 03:19:30 +03:00
Mark Banner
b39259bede Bug 1832704 - Remove SearchService's init-complete, replace by a promise that resolves or rejects as appropriate. r=mcheang,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D187512
2023-09-18 15:09:56 +00:00
Iulian Moraru
c92a2c5439 Backed out changeset 0ad87df402c6 (bug 1853515) for causing bc failures on browser_ext_browserAction_pageAction_icon.js. CLOSED TREE 2023-09-18 15:15:55 +03:00
Emilio Cobos Álvarez
e3891ed849 Bug 1853515 - Simplify webextension toolbar icons. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D188407
2023-09-18 09:45:43 +00:00
Marco Bonardo
70fdad6676 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-15 09:16:34 +00:00
Sandor Molnar
950a3c620d Backed out 3 changesets (bug 1852963) for causing remote failures on remote/shared/messagehandler/test/browser/browser_session_data.js CLOSED TREE
Backed out changeset 98de7bc404c3 (bug 1852963)
Backed out changeset edf1527c9a99 (bug 1852963)
Backed out changeset 34357750f69c (bug 1852963)
2023-09-14 20:29:06 +03:00
Marco Bonardo
61f8ecc425 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-14 16:33:13 +00:00
Sam Foster
0db730dada Bug 1833522 - Add closed tabs from closed windows to the history:recently-closed tab menus. r=dao,extension-reviewers,sessionstore-reviewers,sclements,robwu,Standard8,fxview-reviewers
* Change the signature for SessionStore.getClosedTabCount to accept either a window or options object
* Extend tests for the recently-closed-tabs menu(s)
* Add a test manifest to run the session/recently-closed tabs related extension tests with the
  legacy (false) values for the all-windows and closed tabs from closed windows prefs

Differential Revision: https://phabricator.services.mozilla.com/D186400
2023-09-08 00:36:32 +00:00
Mark Banner
db70ee3220 Bug 1563927 - Fix existing JSON issues detected by eslint-plugin-json. r=Gijs,extension-reviewers,rpl
Differential Revision: https://phabricator.services.mozilla.com/D186881
2023-09-05 12:59:30 +00:00
Rob Wu
8f09f6a6ff Bug 1845739 - About test case in browser_ext_windows_create_url.js r=zombie
This also refactors the test to improve its reliability and clarity.
Previously, the "fail" test cases ran after the test signaled completion
of the test, which means that it wasn't reliable at detecting expected
failures.

Differential Revision: https://phabricator.services.mozilla.com/D186131
2023-08-31 17:19:04 +00:00
Rob Wu
fcc63c500b Bug 1845739 - windows.create consistent with tabs.create r=zombie
This also fixes bug 1835484

Differential Revision: https://phabricator.services.mozilla.com/D186130
2023-08-31 17:19:04 +00:00
Alexandre Poirot
a412242182 Bug 1845768 - [devtools] Only try to open URL as JS files in debugger/view-source if DevTools are opened in the current tab. r=devtools-reviewers,perftest-reviewers,jdescottes,sparky
This will prevent opening any links with the ":\d+" suffix anytime devtools were opened in the past.

Differential Revision: https://phabricator.services.mozilla.com/D185826
2023-08-21 08:01:36 +00:00
Hanpu Liu Charles
af4d15c34d Bug 1817779 - Implemented tabs.detectLanguage for Android, r=robwu,geckoview-reviewers,extension-reviewers,owlish,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D184942
2023-08-16 09:05:20 +00:00
Neil Deakin
5fae98f0e4 Bug 1846036, replace usage of findLogins with searchLoginsAsync, r=credential-management-reviewers,sync-reviewers,joschmidt,markh
One caller in modifyLogin is switched to synchronous searchLogins, we can switch this later to add an asyncronous version of modifyLogin

Differential Revision: https://phabricator.services.mozilla.com/D184840
2023-08-15 00:21:05 +00:00
Iulian Moraru
04ddb49c81 Backed out changeset c8c9ef33bbcf (bug 1817779) for causing mochitest-plain failures on test_ext_all_apis.html. CLOSED TREE 2023-08-14 17:59:30 +03:00
Hanpu Liu Charles
4d4f9a2c43 Bug 1817779 - Implemented tabs.detectLanguage for Android, r=robwu,geckoview-reviewers,extension-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D184942
2023-08-14 14:00:41 +00:00
Malte Juergens
2e785bff03 Bug 1835983: Update browser/components/extensions/test/browser/browser_ext_tabs_move_* to work with https-first enabled r=ckerschb,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D184358
2023-08-07 13:00:27 +00:00
Sandor Molnar
f0fc62f087 Backed out changeset b463b9cd8aef (bug 1846036) for causing failures in toolkit/components/passwordmgr/test/mochitest/test_prompt.html CLOSED TREE 2023-08-05 02:15:47 +03:00
Neil Deakin
a60cb82de8 Bug 1846036, replace usage of findLogins with searchLoginsAsync, r=credential-management-reviewers,sync-reviewers,joschmidt,markh
One caller in modifyLogin is switched to synchronous searchLogins, we can switch this later to add an asyncronous version of modifyLogin

Differential Revision: https://phabricator.services.mozilla.com/D184840
2023-08-04 18:36:03 +00:00
Luca Greco
54192d9a01 Bug 1775558 - await on promiseDocumentFlushed before call to openExtensionContextMenu. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D185287
2023-08-03 13:36:18 +00:00
Mike Conley
11fa906792 Bug 1807023 - Record successfully matched and failed-to-match extension ids during import. data-review=chutten. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D184512
2023-08-03 13:13:43 +00:00
Gregory Pappas
8a35d5cf5f Bug 1845311 - [Part 2] Use ChromeUtils.defineLazyGetter in more places r=arai,webcompat-reviewers,necko-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sync-reviewers,anti-tracking-reviewers,tabbrowser-reviewers,bytesized,twisniewski,sgalich,mak,kershaw,sclements,pbz,robwu,geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D184623
2023-08-01 23:01:02 +00:00
Gregory Pappas
3eac12bbd7 Bug 1845311 - Use ChromeUtils.defineLazyGetter in more places r=arai,webdriver-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,joschmidt,robwu,issammani,bytesized,owlish,dao
Differential Revision: https://phabricator.services.mozilla.com/D184481
2023-07-26 16:28:11 +00:00
Tomislav Jovanovic
0244ec76a4 Bug 1838234 - Implement Quarantine controls in extensions panel and context menus, r=bolsson,willdurand
Differential Revision: https://phabricator.services.mozilla.com/D182375
2023-07-24 19:51:07 +00:00
Emilio Cobos Álvarez
e5b3bc7cde Bug 1844674 - Account for screen slop when calculating available top/left in extension window apis. r=extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D184239
2023-07-21 22:54:01 +00:00
Tooru Fujisawa
cdebb55709 Bug 1766765 - Update the comment that mentions ContentLinkHandler.jsm to point FaviconLoader.sys.mjs instead. r=Gijs DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D183641
2023-07-18 19:59:26 +00:00
Mark Banner
0b2d2afdea Bug 1837176 - Convert imports of httpd.js to consume the ES module directly. r=necko-reviewers,webcompat-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,robwu,issammani,bytesized,pbz,valentin
Differential Revision: https://phabricator.services.mozilla.com/D181159
2023-07-12 13:38:34 +00:00
Sam Foster
224b568ae4 Bug 1819675 - Introduce a feature pref to toggle the recently-closed tabs from all windows behavior.r=sclements,dao,extension-reviewers,fxview-reviewers,robwu,sessionstore-reviewers
* Add a default-true pref to provide an escape hatch allowing us to revert to previous behavior
* in which recently-closed tabs are per-window,
* and undoing closed tabs restores them to the window they were closed from.
* Ensure we set the pref for tests which depend on its value
* Add some spot-checks in tests with the pref off

Differential Revision: https://phabricator.services.mozilla.com/D179574
2023-07-06 22:49:52 +00:00
Sam Foster
a24c7b1d6b Bug 1819675 - Include tabs from all windows in all views of recently-closed tabs and re-open them into the current window. r=dao,sclements,fxview-reviewers,fluent-reviewers,flod,robwu,sessionstore-reviewers,tabbrowser-reviewers
* Menu Bar History menu recently-closed tab items includes closed tabs from all currently-open windows
* Toolbar/Appmenu history menu recently-closed tabs list includes closed tabs from all currently-open windows
* Firefox view recently-closed tab list includes closed tabs from all currently-open windows
* All recently-closed tab menu/items re-open in the current window
* Re-open all tabs menu item re-opens all tabs into the current window

* Ensure we filter out tabs without any useful state in firefox-view
* Add a target window argument to undoCloseTab and undoCloseById
* undoCloseTab will remove the tab data from the source window collection and re-open the tab into the target window
* Add an options argument to SessionStore.getWindows to get all private or non-private windows
* Add a getWindowForTabClosedId method on SessionStore, allowing look-up of the window associated with a closed tab
* Ensure recently-closed tab lists only include tabs from non-private windows when attached (i.e. opened from) a non-private window. And vice-versa.
* Update the sessionstore closed tab tests to assert on the new behavior

* Update the browser.sessions.restore implementation to always find and pass the source window when restoring a closed tab
* sessions.restore should always restore closed tabs to the source window as there's no implicit top or current window in the API context

Differential Revision: https://phabricator.services.mozilla.com/D174501
2023-07-06 22:49:52 +00:00
Cosmin Sabou
f16c094fd9 Backed out 2 changesets (bug 1819675) for causing a spike in wpt and browser-chrome failures.
Backed out changeset aa4368bfb81a (bug 1819675)
Backed out changeset e5be8edfd9cf (bug 1819675)
2023-07-08 13:44:40 +03:00
Sam Foster
a4876c8eb5 Bug 1819675 - Introduce a feature pref to toggle the recently-closed tabs from all windows behavior.r=sclements,dao,extension-reviewers,fxview-reviewers,robwu,sessionstore-reviewers
* Add a default-true pref to provide an escape hatch allowing us to revert to previous behavior
* in which recently-closed tabs are per-window,
* and undoing closed tabs restores them to the window they were closed from.
* Ensure we set the pref for tests which depend on its value
* Add some spot-checks in tests with the pref off

Differential Revision: https://phabricator.services.mozilla.com/D179574
2023-07-06 22:49:52 +00:00
Sam Foster
39d8ed9ddf Bug 1819675 - Include tabs from all windows in all views of recently-closed tabs and re-open them into the current window. r=dao,sclements,fxview-reviewers,fluent-reviewers,flod,robwu,sessionstore-reviewers,tabbrowser-reviewers
* Menu Bar History menu recently-closed tab items includes closed tabs from all currently-open windows
* Toolbar/Appmenu history menu recently-closed tabs list includes closed tabs from all currently-open windows
* Firefox view recently-closed tab list includes closed tabs from all currently-open windows
* All recently-closed tab menu/items re-open in the current window
* Re-open all tabs menu item re-opens all tabs into the current window

* Ensure we filter out tabs without any useful state in firefox-view
* Add a target window argument to undoCloseTab and undoCloseById
* undoCloseTab will remove the tab data from the source window collection and re-open the tab into the target window
* Add an options argument to SessionStore.getWindows to get all private or non-private windows
* Add a getWindowForTabClosedId method on SessionStore, allowing look-up of the window associated with a closed tab
* Ensure recently-closed tab lists only include tabs from non-private windows when attached (i.e. opened from) a non-private window. And vice-versa.
* Update the sessionstore closed tab tests to assert on the new behavior

* Update the browser.sessions.restore implementation to always find and pass the source window when restoring a closed tab
* sessions.restore should always restore closed tabs to the source window as there's no implicit top or current window in the API context

Differential Revision: https://phabricator.services.mozilla.com/D174501
2023-07-06 22:49:52 +00:00
Luca Greco
7afdf92429 Bug 1837670 - Update extension button's quarantined domains warning messagebar to mention user controls for exempting specific extensions. r=willdurand,flod,fluent-reviewers
Depends on D181079

Differential Revision: https://phabricator.services.mozilla.com/D182483
2023-06-30 10:19:50 +00:00
Kershaw Chang
705e17a537 Bug 1838829 - Skip failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,dimi,valentin,robwu
Differential Revision: https://phabricator.services.mozilla.com/D181251
2023-06-28 13:21:00 +00:00
William Durand
60d408d580 Bug 1838466 - Show a notification in about:addons when there are imported add-ons to install. r=rpl,fluent-reviewers,flod
Depends on D181747

Differential Revision: https://phabricator.services.mozilla.com/D181893
2023-06-27 19:13:32 +00:00
Norisz Fay
07a91b8c6a Backed out 2 changesets (bug 1838829) for causing perma mochitest failure with dom/websocket/tests being skipped CLOSED TREE
Backed out changeset 19a5d4f1850a (bug 1838829)
Backed out changeset 97cd8a256954 (bug 1838829)
2023-06-27 02:52:52 +03:00
Kershaw Chang
75c68b6864 Bug 1838829 - Skip failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,dimi,valentin,robwu
Differential Revision: https://phabricator.services.mozilla.com/D181251
2023-06-26 14:22:14 +00:00
Peter Van der Beken
b52a207bb0 Bug 1522052 - remove nsIDOMChromeWindow. r=dom-core,webdriver-reviewers,devtools-reviewers,whimboo,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D34310
2023-06-23 14:21:05 +00:00
William Durand
c8e1ee2af1 Bug 1839830 - Integrate AMBrowserExtensionsImport with the migration wizard UI. r=mconley,mixedpuppy
Depends on D181465

Differential Revision: https://phabricator.services.mozilla.com/D181747
2023-06-23 12:25:55 +00:00
William Durand
e5c860d78a Bug 1838465 - Show an appmenu notification when the user has imported add-ons to install. r=rpl,flod
Depends on D181398

Differential Revision: https://phabricator.services.mozilla.com/D181465
2023-06-22 15:34:14 +00:00
Gregory Pappas
4b964d39ba Bug 1814905 - Implement action.getUserSettings r=robwu,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D169102
2023-06-22 15:22:19 +00:00
Norisz Fay
e86f1fa0e9 Backed out 5 changesets (bug 1838829) for causing mochitest failures CLOSED TREE
Backed out changeset 693d34c8447d (bug 1838829)
Backed out changeset 903d9ff4afaa (bug 1838829)
Backed out changeset 5e51feff7467 (bug 1838829)
Backed out changeset e125be49d2a6 (bug 1838829)
Backed out changeset 1a8cf3c83dc4 (bug 1838829)
2023-06-22 03:37:07 +03:00
Kershaw Chang
2cdb6b3a96 Bug 1838829 - Skip failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,dimi,valentin,robwu
Differential Revision: https://phabricator.services.mozilla.com/D181251
2023-06-21 19:43:33 +00:00
Gregory Pappas
fb28cc97e2 Bug 1809094 - Implement tab.autoDiscardable property r=robwu,geckoview-reviewers,extension-reviewers,Gijs,owlish,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D166440
2023-06-21 07:50:17 +00:00