Граф коммитов

834903 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez eb1c40734b Bug 1823336 - [wayland] For unanchored popups don't read anchor / popup gravity. r=stransky
This matches the nsMenuPopupFrame code.

There are a few places where we want to fix our position, and I unified
how we do this in the regressing bug.

ShouldFollowAnchor() = false popups like this used to just not be repositioned directly:

  https://hg.mozilla.org/mozilla-central/rev/c15f0fb1c92375ea751b3916a4c25a34403f21b2#l9.274

IsNoAutoHide() popups fixed their position once:

  https://hg.mozilla.org/mozilla-central/rev/c15f0fb1c92375ea751b3916a4c25a34403f21b2#l9.867

I unified in the noautohide behavior but in a better place here:

  https://hg.mozilla.org/mozilla-central/rev/c15f0fb1c92375ea751b3916a4c25a34403f21b2#l9.1182

But this trips this Wayland code which wasn't treating AnchorType_Point
popups properly.

The fact that this popup doesn't follow the anchor feels wrong, but is
pre-existing.

Differential Revision: https://phabricator.services.mozilla.com/D173004
2023-03-21 12:32:02 +00:00
Julien Wajsberg 969e510983 Bug 1767774 - Remove a setTimeout in the profiler tests r=canaltinova
I spotted this setTimeout call while reviewing another patch, and
thought that it might be the cause for some of our intermittents.
It looks like that for some years now, we have this handy
waitForTabClosing function, that we can use instead.

Differential Revision: https://phabricator.services.mozilla.com/D173024
2023-03-21 12:16:49 +00:00
Greg Tatum 0f2bbe5465 Bug 1821768 - Make the about:translations page properly responsive; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D172312
2023-03-21 12:13:12 +00:00
Greg Tatum 4dd3a3433c Bug 1821768 - Make about:translations work in GeckoView; r=nordzilla,flod
Differential Revision: https://phabricator.services.mozilla.com/D172311
2023-03-21 12:13:12 +00:00
Greg Tatum 749ec49c51 Bug 1821768 - Move translations.ftl to toolkit; r=nordzilla,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D172310
2023-03-21 12:13:11 +00:00
Emilio Cobos Álvarez 7c07c10de0 Bug 1809843 - Skip one more failing test. a=kershaw
MANUAL PUSH: Fixes orange CLOSED TREE
2023-03-21 13:49:30 +01:00
Emilio Cobos Álvarez d8d7f3f68c Bug 1823552 - Fix test_popup_moveToAnchor.xhtml failures by resetting offset on MoveTo calls.
MANUAL PUSH: Trivial fix CLOSED TREE
2023-03-21 13:46:25 +01:00
Paul Zuehlcke 615b7caa03 Bug 1823376 - Return early after calling launchWithURI without prompt. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D172997
2023-03-21 11:55:50 +00:00
Emilio Cobos Álvarez c2a9cc3dc2 Bug 1818517 - Ignore crossing-due-to-grab-start events. r=stransky
An alternative for this could be to just ignore leave-notify during a
drag, but that seemed a bit more hackish.

Differential Revision: https://phabricator.services.mozilla.com/D172914
2023-03-21 11:51:17 +00:00
Emilio Cobos Álvarez 273cb18ba2 Bug 1823552 - When fixing the position of a followanchor="false" popup, don't lose the anchor rect altogether. r=stransky
Otherwise we lose the anchor constraints which can change our layout.
The only thing we want is to stop following the anchor _node_, so we can
just convert it to an anchor rect instead.

Differential Revision: https://phabricator.services.mozilla.com/D173135
2023-03-21 11:24:07 +00:00
Dão Gottwald 4c6be015f6 Bug 1823608 - Fix and consolidate logic for whether quickSuggest and bestMatch blocking are enabled. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D173124
2023-03-21 11:07:26 +00:00
serge-sans-paille 47b6fcdc1c Bug 1823348 - Make toolkit/components/extensions/webrequest buildable outside of a unified build environment r=andi
Depends on D172975

Differential Revision: https://phabricator.services.mozilla.com/D172976
2023-03-21 10:47:31 +00:00
serge-sans-paille 8f6f9181e7 Bug 1823347 - Make toolkit/components/extensions/webidl-api buildable outside of a unified build environment r=andi
Depends on D172974

Differential Revision: https://phabricator.services.mozilla.com/D172975
2023-03-21 10:47:31 +00:00
serge-sans-paille 5b56995e9e Bug 1823346 - Make toolkit/components/ctypes/tests buildable outside of a unified build environment r=andi
Depends on D172973

Differential Revision: https://phabricator.services.mozilla.com/D172974
2023-03-21 10:47:30 +00:00
serge-sans-paille db691f6648 Bug 1823345 - Make toolkit/components/cookiebanners buildable outside of a unified build environment r=andi
Depends on D172972

Differential Revision: https://phabricator.services.mozilla.com/D172973
2023-03-21 10:47:30 +00:00
serge-sans-paille 36d9142424 Bug 1823344 - Make toolkit/components/bitsdownload buildable outside of a unified build environment r=andi
Depends on D172971

Differential Revision: https://phabricator.services.mozilla.com/D172972
2023-03-21 10:47:29 +00:00
serge-sans-paille 289f6025c1 Bug 1823343 - Make toolkit/components/backgroundhangmonitor buildable outside of a unified build environment r=andi
Depends on D172970

Differential Revision: https://phabricator.services.mozilla.com/D172971
2023-03-21 10:47:29 +00:00
serge-sans-paille 0b8f6e8674 Bug 1823342 - Make toolkit/components/antitracking/test/gtest buildable outside of a unified build environment r=andi
Depends on D172969

Differential Revision: https://phabricator.services.mozilla.com/D172970
2023-03-21 10:47:29 +00:00
serge-sans-paille ca06ea9162 Bug 1823341 - Make toolkit/components/antitracking buildable outside of a unified build environment r=andi
Depends on D172968

Differential Revision: https://phabricator.services.mozilla.com/D172969
2023-03-21 10:47:28 +00:00
serge-sans-paille eb997b688d Bug 1823340 - Make toolkit/components/alerts buildable outside of a unified build environment r=andi
Depends on D172967

Differential Revision: https://phabricator.services.mozilla.com/D172968
2023-03-21 10:47:28 +00:00
serge-sans-paille 2769e318fc Bug 1823339 - Make toolkit/components/aboutthirdparty/tests/TestShellEx buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D172967
2023-03-21 10:47:27 +00:00
Stanca Serban 7369c7013f Backed out changeset 4a7ad0b00cda (bug 1823358) for causing xpcshell failures in netwerk/test/unit/test_cookies_privatebrowsing.js. CLOSED TREE 2023-03-21 13:03:54 +02:00
Stanca Serban 77aa495f94 Backed out 4 changesets (bug 1765992, bug 1823148) for causing multiple failures. CLOSED TREE
Backed out changeset fc5514b8c974 (bug 1823148)
Backed out changeset f1557bbb7e52 (bug 1765992)
Backed out changeset 605a523fd68f (bug 1765992)
Backed out changeset a4b61f52eb59 (bug 1765992)
2023-03-21 12:51:09 +02:00
Zach Hoffman 96361c5339 Bug 1823602 - Check that the lowercase attribute is different before trying to track it r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173112
2023-03-21 10:23:54 +00:00
Emilio Cobos Álvarez c44c202b66 Bug 1823520 - Fix category list styling on small windows. r=Gijs,settings-reviewers
Usually richlistboxes like this are scrollable and can shrink, but in
this particular case we want to avoid the scrolling and prevent it from
shrinking vertically.

My patch to allow XUL to shrink made it go from an effective
flex-shrink: 0 to 1, which combined with its min-height: 0 from the UA
stylesheet allows it to shrink when it previously didn't.

We could use flex-shrink: 0 for our purposes as well and it'd achieve
the same behavior, but min-height: auto works in grid as well, so is a
tad nicer IMO. Either way tho.

Differential Revision: https://phabricator.services.mozilla.com/D173091
2023-03-21 10:02:59 +00:00
Emilio Cobos Álvarez afd00e7267 Bug 1823515 - Don't shrink richlistitems. r=Gijs
For the same reasons we don't want to let menuitems shrink
(bug 1822771).

There's another issue here (we have crop="end" on some of these labels,
but it doesn't work and never has because we have no value attribute).

But this returns to the pre-regression behavior.

Differential Revision: https://phabricator.services.mozilla.com/D173090
2023-03-21 10:01:18 +00:00
omega judith f065c7b3d4 Bug 1822985 - Convert toolkit/components/antitracking to ES modules. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D172887
2023-03-21 09:59:34 +00:00
Peter Van der Beken 7c7f1d327f Bug 1823148 - Correct some errors in dom/bindings/test/test_dom_xrays.html. r=edgar
Depends on D171705

Differential Revision: https://phabricator.services.mozilla.com/D172915
2023-03-21 09:50:22 +00:00
Peter Van der Beken 0ddb007f28 Bug 1765992 - Fix WebIDL Xrays to properly deal with a static and non-static property with the same name. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D171705
2023-03-21 09:50:21 +00:00
Peter Van der Beken b61fafaf30 Bug 1765992 - Support regular and static WebIDL operations with the same identifier on the same interface. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D171703
2023-03-21 09:50:21 +00:00
Ms2ger f4e42cdc76 Bug 1765992 - Support regular and static WebIDL operations with the same identifier; r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D171216
2023-03-21 09:50:20 +00:00
Jan de Mooij d1fa704256 Bug 1820602 - Use shape guard instead of class guard for CallDOMFunction. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D171836
2023-03-21 09:34:35 +00:00
Kershaw Chang 5e58575e28 Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu
Differential Revision: https://phabricator.services.mozilla.com/D171842
2023-03-21 09:09:58 +00:00
Kershaw Chang b39b0bed43 Bug 1809843 - Run mochitest with Http/3 server on try, r=gbrown,necko-reviewers,ci-and-tooling,valentin,suhaib,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D167515
2023-03-21 09:09:58 +00:00
Stanca Serban 5cc62d9dc4 Backed out changeset 163d0d505694 (bug 1821408) for causing failures in browser_pdfjs_filters.js. CLOSED TREE 2023-03-21 11:15:46 +02:00
Kagami Sascha Rosylight 1f08520e4c Bug 1822675 - Part 2: Do not reject with uncatchable exception r=smaug
https://wpt.live/encoding/streams/stringification-crash.html crashes again without this.

Depends on D172794

Differential Revision: https://phabricator.services.mozilla.com/D173026
2023-03-21 09:03:05 +00:00
Kagami Sascha Rosylight 0b8d79c640 Bug 1822675 - Part 1: Call write asynchronously from PipeToPump r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D172794
2023-03-21 09:03:04 +00:00
Valentin Gosu e5eb61ebfc Bug 1823358 - Add new network.trr.ohttp.uri pref r=keeler,necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D172988
2023-03-21 08:49:53 +00:00
Calixte f46dd574eb Bug 1821408 - Add a test for testing SVG filters in pdf.js r=pdfjs-reviewers,emilio,marco
SVG filters weren't working correctly because of a mismatch between filter URI
and document URI. The problem has been fixed in:
  https://github.com/mozilla/pdf.js/pull/16153
and here's the test.

Differential Revision: https://phabricator.services.mozilla.com/D172223
2023-03-21 08:42:21 +00:00
Julien Cristau 669961fea2 Bug 1822786 - reload mozbuild modules in mach taskgraph --diff. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D172777
2023-03-21 08:19:31 +00:00
Frazier Odhiambo 9ac5475c8f Bug 1816664 Rename addSessionData/removeSessionData methods of RootMessageHandler to addSessionDataItem/removeSessionDataItem r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D172513
2023-03-21 07:57:31 +00:00
Mozilla Releng Treescript c385272f00 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
fi -> 521418a3e95a62142672a52ba2a725e5ca632abb
kk -> de51976f7ca063a6d3f618a23e956ebeb94fc90f
lo -> ef7c307e9da04428db1d1d80373c1ab72c1e0d16
my -> 1a7aa45eaa62dfe3b6a8f60c92d1ad97f38bdbed
tr -> 588313bc500bb79b94c475a8fe3438aa1d2f0550
2023-03-21 07:01:39 +00:00
Francesco Lodolo (:flod) beab18b231 Bug 1823357 - Add Tajik (tg) to Beta/Release builds with Firefox 113, r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D172987
2023-03-21 05:55:16 +00:00
Mike Hommey 03ca551286 Bug 1821221 - Switch Android builds to compiler-rt + libunwind. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D172076
2023-03-21 05:13:43 +00:00
Itiel 137075514e Bug 1823523 - Improve the fix for bug 1818973 r=credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D173077
2023-03-21 04:52:03 +00:00
Alexander Surkov 19fd43ac10 Bug 1821732 - implement the nearest inclusive open popover algorithm, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173043
2023-03-21 02:21:28 +00:00
Nan Jiang 97d1695283 Bug 1822604 - Fix an edge case for spoc topsites injection r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D173094
2023-03-21 01:29:31 +00:00
James Teh 633f202e6d Bug 1821954: Make HyperTextAccessible::Char/TextBounds use HyperTextAccessibleBase when the cache is enabled. r=morgan
This is consistent with other HyperTextAccessible methods such as TextAtOffset.
It allows us to test the new implementation with LocalAccessible.
This is especially useful because we have better test coverage in our HyperText tests than we do in our TextLeafPoint tests.

In fact, running the tests with this change uncovered some bugs which I had to fix here.

First, TextLeafPoint::ComputeBoundsFromFrame was preferring to stick to the end of the first frame when on a boundary, rather than using the next frame.
For example, if we had the text "a\nb" where "b" is split into a continuation, offset 2 "b" was previously using the primary frame instead of the continuation.
This isn't a problem in HyperTextAccessible::GetBoundsInFrame because it walks to the next continuation if needed, since it is dealing with a range of offsets.
This is fixed by preferring the beginning of the next frame instead.

Second, passing the text length as the offset (i.e. one past the last character) should return a 0 rect.
TextLeafPoint::CharBounds needed to be tweaked accordingly.

Third, if TextLeafPoint returns a 0 rect (e.g. because a RemoteAccessible doesn't have a cache yet), HyperTextAccessibleBase needs to respect that and return it untouched.

Differential Revision: https://phabricator.services.mozilla.com/D172533
2023-03-21 01:23:40 +00:00
sotaro 9ca40310af Bug 1823352 - A little code cleanup in RenderThread r=gfx-reviewers,aosmond
Preparation for Bug 1804233

Differential Revision: https://phabricator.services.mozilla.com/D172981
2023-03-21 00:24:27 +00:00
alwu b37f11ef4d Bug 1821803 - part4 : prevent setting CDM before the engine initialization. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D172489
2023-03-21 00:17:11 +00:00