Commit Graph

824111 Commits

Author SHA1 Message Date
Frederic Wang
f2e17c3b46 Bug 1586574 - apply horizontal writing mode to mathml elements. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D48279
2022-12-16 17:07:56 +00:00
Ben Hearsum
712824d11a Bug 1804659: GNOME Shell search provider creates unnecessary windows r=jhorak
I was unable to get gnome searching working at all on my machine (perhaps it's broken on Ubuntu?), thus I was unable to verify this fix myself -- but it seems pretty straightforward and safe to take.

Differential Revision: https://phabricator.services.mozilla.com/D164902
2022-12-16 16:30:33 +00:00
Nika Layzell
0b3db36eaf Bug 1805961 - DrainDirectTasks before and after OnProcessNextEvent, r=smaug
This will mean that we drain direct tasks immediately after executing
things like native OS messages through OnProcessNextEvent, and also that
we drain direct messages immediately when entering a nested event loop,
rather than after processing the first runnable in that nested event
loop. This should make the behaviour a bit more consistent.

Differential Revision: https://phabricator.services.mozilla.com/D164839
2022-12-16 16:23:16 +00:00
Tom Schuster
8c93135f14 Bug 1732528 - Stop putting Blobs into nsITransferable when converting from DataTransfer. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D126719
2022-12-16 16:10:13 +00:00
Andrew McCreight
865f6e802e Bug 1805445 - Centralize defining a new priority in the IPDL compiler. r=nika
This patch makes it so that you only need to add a new element to a list
to add a new priority to the IPDL compiler.

Differential Revision: https://phabricator.services.mozilla.com/D164836
2022-12-16 16:02:42 +00:00
negin
0b205ebf31 Bug 1801224 - Invoke window modal for new users on first startup r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D162904
2022-12-16 15:32:10 +00:00
Tom Schuster
a2b50eda96 Bug 1800425 - Support text/uri-list for file drag&drop. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D162009
2022-12-16 15:29:17 +00:00
Tom Schuster
ecfac74485 Bug 1343950 - CSP: Enable the 'unsafe-hashes' keyword by default. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D164891
2022-12-16 15:10:46 +00:00
Tim Giles
9ddc6cc9e6 Bug 1770447 - Create moz-support-link component. r=hjones,eemeli
This adds the <moz-support-link> custom element as well as stories and
tests for this reusable component. The purpose of this component is to
replace individual implementations of the "Learn more" links present
in Firefox, specifically in about:preferences and about:addons.

See Bug 1801927 for an instance of using this component to refactor
the "Learn more" links in about:preferences#general.

Differential Revision: https://phabricator.services.mozilla.com/D164131
2022-12-16 14:54:46 +00:00
Norisz Fay
df7a96cf4a Backed out changeset 48f2dad16e54 (bug 1805694) for causing bc failures on browser_selectpopup.js CLOSED TREE 2022-12-16 19:11:19 +02:00
Marco Castelluccio
d28152cb28 Bug 1806133 - Update redo package's expected hash. r=ahal CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D164911
2022-12-16 16:10:49 +00:00
Norisz Fay
081bdcdf0c Backed out changeset c41cb5ac4dbd (bug 1806098) for causing lint failures on lints.py, isort.py CLOSED TREE 2022-12-16 18:13:59 +02:00
Norisz Fay
08d4a8b04f Backed out changeset 839fc9d4bfa4 (bug 1805500) for causing mochitest failures on browser_test_select_popup_position.js 2022-12-16 18:11:22 +02:00
Marco Castelluccio
faa5410de1 Bug 1790816 - Reformat taskcluster/ with isort. r=#linter-reviewers CLOSED TREE
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162661
2022-12-16 11:14:02 +00:00
Stanca Serban
04faed7775 Backed out changeset 8b21074f1b52 (bug 1805401) for nsCOMPtr related failures. CLOSED TREE 2022-12-16 17:09:05 +02:00
Christian Holler
221c8148fd Bug 1806104 - Add missing security state for HTTP/2 fuzzing. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D164897
2022-12-16 14:24:09 +00:00
Sylvestre Ledru
c55679e14a Bug 1806098 - Enable pylint on tools/lint/ & tools/moztreedocs/ r=jlorenzo,linter-reviewers,marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D164894
2022-12-16 14:07:46 +00:00
Dave Townsend
a828d3a7f7 Bug 1805401: Disable MOZ_NEW_XULSTORE in nightly. r=NeilDeakin
Just disable in the build config for now. It is unlikely that any issues will
come up since this is disabled in release but just in case this will allow us
to re-enable it quickly.

Differential Revision: https://phabricator.services.mozilla.com/D164565
2022-12-16 13:52:46 +00:00
Butkovits Atila
686f268a93 Backed out changeset f66b140c4c37 (bug 1805401) for causing build bustages. CLOSED TREE 2022-12-16 14:47:48 +02:00
Manuel Bucher
ef8c92e316 Bug 1803884 - Early Hints: Fix race condition of setting mEarlyHintObserver and dispatching Early Hints in nsHttpTransaction::ParseLineSegment r=necko-reviewers,kershaw
The data race is happening, because `nsHttpTransaction::ParseLineSegment`
can be called before `nsHttpTransaction::AsyncRead`. Initializing it in
`nsHttpTransaction::Init` removes the race condition.

Should fix most early hint intermittent:

* Bug 1744028
* Bug 1746324
* Bug 1760124
* Bug 1775763
* Bug 1803884

Differential Revision: https://phabricator.services.mozilla.com/D164321
2022-12-16 12:34:29 +00:00
Dave Townsend
8b7a3eb909 Bug 1805401: Disable MOZ_NEW_XULSTORE in nightly. r=NeilDeakin
Just disable in the build config for now. It is unlikely that any issues will
come up since this is disabled in release but just in case this will allow us
to re-enable it quickly.

Differential Revision: https://phabricator.services.mozilla.com/D164565
2022-12-16 12:30:48 +00:00
Emilio Cobos Álvarez
85958858c2 Bug 1805904 - Unconditionally enable container properties in UA sheets. r=Oriol
If the UA sheet gets parsed with the pref off, and then the pref gets
flipped on, we don't re-parse the UA sheet (nor we want to).

Enable the property in UA sheets unconditionally so that the test passes
even when the browser was started-up with the container queries pref
off.

Differential Revision: https://phabricator.services.mozilla.com/D164823
2022-12-16 11:23:16 +00:00
Otto Länd
169a524cee Bug 1790368, 1790368, 1790368: apply code formatting via Lando
# ignore-this-changeset
2022-12-16 12:05:12 +00:00
Julian Descottes
3c8e007509 Bug 1790368 - [wdspec] Add basic tests for network.beforeRequestSent event r=webdriver-reviewers,whimboo,jgraham
Depends on D162037

Differential Revision: https://phabricator.services.mozilla.com/D162038
2022-12-16 10:53:50 +00:00
Julian Descottes
7d99823762 Bug 1790368 - [bidi] Implement basic support for network.beforeRequestSent event r=webdriver-reviewers,Sasha,whimboo
Depends on D164147

Differential Revision: https://phabricator.services.mozilla.com/D162037
2022-12-16 10:53:50 +00:00
Julian Descottes
51f558b426 Bug 1790368 - [devtools] Expose the nsIChannel in NetworkObserver's onNetworkEvent r=bomsy
We need to expose the nsIChannel in order to retrieve all the information needed by BiDi

Differential Revision: https://phabricator.services.mozilla.com/D164147
2022-12-16 10:53:49 +00:00
Norisz Fay
a10b21d5c5 Backed out changeset 3fb9690b38b7 (bug 1804958) for causing reftest failures on 1804958.html CLOSED TREE 2022-12-16 13:44:34 +02:00
Norisz Fay
fc7469f071 Backed out changeset 2bfb5438d2ae (bug 1805401) for causing python failures on lint.py 2022-12-16 13:37:18 +02:00
Norisz Fay
eb18b4a132 Backed out changeset 112934bd11d2 (bug 1586574) for causing reftest failures on 1748277.html 2022-12-16 13:35:27 +02:00
Norisz Fay
df0cb91d62 Backed out changeset 31b12711c229 (bug 1790253) for causing mochitest failures on test_scroll_on_display_contents.html 2022-12-16 13:34:47 +02:00
Dave Townsend
275105e881 Bug 1805401: Disable MOZ_NEW_XULSTORE in nightly. r=NeilDeakin
Just disable in the build config for now. It is unlikely that any issues will
come up since this is disabled in release but just in case this will allow us
to re-enable it quickly.

Differential Revision: https://phabricator.services.mozilla.com/D164565
2022-12-16 10:42:12 +00:00
Marco Castelluccio
c0cd912663 Bug 1803510 - Add an isort linting task. r=linter-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D163652
2022-12-16 10:40:46 +00:00
Marco Castelluccio
6217704534 Bug 1803510 - Set up isort as a separate linter. r=linter-reviewers,ahal DONTBUILD
This makes it possible to use the resolve all configs option and set up
different first party modules for different directories.

The downside is that configuration options (e.g. profile = black) have to
be repeated in every .isort.cfg file, because isort never merges configuration
files.

Differential Revision: https://phabricator.services.mozilla.com/D163567
2022-12-16 10:40:45 +00:00
Emilio Cobos Álvarez
ed57810bcf Bug 1805500 - Implement panel borders in cocoa using a border rather than shadow. r=mstange,extension-reviewers
My guess is that it was done using shadows to not interfere with the
native look, but actually this just works even with native-looking menus
(like the <select> menulist), because the background-color for those is
set on the menupopup, rather than the ::part(content).

So those have effectively 1px of extra padding (due to the transparent
border), but that seems barely perceptible, and worth the consistency
and simplification.

Differential Revision: https://phabricator.services.mozilla.com/D164716
2022-12-16 10:31:33 +00:00
Emilio Cobos Álvarez
51b37cc937 Bug 1805694 - Simplify menulist popup layout. r=tnikkel
I decided to split this up from bug 1805414 because it's only
tangentially related to the removal of nsMenuFrame.

We have this sizetopopup attribute and behavior that allows menulists to
be sized to the contents of the popup. The popup also expands to the
menulist rect.

This means that layout is by somewhat cyclic and we need to go out of
our way to support it. However, I think we only care about the first
behavior. We don't have many non-intrinsically-sized menulists, and
if we need we can use HTML <select> instead, which does have that
behavior.

Simplify the setup to make sizetopopup only apply to menulists (we don't
have non-menulist usage anyways), and only work in the "popup depends on
the menulist" direction, not the other way around.

This will allow making the popup a regular out-of-flow element. The
change to test_menulist_paging is not needed (I restored the behavior of
eagerly layout menulists, to fix the <select> popup, but I'd like to fix
that eventually, so I'd rather leave them in, they're harmless).

Differential Revision: https://phabricator.services.mozilla.com/D164693
2022-12-16 10:23:05 +00:00
Stanca Serban
501e1a40b6 Backed out 4 changesets (bug 1790368) for causing mochitests failures in browser_networkobserver_invalid_constructor.js. CLOSED TREE
Backed out changeset b04c179c53fb (bug 1790368)
Backed out changeset a50e9467f30b (bug 1790368)
Backed out changeset 8b438fe8bd72 (bug 1790368)
Backed out changeset 6df64c2927f1 (bug 1790368)
2022-12-16 12:11:47 +02:00
Nicolas Silva
436a61ab00 Bug 1804958 - Fix crash in MixModeBlender::CreateBlendTarget. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D164822
2022-12-16 09:41:40 +00:00
Nicolas Silva
c1c763c349 Bug 1805910 - Move CommandBuffer into its own file. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D164814
2022-12-16 09:37:44 +00:00
Otto Länd
7294569a92 Bug 1790368, 1790368, 1790368: apply code formatting via Lando
# ignore-this-changeset
2022-12-16 09:37:12 +00:00
Julian Descottes
f287f92861 Bug 1790368 - [wdspec] Add basic tests for network.beforeRequestSent event r=webdriver-reviewers,whimboo,jgraham
Depends on D162037

Differential Revision: https://phabricator.services.mozilla.com/D162038
2022-12-16 09:30:39 +00:00
Julian Descottes
3f84a23c66 Bug 1790368 - [bidi] Implement basic support for network.beforeRequestSent event r=webdriver-reviewers,Sasha,whimboo
Depends on D164147

Differential Revision: https://phabricator.services.mozilla.com/D162037
2022-12-16 09:30:39 +00:00
Julian Descottes
b7413706f3 Bug 1790368 - [devtools] Expose the nsIChannel in NetworkObserver's onNetworkEvent r=bomsy
We need to expose the nsIChannel in order to retrieve all the information needed by BiDi

Differential Revision: https://phabricator.services.mozilla.com/D164147
2022-12-16 09:30:38 +00:00
Marco Castelluccio
af137284b8 No bug - Enable flake8 for tools/crashreporter/system-symbols/win/symsrv-fetch.py and lint it. r=linter-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D163616
2022-12-16 09:29:57 +00:00
Paul Zuehlcke
ec684d8a04 Bug 1800102 - Add a cookiebanner event test for the cookie injector. r=timhuang
Depends on D164378

Differential Revision: https://phabricator.services.mozilla.com/D164379
2022-12-16 08:54:52 +00:00
Paul Zuehlcke
f3881e933a Bug 1800102 - Dispatch cookiebannerdetected and cookiebannerhandled events after nsICookieInjector handled a banner. r=timhuang,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D164378
2022-12-16 08:54:51 +00:00
Alexandra Borovova
ef60c731ac Bug 1791964 - [wdspec] Add test for "script.callFunction" for deserialization of platform objects of type Node. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D164654
2022-12-16 08:48:35 +00:00
Frederic Wang
7573c4fcdc Bug 1586574 - apply horizontal writing mode to mathml elements. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D48279
2022-12-16 08:44:34 +00:00
William Durand
347da613ef Bug 1805783 - Add a WPT test to cover the double conversion of the "midi" permission. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D164843
2022-12-16 08:40:29 +00:00
Gijs Kruitbosch
6adf438bc8 Bug 1805678 - clean up cruft in browserPlacesViews, r=mak
`.footer` is no longer used on extraClasses, so I got rid of that.

I simplified the `.entry` bits because they were unnecessarily
verbose. Honestly I think we may be able to remove the getter/setter
for `options` entirely, but I got bored of trying to modernize things...

PlacesPanelMenuView was introduced in bug 963095 and then replaced
as part of Photon (with PlacesPanelview) and then I removed the only
callsite (that was already behind a pref) in bug 1354117, so that was
just dead code, AFAICT, so I removed it.

Differential Revision: https://phabricator.services.mozilla.com/D164757
2022-12-16 08:06:08 +00:00
Gijs Kruitbosch
3d859095f0 Bug 1805678 - ensure bookmark menu button submenus don't reuse root/view element references, r=mak
Only the bookmarks menu button is doing this peculiar re-using of
options.

I tried various fixes: keeping the inheritance but replacing only the
rootElt/viewElt (and using Object.assign to clone the options so modifications
don't 'transmit' to the ancestor menus) but it was messy and net code increase
for a pretty crufty UI surface. I also wasn't sure if that would end up
negatively influencing (now or in the future) e.g. menus shown from the main
bookmarks toolbar view (which would show up as a 'parent' view for the menus
we open from there), and thought that reusing the options was likely to cause
further confusion in future as well, should we add more, uh, options, to them.

So in the end I stuck with Keeping It Simple - I just repeat the one-off
repeating entry class. I'm not even sure how needed this is - in particular,
I wonder why we don't need it for other submenus for 'real' bookmark folders!
But I didn't investigate this too much. If you're sure that we can get rid of
some more of it, happy to do that in a followup.

Note that the addition of _init() was not ultimmately needed to fix this bug
(I think), but it brought the initialization sequence and when we set
`_placesView` more in line with what we did before and what I already did for
`PlacesToolbar`, so that seemed like a good thing to avoid further/other issues.

Differential Revision: https://phabricator.services.mozilla.com/D164756
2022-12-16 08:06:07 +00:00