William Durand
d8658dc7dd
Bug 1793925 - Warn about complex versioning formats used in manifest. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D158834
2022-10-18 08:06:08 +00:00
Butkovits Atila
b4f413e615
Backed out changeset 6f112c0942b0 (bug 1793925) for causing build bustages. CLOSED TREE
2022-10-17 16:04:08 +03:00
Tomislav Jovanovic
8e28939a01
Bug 1795597 - MV2 extensions should never flag for attention, r=willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D159476
2022-10-17 12:21:20 +00:00
William Durand
d6968c4f9b
Bug 1793925 - Warn about complex versioning formats used in manifest. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D158834
2022-10-17 11:19:00 +00:00
Cristian Tuns
d3ff37595e
Backed out changeset f8554e4080f2 (bug 1793629) for causing mochitest failures on browser_preferences_usage.js CLOSED TREE
2022-10-15 16:14:29 -04:00
Tomislav Jovanovic
1afb6235b3
Bug 1793629 - Implement attention indicator for the unified extensions button, r=willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D158938
2022-10-15 19:05:26 +00:00
Norisz Fay
4c718323c1
Backed out changeset c5a9bca461ce (bug 1793629) for causing multiple mochitest failures CLOSED TREE
2022-10-15 01:56:26 +03:00
Tomislav Jovanovic
8958e06b79
Bug 1793629 - Implement attention indicator for the unified extensions button, r=willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D158938
2022-10-14 21:03:23 +00:00
Alexandre Poirot
bde84f5b65
Bug 1793604 - [devtools] Convert Loader.jsm to ESM. r=perftest-reviewers,geckoview-reviewers,preferences-reviewers,owlish,kshampur,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D158582
2022-10-14 12:19:42 +00:00
Tomislav Jovanovic
a16d5052dd
Bug 1777343 - Implement simple origin controls attention indicator, r=willdurand,desktop-theme-reviewers,Itiel
...
Differential Revision: https://phabricator.services.mozilla.com/D158476
2022-10-13 22:04:52 +00:00
Alexandre Poirot
0a2f14ed30
Bug 1700909 - [devtools] Migrate gDevTools.showToolbox from descriptor to commands. r=jdescottes,extension-reviewers,willdurand
...
This migrate gDevTools.showToolbox, but also the Toolbox now receives a commands right away,
and no longer need to create commands out of the descriptor front.
I'm removing browser_two_tabs as it is focusing on testing Tab Descriptors (RootFront.listTabs+getTab)
and Tab targets (TabDescriptor.getTarget).
Using getTarget on descriptor is legacy codepath for a while now.
We should now rather cover commands instead of these low level RDP methods.
Differential Revision: https://phabricator.services.mozilla.com/D157796
2022-10-11 20:33:53 +00:00
William Durand
b1f7f2cb7f
Bug 1794085 - Disable action button in unified extensions panel when extension already has permission. r=zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D158826
2022-10-10 16:21:45 +00:00
Cristian Tuns
c136da03a9
Backed out 5 changesets (bug 1700909) for causing mochitest failures CLOSED TREE
...
Backed out changeset a49f15f66ed4 (bug 1700909)
Backed out changeset 5a6b15eb1e12 (bug 1700909)
Backed out changeset 67b12d0e350b (bug 1700909)
Backed out changeset 4e6312ea547a (bug 1700909)
Backed out changeset c49eab385e1c (bug 1700909)
2022-10-10 10:38:03 -04:00
Alexandre Poirot
0ad9d97fbc
Bug 1700909 - [devtools] Migrate gDevTools.showToolbox from descriptor to commands. r=jdescottes,extension-reviewers,willdurand
...
This migrate gDevTools.showToolbox, but also the Toolbox now receives a commands right away,
and no longer need to create commands out of the descriptor front.
I'm removing browser_two_tabs as it is focusing on testing Tab Descriptors (RootFront.listTabs+getTab)
and Tab targets (TabDescriptor.getTarget).
Using getTarget on descriptor is legacy codepath for a while now.
We should now rather cover commands instead of these low level RDP methods.
Differential Revision: https://phabricator.services.mozilla.com/D157796
2022-10-10 11:28:08 +00:00
William Durand
3050551a02
Bug 1784218 - Add origin controls information to the unified extensions panel. r=zombie,Itiel,desktop-theme-reviewers
...
In addition to adding messages for origin controls, this patch slightly
changes the UI to account for long l10n strings. As a result, the name
of the extension is no longer truncated with CSS (ellipsis). This isn't
a big problem as these names cannot exceed 45 characters (max 2 lines of
text). This allows us to better handle long permission messages and
(Windows) scrollbars. UX is OK with that at the moment.
We also retain the "default" height of the message below the name of an
extension (using the `min-height` property) to avoid flickering as per
UX guidelines.
Differential Revision: https://phabricator.services.mozilla.com/D156808
2022-10-06 13:35:15 +00:00
Cristian Tuns
9acdf5eaf2
Backed out changeset 9862aaa671f1 (bug 1784218) for causing mochitest failures on browser_ext_activeScript.js CLOSED TREE
2022-10-05 04:54:16 -04:00
William Durand
ff3e52f2fb
Bug 1784218 - Add origin controls information to the unified extensions panel. r=zombie,Itiel,desktop-theme-reviewers
...
In addition to adding messages for origin controls, this patch slightly
changes the UI to account for long l10n strings. As a result, the name
of the extension is no longer truncated with CSS (ellipsis). This isn't
a big problem as these names cannot exceed 45 characters (max 2 lines of
text). This allows us to better handle long permission messages and
(Windows) scrollbars. UX is OK with that at the moment.
We also retain the "default" height of the message below the name of an
extension (using the `min-height` property) to avoid flickering as per
UX guidelines.
Differential Revision: https://phabricator.services.mozilla.com/D156808
2022-10-05 07:09:29 +00:00
Tomislav Jovanovic
b7982ff5b6
Bug 1793494 - Activate content scripts on action click with activeTab permission, r=willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D158533
2022-10-04 20:06:13 +00:00
William Durand
21aec6c831
Bug 1788994 - Remove promiseUnifiedExtensionsInitialized() in tests. r=rpl
...
Depends on D157185
Differential Revision: https://phabricator.services.mozilla.com/D157935
2022-10-04 08:45:58 +00:00
Shane Caraveo
a05882f6aa
Bug 1779305 - Fix intermittent browseraction keyclick test. r=rpl
...
Co-authored-by: William Durand <will+git@drnd.me >
Differential Revision: https://phabricator.services.mozilla.com/D153772
2022-09-29 19:44:13 +00:00
Mark Banner
a49b8ef78f
Bug 1792365 - Convert toolkit/modules consumers to use ES module imports directly. r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,extension-reviewers,preferences-reviewers,desktop-theme-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,robwu,Gijs,sgalich,bytesized,AlexandruIonescu,dao,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D158094
2022-09-29 06:52:34 +00:00
Mark Banner
c34ea601d2
Bug 1634555 - Send event telemetry for search default engine changes. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D157471
2022-09-28 09:40:36 +00:00
Alexandre Poirot
633eb069ef
Bug 1791832 - [devtools] Convert devtools/startup JSM to ES Modules. r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D157911
2022-09-26 10:48:05 +00:00
Emilio Cobos Álvarez
20021a15f0
Bug 1790920 - Minor fixes to toolbar key navigation. r=Gijs,extension-reviewers,willdurand
...
This is the last fix needed for this.
The issue is that command events now are triggered by synthetic click
events (which was not the case before pretty much by chance, a side
effect of how these events were implemented).
If we open a panel by a command event triggered by the synthetic click
event, rather than the real keypress event, we end up not detecting that
it is really a keyboard activation, and not focusing the first navigable
element in the panel for example, which is unfortunate.
This was caught by browser_toolbarButtonKeyPress.js.
We could keep the old behavior of not triggering commands from
dispatchEvent()-ed clicks, but honestly that's kind of bizarre.
Differential Revision: https://phabricator.services.mozilla.com/D157596
2022-09-19 17:02:38 +00:00
Joel Maher
1325c90046
Bug 1790868 - clean up 32 bit annotations for tests that don't run on 32 bit, and general cleanup. r=aryx
...
Differential Revision: https://phabricator.services.mozilla.com/D157352
2022-09-16 12:40:13 +00:00
William Durand
313a3beac7
Bug 1784223 - Move unified extensions button "after" the overflow menu. r=rpl,dao
...
This patch also adjusts some `min-width` rules like it was done for the
downloads button. It should work with either buttons OR both, which is
going to happen since the unified extensions button will be most likely
always visible in the toolbar.
Differential Revision: https://phabricator.services.mozilla.com/D154360
2022-09-15 16:34:38 +00:00
William Durand
4a4c05ab8a
Bug 1789407 - Always anchor defaultsearch popup to the urlbar. r=rpl
...
Depends on D156960
Differential Revision: https://phabricator.services.mozilla.com/D156952
2022-09-09 18:50:32 +00:00
Alexandre Poirot
059764322b
Bug 1789595 - [devtools] Convert devtools/server JSM to ES Modules. r=nchevobbe
...
This is the result of:
$ ./mach esmify devtools/server/
Differential Revision: https://phabricator.services.mozilla.com/D156826
2022-09-09 10:13:15 +00:00
Mark Banner
73631b4520
Bug 1789254 - Migrate enterprisepolicies consumers to use ESM imports directly. r=mkaply,necko-reviewers,application-update-reviewers,nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D156464
2022-09-08 14:40:07 +00:00
Norisz Fay
6008f8d423
Backed out 3 changesets (bug 1789254) for causing bc failures on browser_xpcom_graph_wait.js CLOSED TREE
...
Backed out changeset bea1e1ba4a14 (bug 1789254)
Backed out changeset 4086aaa5f3d0 (bug 1789254)
Backed out changeset 131cac1d1146 (bug 1789254)
2022-09-08 17:14:00 +03:00
Mark Banner
e8c3c1e5b4
Bug 1789254 - Migrate enterprisepolicies consumers to use ESM imports directly. r=mkaply,necko-reviewers,application-update-reviewers,nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D156464
2022-09-08 12:43:32 +00:00
Mathew Hodson
23d098346b
Bug 1762444 - Replace setUp tasks with add_setup in browser mochitests. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D150330
2022-08-29 08:54:54 +00:00
Shane Caraveo
2a74411693
Bug 1786587 Fix browser action panel when toolbar is overflowed r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D155527
2022-08-26 15:31:01 +00:00
Luca Greco
f2e2e6955d
Bug 1760608 - Restrict actions API setPopup urls allowed for MV3 extensions. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D154547
2022-08-23 10:35:57 +00:00
Shane Caraveo
c114951f8b
Bug 1783972 make browser actions pop out of overflow r=zombie,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D154179
2022-08-22 18:55:59 +00:00
Dão Gottwald
6097357267
Bug 1786011 - Show the "List all tabs" button unconditionally. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D155076
2022-08-22 14:48:49 +00:00
William Durand
acc4dff795
Bug 1785988 - Display message when hovering/focusing the menu button in the unified extensions panel. r=rpl,desktop-theme-reviewers,Itiel
...
Differential Revision: https://phabricator.services.mozilla.com/D155055
2022-08-19 18:52:19 +00:00
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