Cristian Tuns
9b5c5999f2
Backed out changeset 6ad49f7d560a (bug 1756995) for causing mochitest failures on browser_firefoxview_tab.js CLOSED TREE
2022-05-25 14:27:30 -04:00
Andreas Farre
139b0999f2
Bug 1756995 - Optimize docshell load end session store collection. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D146207
2022-05-25 16:33:54 +00:00
Luca Greco
5e68e9a62d
Bug 1770288 - Fix wrong parameter type signature in AddonTestUtils.checkMessages call in browser_ext_tabs_insertCSS.js. r=willdurand
...
This other call to AddonTestUtils.checkMessage is also using a `forbidden` option wrongly set to the regular expression,
and the manual `messages.filter(...)` is definitely a workaround for preventing an intermittent similar to the one
fixed in the other patch. Better to fix this other call even if not strictly related to this bugzilla issue.
Depends on D146935
Differential Revision: https://phabricator.services.mozilla.com/D146936
2022-05-23 17:19:38 +00:00
Mathieu Leplatre
d4a89f2c4b
Bug 1702759 - Remove bucket name preference r=robwu
...
This introduces a breaking change: the buckets cannot be changed via preferences anymore.
Before landing this patch, we should have a released a new version of the Remote Settings DevTools that is compatible with this new API.
Differential Revision: https://phabricator.services.mozilla.com/D145455
2022-05-23 16:24:57 +00:00
Luca Greco
07a8ac1f65
Bug 1739114 - Moved privileged WebExtensions permissions in their own JSONSchema type and added a new custom privileged keyword on each privileged manifest fields. r=robwu,mixedpuppy
...
This patch includes only the subset of D145687 changes related to the reworked JSONSchema data, plus some minor changes to Schemas.jsm to take the new
JSONSchema type ("PrivilegedPermissions") and the new custom JSONSchema keyword (the boolean "privileged" property used to identify manifest fields
only allowed in privileged extensions).
Besides the changes to the schema data, this patch is not expected to introduce any difference in behavior and so it could also land on its own
if needed (and the rest of the changes landed separately).
Differential Revision: https://phabricator.services.mozilla.com/D146800
2022-05-20 08:55:03 +00:00
Marian-Vasile Laza
460357b17b
Backed out changeset d3577f741ef5 (bug 1739114) for causing xpcshell failures on test_ext_permissions.js. CLOSED TREE
2022-05-19 23:35:07 +03:00
Luca Greco
7568f932a6
Bug 1739114 - Moved privileged WebExtensions permissions in their own JSONSchema type and added a new custom privileged keyword on each privileged manifest fields. r=robwu,mixedpuppy
...
This patch includes only the subset of D145687 changes related to the reworked JSONSchema data, plus some minor changes to Schemas.jsm to take the new
JSONSchema type ("PrivilegedPermissions") and the new custom JSONSchema keyword (the boolean "privileged" property used to identify manifest fields
only allowed in privileged extensions).
Besides the changes to the schema data, this patch is not expected to introduce any difference in behavior and so it could also land on its own
if needed (and the rest of the changes landed separately).
Differential Revision: https://phabricator.services.mozilla.com/D146800
2022-05-19 18:20:59 +00:00
Mark Banner
cc09541457
Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-18 08:13:19 +00:00
Sebastian Hengst
e8e4f38731
Backed out 5 changesets (bug 1769569) for causing devtools' browser/browser_page_redirection.js to fail. CLOSED TREE
...
Backed out changeset 66a42eb3a366 (bug 1769569)
Backed out changeset d3cc9629cd9a (bug 1769569)
Backed out changeset edcd3dade079 (bug 1769569)
Backed out changeset 29d8dd058b7a (bug 1769569)
Backed out changeset 1aed34fdf2d3 (bug 1769569)
2022-05-17 19:49:17 +02:00
Mark Banner
82aef582ff
Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-17 16:50:33 +00:00
Emilio Cobos Álvarez
afb69e165e
Bug 1768278 - Prevent negative margins from causing us to flip / resize / slide popups. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D145879
2022-05-17 14:37:23 +00:00
Jonathan Watt
b677f00ccc
Bug 1769388 - Change nsIPrintSettingsService's 'newPrintSettings' attribute to a 'createNewPrintSettings' function. r=bobowen,webdriver-reviewers,whimboo
...
Having an attribute be a constructor is just...wrong.
Differential Revision: https://phabricator.services.mozilla.com/D146383
2022-05-16 11:50:34 +00:00
Bogdan Szekely
961cae0445
Bug 1767952 fixed lint failures r=fix CLOSED TREE
2022-05-13 16:36:30 +03:00
lyavor
d77f6d400a
Bug 1767952 - Update all .sjs test files that use base64ToString() instead of atob. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D145701
2022-05-13 12:20:23 +00:00
Norisz Fay
859fb66266
Backed out changeset 31a206537bb6 (bug 1767952) for causing lint failure on authenticate.sjs CLOSED TREE
2022-05-12 17:47:13 +03:00
lyavor
a66a97d43e
Bug 1767952 - Update all .sjs test files that use base64ToString() instead of atob. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D145701
2022-05-12 13:58:24 +00:00
William Durand
0b2f83c246
Bug 1766615 - Enable scripting APIs in MV2. r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D145629
2022-05-10 14:30:24 +00:00
kernp25
1938ec1743
Bug 1654355 - Fix activeTab with middle click. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D143876
2022-04-28 08:35:41 +00:00
Luca Greco
49b448f3e0
Bug 1747813 - ExtensionPopups ViewPopup class should not block the parser when a browserAction popup navigated between extension pages. r=zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D143394
2022-04-27 16:35:46 +00:00
Oriol Brufau
0fc0ba7687
Bug 1765747 - Fix intermittent failure in browser_ext_tabs_onCreated.js. r=mixedpuppy
...
It seems that tab creation may sometimes trigger 'status' updates.
It may depend on whether about:newtab is cached or has to be loaded.
Differential Revision: https://phabricator.services.mozilla.com/D144285
2022-04-25 08:38:05 +00:00
Mark Banner
c6d4f0d51f
Bug 1725952 - Upgrade ESLint to v8.x. r=Mardak
...
Differential Revision: https://phabricator.services.mozilla.com/D144002
2022-04-22 11:23:30 +00:00
Oriol Brufau
ce0f675cd9
Bug 1764452 - Avoid tabs.onUpdated events for 'attention' when value doesn't change. r=Gijs,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D143553
2022-04-21 08:30:07 +00:00
Oriol Brufau
b0af8ae997
Bug 1764107 - Fix browser_ext_tabs_update_highlighted.js to avoid potential timeouts. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D143546
2022-04-21 08:29:21 +00:00
kernp25
c73a299858
Bug 1493396 - Make browser.permissions.request work in WebExtension sidebar. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D143084
2022-04-21 08:28:54 +00:00
Alexandre Poirot
29c6f7d5ff
Bug 1764505 - [devtools] Migrate Tool's definition isTargetSupport to isToolSupported. r=nchevobbe
...
And pass a toolbox instead of only the toplevel target.
It helps identify the browser toolbox and easily enable/disable tools for it.
Differential Revision: https://phabricator.services.mozilla.com/D143628
2022-04-20 15:15:06 +00:00
Luca Greco
92da1c3205
Bug 1763043 - Fix browser_ext_menus_eventpage.js intermittent failures. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D143996
2022-04-19 19:50:06 +00:00
Rob Wu
1b1a03702b
Bug 1764566 - Update API availability in MV3 r=mixedpuppy
...
- Remove unsupported tabs API definitions that are gone in MV3.
- Mark content script APIs (superseded by scripting APIs) as MV2-only.
- Re-enable extension.getBackgroundPage in MV2 since it makes sense with
event pages, and we enabled runtime.getBackgroundPage in bug 1759308.
- Add tests that verify API availability in MV3.
Differential Revision: https://phabricator.services.mozilla.com/D143721
2022-04-17 16:43:50 +00:00
Rob Wu
aaac457a1d
Bug 1723156 - Warn instead of fail for manifest version mismatches r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D143720
2022-04-17 16:43:49 +00:00
Shane Caraveo
8a81b8a988
Bug 1762394 menu startupCache persistence r=robwu
...
Add a StartupCache for menus so they are recreated when extensions use event pages.
Differential Revision: https://phabricator.services.mozilla.com/D139789
2022-04-07 22:26:19 +00:00
Shane Caraveo
448d24a256
Bug 1761814 prevent menus onclick property with event pages and mv3 r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D142242
2022-04-04 22:16:56 +00:00
Shane Caraveo
d47baeee32
Bug 1748558 enforce requirement of id in menus apis for event pages r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D138489
2022-04-04 22:16:55 +00:00
Shane Caraveo
9e2c9b1e0e
Bug 1748558 persistence for menus events r=robwu,rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D138488
2022-04-04 22:16:54 +00:00
Andreea Pavel
e622e3f051
Bug 1722607 - disable browser_ext_tabs_discard_reversed.js on linux64 r=intermittent-reviewers,MasterWayZ,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D142287
2022-04-02 20:19:56 +00:00
Shane Caraveo
594876b513
Bug 1748567 support persistent events in tabs api r=zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D140915
2022-03-31 23:29:25 +00:00
Tooru Fujisawa
845f7c0588
Bug 1762326 - Do not get information about a tab with empty history in browser.sessions.getRecentlyClosed. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D142526
2022-03-31 16:36:10 +00:00
Norisz Fay
eab63d7fa6
Backed out 3 changesets (bug 1748558, bug 1761814) for causing bc failures on browser_ext_contextMenus_commands.js CLOSED TREE
...
Backed out changeset af7fa12fd8f2 (bug 1761814)
Backed out changeset 4dbc1e13c9ce (bug 1748558)
Backed out changeset d254a677ce9e (bug 1748558)
2022-03-31 18:10:01 +03:00
Shane Caraveo
466a069f15
Bug 1761814 prevent menus onclick property with event pages and mv3 r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D142242
2022-03-31 13:50:36 +00:00
Shane Caraveo
e9cf249fc1
Bug 1748558 enforce requirement of id in menus apis for event pages r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D138489
2022-03-31 13:50:36 +00:00
Shane Caraveo
142e6783ad
Bug 1748558 persistence for menus events r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D138488
2022-03-31 13:50:35 +00:00
Emilio Cobos Álvarez
202fcd0999
Bug 1760836 - Support printing to an nsIOutputStream. r=jfkthame,jrmuizel,webdriver-reviewers,geckoview-reviewers,agi
...
The trickiest bits are the PrintTargetCG ones, the rest is just plumbing
and cleanups and tests, but let me know if you want those to be split
out, can do.
The GTK change to nsPrintSettingsGTK::GetResolution is a no-op (we only
read resolution on windows), but I did that because we assume that it
doesn't fail and GTK returns a sane default anyways.
Differential Revision: https://phabricator.services.mozilla.com/D142199
2022-03-30 18:51:58 +00:00
Emilio Cobos Álvarez
069226d949
Bug 1762081 - Add a hidden pref to default to a unified chrome/content color-scheme. r=Gijs
...
Thunderbird wants this. I could put the check in C++ instead, but this
is simple enough IMO.
Differential Revision: https://phabricator.services.mozilla.com/D142405
2022-03-30 17:24:01 +00:00
Gijs Kruitbosch
edda40141b
Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 16:16:42 +00:00
Rob Wu
86b2fcd91f
Bug 1556427 - Add node.title to bookmarks.onRemoved event r=Standard8,willdurand,markh
...
The `bookmarks.onRemoved` event should have a `title` attribute
reflecting the title of the removed bookmark. This behavior is
documented in an example at:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/bookmarks/onRemoved
That documented example was reportedly broken: https://github.com/mdn/content/issues/13052
Differential Revision: https://phabricator.services.mozilla.com/D139293
2022-03-30 12:57:28 +00:00
Norisz Fay
e1d7571cc8
Backed out 2 changesets (bug 1753696) for causing multiple dt and bc failures CLOSED TREE
...
Backed out changeset 67fd9edfbcea (bug 1753696)
Backed out changeset a9d957ea887b (bug 1753696)
2022-03-30 12:17:55 +03:00
Gijs Kruitbosch
1214ac636b
Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 08:18:51 +00:00
Iulian Moraru
7106f0368c
Backed out changeset d42d7505c9cf (bug 1760836) for causing mochitest failures on browser_print_stream.js. CLOSED TREE
2022-03-29 23:32:39 +03:00
Emilio Cobos Álvarez
2ee3ba7653
Bug 1760836 - Support printing to an nsIOutputStream. r=jfkthame,jrmuizel,webdriver-reviewers,geckoview-reviewers,agi
...
The trickiest bits are the PrintTargetCG ones, the rest is just plumbing
and cleanups and tests, but let me know if you want those to be split
out, can do.
The GTK change to nsPrintSettingsGTK::GetResolution is a no-op (we only
read resolution on windows), but I did that because we assume that it
doesn't fail and GTK returns a sane default anyways.
Differential Revision: https://phabricator.services.mozilla.com/D142199
2022-03-29 17:50:58 +00:00
Shane Caraveo
b32601a1c1
Bug 1748565 support persistent listener in sessions api r=zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D140889
2022-03-28 15:37:03 +00:00
Luca Greco
77d54fcaf7
Bug 1748546 - Add support for persistent events to ext-pageAction.js. r=mixedpuppy
...
Depends on D139786
Differential Revision: https://phabricator.services.mozilla.com/D141664
2022-03-25 20:38:36 +00:00
Luca Greco
6f2b70ed2b
Bug 1748546 - Add support for persistent events to ext-browserAction.js. r=mixedpuppy
...
Depends on D141663
Differential Revision: https://phabricator.services.mozilla.com/D139786
2022-03-25 20:38:36 +00:00