William Durand
eb8b86f19c
Bug 1785204 - Separate primary and secondary buttons in the unified extensions panel. r=Itiel,Jamie,rpl,desktop-theme-reviewers
...
Depends on D154282
Differential Revision: https://phabricator.services.mozilla.com/D154873
2022-08-19 13:57:12 +00:00
William Durand
64389ba498
Bug 1784292 - Anchor extension popups to the unified extensions button. r=mconley,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D154408
2022-08-19 06:25:13 +00:00
William Durand
4e9ea12108
Bug 1784118 - Activate scripts when clicking an extension item in the unified extensions panel. r=Jamie,rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D154282
2022-08-18 12:22:43 +00:00
Rob Wu
b502ed976d
Bug 1782816 - Introduce test.assertDeepEq r=rpl,webidl,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D153531
2022-08-16 20:06:37 +00:00
Mark Banner
1fd4ed42bd
Bug 1784699 - Ignore ESLint no-undef warnings in xpcshell-tests where functions are processed in other scopes. r=arai,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D154600
2022-08-15 16:50:30 +00:00
William Durand
60a77bb187
Bug 1783842 - Remove toolbaritem around the unified extensions button. r=rpl
...
This isn't needed anymore so that should make it more obvious that we
have a button only, outside the customization area because we don't want
it to be removed at the moment. That's also why the `overflows`
attribute has been added (the button should not go to the overflow on
window resize).
Differential Revision: https://phabricator.services.mozilla.com/D154089
2022-08-09 16:00:23 +00:00
William Durand
03ce4efc98
Bug 1782766 - Constraint the max height of the list of extensions in the unified extensions panel. r=Itiel,desktop-theme-reviewers,rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D153486
2022-08-06 13:55:22 +00:00
William Durand
df9958a142
Bug 1780746 - Add new Telemetry objects for manage/remove/report events in unified extensions context menu. r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D153460
2022-08-05 13:58:15 +00:00
Shane Caraveo
ed6a1bcba8
Bug 1783078 require web_accessible_resources for any extension loads from a content script r=robwu,ckerschb
...
Enforce requiring web accessible resources in MV3 and use a pref to turn on later for MV2.
Differential Revision: https://phabricator.services.mozilla.com/D153677
2022-08-05 04:36:30 +00:00
Luca Greco
a317045f7e
Bug 1781512 - Fix browser_ext_getViews.js test_getViews_excludes_blocked_parsing_documents intermittent. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D153094
2022-08-04 15:36:30 +00:00
Luca Greco
ca05b60289
Bug 1782304 - Tweak test_report_extension to prevent browser_unified_extensions_context_menu.js intermittent. r=willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D153742
2022-08-04 15:28:08 +00:00
William Durand
508581b222
Bug 1782138 - Add requestLongerTimeout to browser_unified_extensions_context_menu.js. r=rpl
...
This seems to fix the issue on MacOS.
Differential Revision: https://phabricator.services.mozilla.com/D153731
2022-08-04 10:05:41 +00:00
Dale Harvey
ca56d8b0fc
Bug 1778132 - Rename quickactions pref and fix tests. r=Standard8,extension-reviewers,willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D153281
2022-08-03 00:26:29 +00:00
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
Emilio Cobos Álvarez
bc40301982
Bug 1780680 - More cleanly return "normal" state for closed windows. r=mixedpuppy
...
It bit me in the dependent bug because bug, see the comment in:
https://hg.mozilla.org/integration/autoland/rev/8bbec265ab8c
Differential Revision: https://phabricator.services.mozilla.com/D152480
2022-07-26 12:02:46 +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
Emilio Cobos Álvarez
b2f89efc95
Bug 1780372 - Fix a failure in browser_ext_sessions_getRecentlyClosed.js.
...
MANUAL PUSH: Trivial fixup CLOSED TREE
2022-07-22 02:18:43 +02:00
Emilio Cobos Álvarez
fa9bacd71f
Bug 1780372 - Make extension APIs deal with async window state changes. r=mixedpuppy
...
Before my previous patch, the widget code lied, and always returned the
requested window state before it had actually happened. Instead, teach
the extension code to wait if necessary for the window state to be
effective.
Differential Revision: https://phabricator.services.mozilla.com/D152394
2022-07-21 23:04:08 +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
Iulian Moraru
df431be6b8
Backed out 3 changesets (bug 1780074, bug 1780347) for causing multiple failures. CLOSED TREE
...
Backed out changeset ee4c4d34816c (bug 1780347)
Backed out changeset a13d3939b98a (bug 1780074)
Backed out changeset 3bc739f7de43 (bug 1780074)
2022-07-20 14:57:48 +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
9e59e52e55
Bug 1780074 - Migrate newtab consumers to use ESM imports directly. r=daleharvey,application-update-reviewers,nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D152114
2022-07-20 10:36:52 +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