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
Luca Greco
282de625fe
Bug 1748546 - Fix pre-existing perma-failures when running browserAction popup resize tests locally on Linux. r=mixedpuppy
...
browser_ext_browserAction_popup_resize.js was permafailing for me locally, even without the other changes part
of this issue, that was more annoying than usually because I wanted to be sure that the changes for the browserAction
persistent listeners were not breaking any of the existing tests but it was tricky without being able to see the
test to pass consistently also when running locally.
The reason behind the failure was a 1px difference in width for the browserAction popup.
Given that the tests in browser_ext_browserAction_popup_resize.js were already being tollerant
elsewhere about a 1px difference between the dimensions of the content compared to the dimensions
the test case was expecting, it seems reasonable to apply a similar tollerance in the
test helper used to wait for the content dimentions to reach a given set of expected dimentions
and make this test able to pass consistently when running locally.
Differential Revision: https://phabricator.services.mozilla.com/D141663
2022-03-25 20:38:36 +00:00
kernp25
f3b6f248eb
Bug 1372100 - Support muted in tabs.create. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D140677
2022-03-23 21:20:31 +00:00
Shane Caraveo
63f69f4bac
Bug 1748555 support persistent listeners in history api r=willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D140896
2022-03-23 15:03:32 +00:00
Shane Caraveo
8820da156b
Bug 1748549 support persistent listeners in bookmarks api r=willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D140900
2022-03-22 14:26:57 +00:00
Shane Caraveo
51ddb80eff
Bug 1748551 support persistent event for commands.onCommand api r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D141516
2022-03-19 01:42:51 +00:00
Shane Caraveo
2530614cac
Bug 1757760 retain correct search default setting after addon update r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D141294
2022-03-18 19:43:43 +00:00
Shane Caraveo
016d94650b
Bug 1748571 support peristent listeners on windows api r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D140892
2022-03-17 22:22:18 +00:00
smolnar
1e7b706a94
Backed out changeset 268f1e1be96c (bug 1748571) for causing bc failures in browser_ext_windows_events. CLOSED TREE
2022-03-17 20:08:24 +02:00