Sam Foster
64ab169acc
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
5ddefef54e
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
e06f04f583
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
8c73084fff
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
c582a7cb7b
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
a17cc174f1
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
49115434d9
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
4314c23bc3
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
409e3fa522
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
a7a1d41243
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
96ae23fb76
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
da37f6c50c
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
8ae645cecc
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
7b8c07142a
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
Cosmin Sabou
811d79e739
Backed out changeset f3fe6cc42791 (bug 1809094) for bc failures on browser_ext_tabs_autoDiscardable.js.
2023-06-21 03:24:56 +03:00
Gregory Pappas
ad10790d6e
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-20 23:59:08 +00:00
Sandor Molnar
1e6677e684
Backed out changeset 0ee2d1b2ec37 (bug 1809094) for causing android bustages. CLOSED TREE
2023-06-21 02:20:26 +03:00
Gregory Pappas
b89c0a7e67
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-20 23:06:37 +00:00
Katherine Patenio
ce9d8a5dad
Bug 1834831 - update imports of browser/modules JSMs r=webdriver-reviewers,perftest-reviewers,zeid,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sessionstore-reviewers,tabbrowser-reviewers,whimboo,mhowell,sgalich,robwu,sparky,Standard8,mconley,dao,sclements
...
Differential Revision: https://phabricator.services.mozilla.com/D179169
2023-06-19 18:44:48 +00:00
Cristian Tuns
f826f1b621
Backed out 2 changesets (bug 1834831) for causing node failures with checkBundles CLOSED TREE
...
Backed out changeset 58b351a155c8 (bug 1834831)
Backed out changeset 1acbb5231d14 (bug 1834831)
2023-06-19 13:22:35 -04:00
Katherine Patenio
333197cd22
Bug 1834831 - update imports of browser/modules JSMs r=webdriver-reviewers,perftest-reviewers,zeid,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sessionstore-reviewers,tabbrowser-reviewers,whimboo,mhowell,sgalich,robwu,sparky,Standard8,mconley,dao,sclements
...
Differential Revision: https://phabricator.services.mozilla.com/D179169
2023-06-19 16:46:18 +00:00
Dão Gottwald
2b648df481
Bug 1835890 - Make sidebar switcher panel a normal menupopup. r=Itiel,extension-reviewers,mconley,rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D179877
2023-06-15 14:14:43 +00:00
Marco Castelluccio
e242e5b9dd
Bug 898315 - Update all callers of FileUtils.getDir to remove usage of the shouldCreate parameter. r=Gijs,extension-reviewers,application-update-reviewers,nalexander,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D180603
2023-06-15 08:10:45 +00:00
Noemi Erli
7ca9d6cc02
Backed out changeset 63ccd00a399a (bug 898315) for causing failures in test_no_window_update_restart.py CLOSED TREE
2023-06-15 03:21:27 +03:00
Marco Castelluccio
747c4ff841
Bug 898315 - Update all callers of FileUtils.getDir to remove usage of the shouldCreate parameter. r=Gijs,extension-reviewers,application-update-reviewers,nalexander,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D180603
2023-06-14 20:55:52 +00:00
Itiel
213e2bd9a9
Bug 1830679 - Convert element.setAttribute(data-l10n-{id,args}) uses in the codebase to document.l10n.setAttributes(element, id, args) r=eemeli,Gijs,willdurand,extension-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,mconley,Standard8,jdescottes,kcochrane,tabbrowser-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D176791
2023-06-14 17:16:39 +00:00
Marc Seibert
493096de39
Bug 1833091 - Replacing all set refs of UrlbarInput 'inputField.value'.r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D180228
2023-06-14 12:45:55 +00:00
Iulian Moraru
ff572127aa
Backed out changeset 76c5afdda762 (bug 1830679) for causing xpcshell failures on test_VariablesView_filtering-without-controller.js. CLOSED TREE
2023-06-12 22:03:43 +03:00
Itiel
548aeccf66
Bug 1830679 - Convert element.setAttribute(data-l10n-{id,args}) uses in the codebase to document.l10n.setAttributes(element, id, args) r=eemeli,Gijs,willdurand,extension-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,mconley,Standard8,jdescottes,kcochrane,tabbrowser-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D176791
2023-06-12 17:16:35 +00:00
Marco Castelluccio
6d94ea9cc9
Bug 1837739 - Use Services.prefs instead of Preferences.sys.mjs in extensions code. r=extension-reviewers,robwu DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D180536
2023-06-10 23:37:42 +00:00
William Durand
7d98f15a74
Bug 1836448 - Part 2: show attention "dot" on the extensions button for quarantined domains. r=zombie,fluent-reviewers,flod
...
Depends on D179780
Differential Revision: https://phabricator.services.mozilla.com/D180091
2023-06-09 14:58:03 +00:00
William Durand
fbd55117bc
Bug 1836448 - Part 1: show attention "dot" when an extension is quarantined from a domain. r=rpl,zombie,fluent-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D179780
2023-06-09 14:58:02 +00:00
William Durand
2799d3e5ca
Bug 1836771 - Add aria attributes to the message-bar notification used in the extensions panel. r=ayeddi
...
Differential Revision: https://phabricator.services.mozilla.com/D179957
2023-06-08 20:39:51 +00:00
Narcis Beleuzu
8f2b59f94b
Backed out 2 changesets (bug 1836448) for bc failure on browser_preferences_usage.js
...
Backed out changeset 1c53eee1c466 (bug 1836448)
Backed out changeset a86d5a3f177d (bug 1836448)
2023-06-08 21:22:20 +03:00
William Durand
8308622bca
Bug 1836448 - Part 2: show attention "dot" on the extensions button for quarantined domains. r=zombie,fluent-reviewers,flod
...
Depends on D179780
Differential Revision: https://phabricator.services.mozilla.com/D180091
2023-06-08 15:37:19 +00:00
Malte Juergens
f422a29e77
Bug 1835983: Update browser/components/extensions/test/browser/browser_ext_webRequest_error_after_stopped_or_closed.js to work with https-first enabled r=freddyb,extension-reviewers,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D179938
2023-06-08 12:58:30 +00:00
William Durand
86def29cf9
Bug 1836448 - Part 1: show attention "dot" when an extension is quarantined from a domain. r=rpl,zombie,fluent-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D179780
2023-06-08 10:50:31 +00:00
Natalia Csoregi
64cf294e7c
Backed out changeset e44f4d43b823 (bug 1833091) for causing permafailures on browser_topsites_annotation.js. CLOSED TREE
2023-06-08 03:17:53 +03:00
Marc Seibert
288359ceb2
Bug 1833091 - Replacing all get refs of UrlbarInput 'inputField.value' with '.value'.r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D180085
2023-06-07 14:59:13 +00:00
ganna
6ae89f2f46
Bug 1814414 - Replace constructed xul label with moz-support-link in ExtensionControlledPopup.jsm r=extension-reviewers,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D179835
2023-06-07 14:27:39 +00:00
Mark Banner
40de601f11
Bug 1834176 - Convert consumers of NetUtil.jsm to import the ES module directly. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-06-07 08:42:36 +00:00
Narcis Beleuzu
ec23d338d8
Backed out changeset 862bd1ab18fd (bug 1833091) for bc failure on browser_ext_webNavigation_urlbar_transitions.js . CLOSED TREE
2023-06-06 19:05:07 +03:00
Alexandre Poirot
1af6128178
Bug 1822782 - [devtools] Use location.source.id instead of location.sourceId. r=devtools-reviewers,bomsy,extension-reviewers,rpl
...
Now location objects are slightly different between SourceMapLoader and Debugger frontend.
SourceMapLoader doesn't make any use of the source objects, so I only pass `sourceId`.
This will reduce the amount of data transferred between the main thread and source-map worker.
But this requires mapping location objects in and out of the source map worker.
We were already mapping location objects returned by the worker in order to lookup
for the related source object.
Also make SourceMapLoader return null when the location doesn't map,
so that it is easier to identify when it doesn't map and prevent having to do:
`originalLocation.sourceId == location.sourceId`.
Differential Revision: https://phabricator.services.mozilla.com/D178397
2023-06-06 14:42:38 +00:00
Marc Seibert
7d202de3f8
Bug 1833091 - Replacing all get refs of UrlbarInput 'inputField.value' with '.value'.r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D180085
2023-06-06 13:46:55 +00:00
Narcis Beleuzu
af051f5347
Backed out 3 changesets (bug 1822782, bug 1822783) for dt failure on browser_dbg-old-breakpoint.js . CLOSED TREE
...
Backed out changeset d65af714b0fd (bug 1822783)
Backed out changeset c76cbc9a0c4a (bug 1822782)
Backed out changeset 684217cdfebd (bug 1822782)
2023-06-06 15:10:18 +03:00
Rob Wu
2cf8688545
Bug 1836673 - Document AppTestDelegate and AppUiTestDelegate r=geckoview-reviewers,extension-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D179891
2023-06-06 11:23:41 +00:00
Alexandre Poirot
3e3c13d254
Bug 1822782 - [devtools] Use location.source.id instead of location.sourceId. r=devtools-reviewers,bomsy,extension-reviewers,rpl
...
Now location objects are slightly different between SourceMapLoader and Debugger frontend.
SourceMapLoader doesn't make any use of the source objects, so I only pass `sourceId`.
This will reduce the amount of data transferred between the main thread and source-map worker.
But this requires mapping location objects in and out of the source map worker.
We were already mapping location objects returned by the worker in order to lookup
for the related source object.
Also make SourceMapLoader return null when the location doesn't map,
so that it is easier to identify when it doesn't map and prevent having to do:
`originalLocation.sourceId == location.sourceId`.
Differential Revision: https://phabricator.services.mozilla.com/D178397
2023-06-06 09:48:37 +00:00
Marco Bonardo
ac9c47ede2
Bug 1826946 - Delay frecency calculation for history batch inserts. r=daisuke
...
When inserting multiple URIs in history, it makes sense to delay expensive
frecency calculations to a later time. We only set recalc_frecency and the
PlacesFrecencyRecalculator will take care of it.
We keep immediately calculating frecency only when a single url is inserted,
that is the case when the user is normally browsing the Web.
Differential Revision: https://phabricator.services.mozilla.com/D179263
2023-06-05 16:13:57 +00:00
William Durand
cb3f21567f
Bug 1836383 - Re-enable test_originControls_with_submenus on macOS. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D179774
2023-06-05 14:08:27 +00:00
Rob Wu
f0c7c874d6
Bug 1830814 - Migrate remaining extension jsm files to ESM r=geckoview-reviewers,Standard8,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D179890
2023-06-05 10:23:40 +00:00