Shane Caraveo
cd3dba3928
Bug 1711168 allow extension pages to be loaded as top level tabs by other extensions r=rpl,geckoview-reviewers,calu
...
Ensure extensions can manage tabs and sessions that include tabs from other extensions. The parent
patch to this introduces cross-extension access validation. However that breaks this specific use case
that we need to continue supporting. This patch modifies three extension apis, tab.create/update and
windows.create to allow the creation of extension tabs which cannot be otherwise accessed.
Differential Revision: https://phabricator.services.mozilla.com/D151766
2022-08-02 17:08:58 +00:00
William Durand
9ea8c792f2
Bug 1782456 - Move unified extensions context menu to main popupset. r=rpl,Gijs
...
I noticed some missing context menu style when loading the context menu
from our own viewcache, which explains the difference between primary
and secondary button click. Not sure ecavtly what was missing as the
styles are all over the place.
The menu item actually works, the actions are called and for
checkbox-like menu items, the `checked` attribute is correctly set in
the "HTML". Also it looked like sub-menus weren't affected (e.g. Tree
Style Tab didn't have any issue).
While investigating, I also noticed that most (if not all) `menupopup`
elements are declared in the main popupset, so I tried to move the
unified extensions context menu to this main popupset and lazy-load the
l10n strings (similar to the toolbar context menu [1]).
That fixed the bug.
[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1609556
Differential Revision: https://phabricator.services.mozilla.com/D153330
2022-08-02 13:24:28 +00:00
Joel Maher
0b37b77f65
Bug 1781782 - Run frequent xpcshell parallel failing tests sequential by default. r=ahal,necko-reviewers,extension-reviewers,application-update-reviewers,bytesized,rpl,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D153081
2022-07-30 01:33:28 +00:00
William Durand
68182a4ab7
Bug 1777483 - Part 4 - Add extension actions to the unified extensions context menu. r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D153096
2022-07-29 20:32:16 +00:00
William Durand
3b5d917e21
Bug 1780654 - Reuse the same window whenever possible in browser_unified_extensions.js. r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D153163
2022-07-29 19:54:08 +00:00
Barret Rennie
55c8f9b6e4
Bug 1772943 - Port osfile.jsm usage to IOUtils in toolkit/mozapps/ r=Gijs,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D148967
2022-07-28 20:21:55 +00:00
William Durand
a33b53bc05
Bug 1777483 - Part 3 - Open context menu when clicking the menu button. r=mixedpuppy
...
This patch allows to open the context menu on (primary) button click,
and that also works with keyboard navigation.
Depends on D152755
Differential Revision: https://phabricator.services.mozilla.com/D152853
2022-07-28 20:13:49 +00:00
William Durand
b9684c246a
Bug 1777483 - Part 2 - Add origin controls to the unified extensions context menu. r=rpl
...
Depends on D152665
Differential Revision: https://phabricator.services.mozilla.com/D152755
2022-07-28 20:13:49 +00:00
William Durand
7edadd722e
Bug 1777483 - Part 1 - Add a new context menu for extensions in the unified extensions panel. r=mixedpuppy,desktop-theme-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152665
2022-07-28 20:13:48 +00:00
William Durand
7263f9d7b9
Bug 1780771 - Do not allow panel to be shown in customization mode. r=rpl
...
Depends on D152401
Differential Revision: https://phabricator.services.mozilla.com/D152508
2022-07-27 20:12:38 +00:00
William Durand
d8d83cbc65
Bug 1777484 - Allow to close unified extensions panel programmatically. r=rpl,Gijs
...
I also tried to defer the loading of the panel when it is about to be
open for the first time.
Differential Revision: https://phabricator.services.mozilla.com/D152401
2022-07-27 20:12:38 +00:00
Butkovits Atila
b01ed36979
Backed out 3 changesets (bug 1711168, bug 1773115) for causing failures at test_ext_web_accessible_resources.html. CLOSED TREE
...
Backed out changeset 703c909eb009 (bug 1773115)
Backed out changeset 902385a7ce60 (bug 1711168)
Backed out changeset 3d061ce03de7 (bug 1711168)
2022-07-27 00:13:26 +03:00
Shane Caraveo
26d3eac02e
Bug 1711168 allow extension pages to be loaded as top level tabs by other extensions r=rpl
...
Ensure extensions can manage tabs and sessions that include tabs from other extensions. The parent
patch to this introduces cross-extension access validation. However that breaks this specific use case
that we need to continue supporting. This patch modifies three extension apis, tab.create/update and
windows.create to allow the creation of extension tabs which cannot be otherwise accessed.
Differential Revision: https://phabricator.services.mozilla.com/D151766
2022-07-26 19:39:14 +00:00
Mark Banner
cd9bed2e7a
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-26 15:11:30 +00:00
William Durand
bbd452d461
Bug 1780782 - Open about:addons when clicking the unified extensions button and there is no visible extension. r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D152623
2022-07-25 19:39:15 +00:00
smolnar
4cb3dcaaa2
Backed out 5 changesets (bug 1780017, bug 1780347) for causing bc failures in browser/base/content/test/performance/browser_preferences_usage.js CLOSED TREE
...
Backed out changeset 86c3a9142535 (bug 1780347)
Backed out changeset 35abe35417a0 (bug 1780017)
Backed out changeset f448f044f028 (bug 1780017)
Backed out changeset a400cbe83084 (bug 1780017)
Backed out changeset 0a23c9e27f01 (bug 1780017)
2022-07-25 21:00:07 +03:00
Mark Banner
bf597b1f3a
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-25 12:46:48 +00:00
Norisz Fay
7fc236de11
Backed out changeset c6db198ff02c (bug 1772943) for causing mochitest failures on browser_doorhanger_installs.js CLOSED TREE
2022-07-21 13:10:16 +03:00
Barret Rennie
c9a7c00017
Bug 1772943 - Port osfile.jsm usage to IOUtils in toolkit/mozapps/ r=Gijs,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D148967
2022-07-21 04:44:40 +00:00
Mark Banner
d026f430f6
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 22:34:21 +00:00
smolnar
ee079d37e2
Backed out 8 changesets (bug 1779982, bug 1780017, bug 1780347) for causing doc generate failures. CLOSED TREE
...
Backed out changeset 3f22c0f99cf1 (bug 1780347)
Backed out changeset 6f20b7e4b21b (bug 1780017)
Backed out changeset ae6062c69aeb (bug 1780017)
Backed out changeset e668d7778d97 (bug 1780017)
Backed out changeset e158fc41594b (bug 1780017)
Backed out changeset d4c69c956271 (bug 1779982)
Backed out changeset 145212fd826d (bug 1779982)
Backed out changeset 54079aaa1857 (bug 1779982)
2022-07-20 22:43:53 +03:00
William Durand
f3f1d5a5e5
Bug 1779381 - Fully enable browser_toolbar_prefers_color_scheme.js. r=mixedpuppy
...
I was super conservative in Bug 1779380 because, although I couldn't
reproduce actual failures locally, one of the leakcheck reports was
consistently failing.
I tested a few other things and it looks like some tests on MacOS often
have leaks [1]. I get leakcheck errors with many other test files so I
doubt it is this one specific test file.
[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1541628#c4
Differential Revision: https://phabricator.services.mozilla.com/D151914
2022-07-20 19:00:16 +00:00
Mark Banner
78524564fc
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-20 15:50:42 +00:00
Mark Banner
8715b062f5
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 15:50:40 +00:00
Iulian Moraru
bc13570de5
Backed out 7 changesets (bug 1779982, bug 1780017) for causing multiple failures. CLOSED TREE
...
Backed out changeset f33a58aa2f3f (bug 1780017)
Backed out changeset e21c85d61b91 (bug 1780017)
Backed out changeset 213ee5578e7c (bug 1780017)
Backed out changeset ea9b3bf42ea1 (bug 1780017)
Backed out changeset d2d8530f3c4d (bug 1779982)
Backed out changeset 088e5148c307 (bug 1779982)
Backed out changeset 267e08f3868a (bug 1779982)
2022-07-20 15:44:53 +03:00
William Durand
36d4c8a182
Bug 1778722 - Hide existing "Add-ons and themes" widget when "unifiedExtensions" pref is set. r=rpl
...
Note: the pref now requires a restart.
Depends on D151497
Differential Revision: https://phabricator.services.mozilla.com/D151699
2022-07-20 11:08:40 +00:00
William Durand
3d8aa98b41
Bug 1777481 - Introduce a new extension button on the toolbar. r=rpl,mstriemer,fluent-reviewers,desktop-theme-reviewers,Itiel
...
Differential Revision: https://phabricator.services.mozilla.com/D151497
2022-07-20 11:08:40 +00:00
Mark Banner
9cb7e8c83c
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-20 10:36:51 +00:00
Mark Banner
2bd76952c1
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 10:36:49 +00:00
Luca Greco
da625a7c47
Bug 1780008 - browserAction preload popup should not be listed in extension.getViews results. r=mixedpuppy,willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D152022
2022-07-19 18:34:36 +00:00
Mark Banner
6552d11eaf
Bug 1779981 - Migrate search consumers to use ESM imports directly. r=mcheang,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152001
2022-07-19 17:12:43 +00:00
Butkovits Atila
772c40ee48
Backed out 2 changesets (bug 1777481, bug 1778722) for causing failures at browser_unified_extensions.js. CLOSED TREE
...
Backed out changeset 43863430aaa7 (bug 1778722)
Backed out changeset c4a72d22cd4f (bug 1777481 )
2022-07-19 19:02:53 +03:00
William Durand
65911f4a24
Bug 1778722 - Hide existing "Add-ons and themes" widget when "unifiedExtensions" pref is set. r=rpl
...
Note: the pref now requires a restart.
Depends on D151497
Differential Revision: https://phabricator.services.mozilla.com/D151699
2022-07-19 15:10:00 +00:00
William Durand
030a4eb213
Bug 1777481 - Introduce a new extension button on the toolbar. r=rpl,mstriemer,fluent-reviewers,desktop-theme-reviewers,Itiel
...
Differential Revision: https://phabricator.services.mozilla.com/D151497
2022-07-19 15:10:00 +00:00
Cosmin Sabou
dcd84afd12
Bug 1776652 - disable test_ext_settings_overrides_search_mozParam.js on condprof due to permafailures. r=jmaher DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D151974
2022-07-19 05:01:28 +00:00
Butkovits Atila
7dd51c0a72
Backed out 4 changesets (bug 1742797, bug 1748808) for causing crashes at mozilla::layers::APZCTreeManagerParent::RecvUpdateZoomConstraints.
...
Backed out changeset 23f2a369a5a7 (bug 1748808)
Backed out changeset 5b0edd03f698 (bug 1742797)
Backed out changeset 8ed69c2c1d49 (bug 1742797)
Backed out changeset 18e11e7ea9d0 (bug 1742797)
2022-07-19 08:12:04 +03:00
Luca Greco
cb40f0a429
Bug 1748808 - Prevent browser_ext_getViews.js permafailure due to a previous test leaving mouse positioned over browserAction widget. r=willdurand
...
This patch includes the workaround mentioned in Bug 1748808 comment 25 as a short term workaround to prevent the test from
failure due to the position where a previous test may have moved the mouse to.
The short term test-only workaround would become unnecessary once we have landed a proper longer term fix
from Bug 1780008, and so:
- if this patch landes before Bug 1780008, as part of Bug 1780008 we should also remove this short term workaround
- if Bug 1780008 got already signed and pushed to autoland before this one, then this patch can be just dropped
and the related bug marked as fixed by Bug 1780008.
Differential Revision: https://phabricator.services.mozilla.com/D152090
2022-07-18 18:01:52 +00:00
William Durand
0795de4a14
Bug 1779380 - Enable browser_toolbar_prefers_color_scheme.js on MacOS (non-debug). r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D151715
2022-07-13 13:07:20 +00:00
Bogdan Szekely
1048f0772f
Backed out changeset e3ba86211812 (bug 1772943) for causing mochitest failures on browser_html_discover_view.js CLOSED TREE
2022-07-12 13:46:27 +03:00
Barret Rennie
b19840f113
Bug 1772943 - Port osfile.jsm usage to IOUtils in toolkit/mozapps/ r=Gijs,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D148967
2022-07-12 10:09:15 +00:00
Tooru Fujisawa
328d63ce7f
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-12 04:21:34 +00:00
Andreea Pavel
f009ba2983
Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
...
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Butkovits Atila
cd8e9e4ac6
Backed out changeset 8d3cd97887d1 (bug 1392125) for causing failures at browser_ext_sessions_forgetClosedTab. CLOSED TREE
2022-07-11 20:18:58 +03:00
kernp25
2a3d3bf6ef
Bug 1392125 - Fix MAX_SESSION_RESULTS is not defined. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D143391
2022-07-11 15:52:07 +00:00
Tooru Fujisawa
bf0a8b781b
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +00:00
Tooru Fujisawa
48c568867c
Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Tooru Fujisawa
b10d0289af
Bug 1667455 - Part 4: Stop importing Services.jsm from JSM. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,pip-reviewers,twisniewski,devtools-reviewers,m_kato,jdescottes,ochameau,mconley,sfoster,AlexandruIonescu
...
Differential Revision: https://phabricator.services.mozilla.com/D150893
2022-07-11 12:41:50 +00:00
Andreea Pavel
5464b98d45
Bug 1776135 - disable test_ext_settings_overrides_defaults.js on condprof r=Standard8 DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D150563
2022-07-05 06:02:57 +00:00
kernp25
0ee68a9f02
Bug 1770651 - Make sure tabs.update don't use loadURI on a discarded tab. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D149702
2022-07-04 09:10:38 +00:00
Neil Deakin
c9ddb2f4b9
Bug 1682621, remove keypress listener for main toolbar buttons, and use the inputSource to distinguish keyboard events, r=Gijs
...
The virtual click event is also removed. It seems this event is only used to check whether this was a key or mouse event in PanelMultiView.jsm
This also removes support for pressing the enter key to trigger these toolbarbuttons on Mac which shouldn't be happening anyway.
Differential Revision: https://phabricator.services.mozilla.com/D149285
2022-07-03 09:44:39 +00:00