Commit graph

838538 commits

Author SHA1 Message Date
Zeid
7c080097d0 Bug 1817289: generate exported mots in mach doc r=sheehan,firefox-source-docs-reviewers,sylvestre
- generate exported index.rst file in mach doc
- stop tracking docs/mots/index.rst, add it to ignore files
- add mots.yaml to sphinx-docs sparse profile
- add mots to requirements

Differential Revision: https://phabricator.services.mozilla.com/D170116
2023-04-18 17:20:55 +00:00
Natalia Csoregi
d8c2893185 Backed out changeset 4938674bfdf6 (bug 1827440) for causing bustage on ipdl. CLOSED TREE 2023-04-18 20:26:40 +03:00
Peter Van der Beken
cdb5623519 Bug 1828631 - Perma lint [tier 2] wptrunner.wptmanifest.parser.ParseError. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D175779
2023-04-18 17:15:45 +00:00
Nika Layzell
3471f8cd6a Bug 1827440 - Stop sending a redundant actor reference in Send__delete__, r=ipc-reviewers,mccr8
Previously we would both send it as the routing target for the actor as
well as as an implicit actor parameter. This patch keeps the same API
from the caller's point of view, but avoids sending the second reference
to the actor in the Send__delete__ message, which also avoids potential
issues with the second reference being null under fuzzing.

Differential Revision: https://phabricator.services.mozilla.com/D175545
2023-04-18 17:12:22 +00:00
Greg Mierzwinski
e3138205eb Bug 1827609 - Set new platform/test names correctly when using MWU to detect changes. r=perftest-reviewers,kshampur
Currently the new platform and task names are getting stuck as the first test being analyzed. This patch fixes it by changing how those two values are setup.

Differential Revision: https://phabricator.services.mozilla.com/D175246
2023-04-18 17:05:20 +00:00
Emilio Cobos Álvarez
07df8ca78e Bug 1825709 - Tweak assertion count of 1623918.html since it hits both the old and new asserts.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2023-04-18 18:50:58 +02:00
Erik Nordin
b6ddd10aad Bug 1813777 - Display beta tags on beta languages for Firefox Translations r=gregtatum,fluent-reviewers,flod
Displays languages as being in beta in the selectors for both
the about:translations page and for in-page translations.

Differential Revision: https://phabricator.services.mozilla.com/D175440
2023-04-18 16:25:22 +00:00
Drew Willcoxon
6829a78aa2 Bug 1827943 - Implement the weather suggestion result menu UI. r=dao,fluent-reviewers,flod
This implements the weather suggestion result menu UI and builds on D174941.
References:

* [Spec]( https://www.figma.com/file/Hdi0oHB7trRcncyVAKZypO/accuweather-explorations?node-id=2421%3A62540&t=29w6wH3UYchqBxqX-1) (See "A11y review" in the sidebar)
* [Clickable prototype](https://www.figma.com/proto/Hdi0oHB7trRcncyVAKZypO/accuweather-explorations?page-id=2192%3A42825&node-id=2394-52468&viewport=246%2C526%2C0.12&scaling=min-zoom&starting-point-node-id=2394%3A52468&show-proto-sidebar=1) (See "Revised 4/3" in the sidebar)

There are a couple important points about the menu. First, one of the commands,
"Report inaccurate location", is specific to weather suggestions, or at least
location-based suggestions. I don't think it's a good idea to centralize all
commands in UrlbarView, and in general I'd like to stop centralizing handling of
different result types in the view and input, so I added a new provider method
called `getResultCommands()`.

Second, the spec calls for a menu separator and a submenu so the user can select
a reason they don't want to see the result, so the return value of
`getResultCommands()` is flexible enough to support those two things, and I
modified `#populateResultMenu()` too.

These new commands will be recorded in Glean engagement telemetry as new
`engagement_type` values, same as "dismiss" and "help" currently are.

This patch doesn't implement handling of two of the commands, "Report inaccurate
location" and "Show less frequently", because I wanted to keep it focused on the
fundamentals described above.

Depends on D174941

Differential Revision: https://phabricator.services.mozilla.com/D174994
2023-04-18 16:22:56 +00:00
Brad Werth
76439c38d3 Bug 1826645 Part 3: Add a test of fullscreen rapid-cycle enters and exits. r=edgar
This test aspires to be a simple example of how repeated requests to enter
and exit fullscreen stress the fullscreen handling code.

Differential Revision: https://phabricator.services.mozilla.com/D174797
2023-04-18 16:10:03 +00:00
Brad Werth
80e8eb7818 Bug 1826645 Part 2: Make Document hold fullscreen requests while an exit is being processed. r=edgar
This change makes the parent process delay a fullscreen request if there
is a pending fullscreen exit. It also changes the DOMFullscreenParent
actor listener lifecycle. Once it has started handling a fullscreen
request, it will remain a listener to the Document until it receives an
exit event when the manager is out of fullscreen.

Differential Revision: https://phabricator.services.mozilla.com/D175186
2023-04-18 16:10:03 +00:00
Brad Werth
18b4b5fd3f Bug 1826645 Part 1: Make FullscreenElementReadyCheck check for focused tabs, not active tabs. r=edgar
This change relaxes the check slightly. Spec requires that the tab is
focused. Our existing check for "active" is additionally requiring the tab
to be non-occluded. Since occlusion updates are asynchronous when the
transition itself is asynchronous, this change allows rapid requests to be
permitted as long as the underlying window and tab state is as expected.

Differential Revision: https://phabricator.services.mozilla.com/D174983
2023-04-18 16:10:03 +00:00
Iain Ireland
7c146bdbfe Bug 1828312: Handle running out of virtual registers in definePhis r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D175675
2023-04-18 16:03:29 +00:00
Tim Giles
ce7fbbee7d Bug 1820654 - Migrate string after changing markup in string. r=flod
Depends on D175011

Differential Revision: https://phabricator.services.mozilla.com/D175525
2023-04-18 16:01:17 +00:00
anayo
a40aadc4ef Bug 1820654 - Replace the label link under manualUpdate with html element. r=tgiles,flod,application-update-reviewers,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D175011
2023-04-18 16:01:17 +00:00
Emilio Cobos Álvarez
8ef888bfb2 Bug 1825709 - Make nsDateTimeControlFrame inherit from nsTextControlFrame. r=dshin
Seems like this should be doable, and would avoid mistakes like this in
the future.

Differential Revision: https://phabricator.services.mozilla.com/D175748
2023-04-18 15:28:11 +00:00
Emilio Cobos Álvarez
6043acc3ad Bug 1825709 - Remove DEBUG-only override of nsTextControlFrame::MarkIntrinsicISizesDirty. r=dshin
This seems to be here since nsTextControlFrame has a meaningful
baseline, but it doesn't make much sense to me:

 * Baseline is a block axis, not inline axis measurement.
 * It doesn't call into the base class which seems clearly a bug (though
   the intrinsic isize of the input is ~fixed, doesn't depend on font
   metrics, so it's probably ok).

My guess is that it was intended to be a debug-only check so that we
could detect stale baseline values.

Just remove this, and replace it by a non-fatal assert as it's done
elsewhere.

Differential Revision: https://phabricator.services.mozilla.com/D175745
2023-04-18 15:24:09 +00:00
Emilio Cobos Álvarez
6b96db2587 Bug 1825709 - Account for min/max bsize in nsTextControlFrame::ComputeBaseline. r=dshin
This isn't needed for nsTextControlFrame because its ComputeAutoSize
implementation doesn't return an unconstrained line-height for inputs,
so we never end up in the UNCONSTRAINEDSIZE case, but it's needed for
date/time inputs.

Use GetLineHeight while at it, since it's the inflated line-height which
is what we want, and may be cached so we can avoid computing it.

Maybe in the future we can make date/time inputs just use
nsTextControlFrame, which would prevent this from happening in the
future.

Depends on D175745

Differential Revision: https://phabricator.services.mozilla.com/D175746
2023-04-18 15:21:15 +00:00
Emily McMinn
908c61fcf4 Bug 1824807 - Remove unnecessary await from aboutPrivateBrowsing translateElements helper r=pdahiya,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D174810
2023-04-18 15:12:28 +00:00
Lee Salzman
c46c54bdc7 Bug 1828393 - Fix building Skia on GCC SPARC. r=aosmond,gfx-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175726
2023-04-18 15:09:40 +00:00
Lee Salzman
1b21d02a37 Bug 1827727 - Fix building Skia on GCC ARM. r=aosmond,gfx-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175578
2023-04-18 15:09:01 +00:00
Lee Salzman
5f37f41db4 Bug 1828137 - Support accelerating large clearRects if they encompass entire viewport. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D175727
2023-04-18 15:08:27 +00:00
Emilio Cobos Álvarez
8b5b7ad998 Bug 1827856 - Remove nativeAnonymousChildList observers. r=smaug,credential-management-reviewers,devtools-reviewers,sgalich,nchevobbe
You let me know if this seems appealing to you :)

Differential Revision: https://phabricator.services.mozilla.com/D175382
2023-04-18 14:58:34 +00:00
Andrew Osmond
193c21ac76 Bug 1827703 - Improve integration with OpenH264 decoder. r=media-playback-reviewers,padenot
Prefer timestamp from the OpenH264 decoder if available.

This patch bumps the API version for the GMP plugin API. The OpenH264
library takes advatange of this. It also adds a few quality of life
options. One request the GMP library logging be turned on via the
"GMPLibrary" log module. One can toggle between single and
multi-threaded decoding via media.gmp.decoder.multithreaded. One can
toggle between single or batch decoding via
media.gmp.decoder.decode_batch.

Provided the OpenH264 library supports this, it will now provide the
adjusted presentation timestamp from the decoder. This is necessary for
encodings with B frames that may be out of order. This corresponds to
the SBufferInfo::uiOutYuvTimestamp from the library. If it is not
available, we will default to our historical behaviour and use the
original presentation timestamp.

Additionally, we now assume that H264 frames may also be provided out of
order, and we provide a reorder queue to buffer the input similar to the
other H264 decoders such as Apple's and Widevine's. This will ensure
that regardless of the plugin output, we will provide any necessary
reordering.

Differential Revision: https://phabricator.services.mozilla.com/D175281
2023-04-18 14:47:42 +00:00
Mike Conley
6969581510 Bug 1827204 - Set the right aria roles and attributes for the browser profile selector in the new migration wizard. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D175052
2023-04-18 14:31:50 +00:00
Jon Coppeard
1336ced0e4 Bug 1828603 - Optimize match method to check pointer equality first r=jandem
If the key and lookup pointers are the same we don't need to check the unique
ID.

Differential Revision: https://phabricator.services.mozilla.com/D175737
2023-04-18 14:19:29 +00:00
Timothy Nikkel
08919727d4 Bug 1827828. Bump fuzz on layout/reftests/svg/pattern-transformed-02.svg. r=gfx-reviewers,aosmond
I looked at the rendering, still looks same.

Differential Revision: https://phabricator.services.mozilla.com/D175774
2023-04-18 14:17:05 +00:00
Brian
bea51f604f Bug 1824640 - Write a test that ensures that if there are no browser profile migrators available, the new Migration Wizard is sent to the NO_BROWSERS_FOUND page. r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D175149
2023-04-18 14:09:31 +00:00
Ziran Sun
5dfafa520f Bug 1824350 - Implement queue a popover toggle event task for Popover. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173820
2023-04-18 13:51:23 +00:00
Cathie Chen
8ea3ac776a Bug 1827244 - Popover: implement topmost popover ancestor, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D175059
2023-04-18 13:48:38 +00:00
Emilio Cobos Álvarez
dc01df27d9 Bug 1825709 - Misc clean-ups in nsTextControlFrame. r=dshin
Use inline initializers etc.

Differential Revision: https://phabricator.services.mozilla.com/D175744
2023-04-18 13:47:57 +00:00
Greg Mierzwinski
2fea175bff Bug 1825770 - Consider --rebuild setting when determining if max tasks hit. r=perftest-reviewers,AlexandruIonescu
This patch moves some code to properly handle the max number of tasks better, and considers the --rebuild setting when we check if there are too many tasks selected.

Differential Revision: https://phabricator.services.mozilla.com/D174261
2023-04-18 13:46:24 +00:00
serge-sans-paille
e1f15307f4 Bug 1828386 - Make modules/libjar buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D175599
2023-04-18 13:43:20 +00:00
serge-sans-paille
d9d8661689 Bug 1828385 - Make modules/libmar/verify buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D175598
2023-04-18 13:43:20 +00:00
serge-sans-paille
1338134eb7 Bug 1828384 - Make ipc/mscom buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D175597
2023-04-18 13:43:20 +00:00
serge-sans-paille
e7244ea028 Bug 1828383 - Make hal/ buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D175596
2023-04-18 13:43:20 +00:00
serge-sans-paille
45901a24b9 Bug 1828382 - Make browser/app/winlauncher/freestanding buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D175595
2023-04-18 13:43:19 +00:00
serge-sans-paille
89cc07cf04 Bug 1828381 - Make accessible/windows/sdn buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D175594
2023-04-18 13:43:19 +00:00
serge-sans-paille
dc8420c9d8 Bug 1828380 - Make accessible/windows/msaa buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D175593
2023-04-18 13:43:19 +00:00
serge-sans-paille
9fe0b3de0d Bug 1828379 - Make accessible/windows/ia2 buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D175592
2023-04-18 13:43:19 +00:00
serge-sans-paille
abdbe44b83 Bug 1828378 - Make accessible/mac buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D175591
2023-04-18 13:43:19 +00:00
Jari Jalkanen
ca9b1c4b77 Bug 1818718 - Separate path semantics indifferent part from OPFS move and rename. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D174857
2023-04-18 13:40:44 +00:00
andrej
3065a38bd4 Bug 1827256 - Run Nightly start up benchmarks on geckoview_example. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D175386
2023-04-18 13:23:49 +00:00
Cristian Tuns
abed4e9949 Backed out changeset 96f01a59fe31 (bug 1827572) for causing bc failures in /browser_aboutwelcome_multistage_mr.js CLOSED TREE 2023-04-18 09:28:45 -04:00
Sebastian Hengst
769cad238f Bug 1804140 - set reason for disabled test. DONTBUILD CLOSED TREE 2023-04-18 14:51:43 +02:00
Julien Cristau
ab019725e8 Bug 1828621 - fix MSIX publisher setting for non-shippable builds on level 3 trees. r=bhearsum DONTBUILD
We need to keep the publisher setting consistent with the signing certificate:
only shippable builds should use the prod setting, debug and opt builds use dep
signing even on level 3 trees.

Differential Revision: https://phabricator.services.mozilla.com/D175764
2023-04-18 12:48:44 +00:00
Andi-Bogdan Postelnicu
3d035ca8b1 Bug 1679492 - Remove parts that are unused from mfbt/TemplateLib. r=sergesanspaille
Some implementations from TemplateLib are easily changeable with std functionality.
mozilla::tl::And has been removed and replaced with std::conjuction

Differential Revision: https://phabricator.services.mozilla.com/D175762
2023-04-18 12:42:13 +00:00
Andi-Bogdan Postelnicu
9ed92a7918 Bug 1679492 - Move away from using mozilla::tl::And. r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D175761
2023-04-18 12:42:13 +00:00
Jonathan Kew
76ed086766 Bug 1826629 - Add some basic reftests for -webkit-text-security rendering. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D175568
2023-04-18 11:47:08 +00:00
Jonathan Kew
9c1b2512f5 Bug 1826629 - Implement CSS and rendering (but not copy/paste) support for the (non-standard) -webkit-text-security property. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D174951
2023-04-18 11:47:07 +00:00
Greg Mierzwinski
c83c8037b1 Bug 1808747 - Add python test support class scripts to raptor. r=perftest-reviewers,afinder
This patch adds python support classes for tests. With them, we'll be able to customize the results, and output parsing better, and with less impact on other existing tests. The first method available allows a test author to modify the command before the test runs. A sample test is also added to show how it all works. No CI tests will be added for it.

Differential Revision: https://phabricator.services.mozilla.com/D173870
2023-04-18 11:46:37 +00:00