Commit Graph

864492 Commits

Author SHA1 Message Date
Mike Hommey
cc95d3a117 Bug 1886058 - Update builders to rustc 1.79 r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D213343
2024-06-14 05:14:21 +00:00
Joel Maher
2456e44bb6 Bug 1902297 - remove references to d3d11 as we don't run this in CI. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D213576
2024-06-14 04:08:21 +00:00
sotaro
e894b4d9ee Bug 1899231 - Add capability to interrupt TranslateRecording() r=gfx-reviewers,lsalzman
When it is enabled, CanvasTranslator and mPendingCanvasTranslatorEvents are used to handle TranslateRecording() and related events serially.

For now, mPendingCanvasTranslatorEvents is used only with the following situation.
- gfx.canvas.remote.use-canvas-translator-event
- !mTranslationTaskQueue

pref gfx.canvas.remote.use-canvas-translator-event is enabled only with Nightly, since its usage is going to be synchronized with pref gfx.remote-texture.wait-owner-at-image-host until release.

Differential Revision: https://phabricator.services.mozilla.com/D212219
2024-06-14 03:14:54 +00:00
Jim Blandy
a29c397021 Bug 1901628: Update wgpu to 6c370522 (2024-06-10). r=webgpu-reviewers,supply-chain-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D213162
2024-06-14 02:41:02 +00:00
Mike Hommey
f7daacd8de Bug 1902214 - Don't try to convert arguments from /ARG form to -ARG form. r=firefox-build-system-reviewers,sergesanspaille
Back when this was done, we had some trouble with make calling commands
through the shell instead of via CreateProcess on Windows, which made
the intermediate shell replace /ARG with c:\path\to\msys\ARG paths,
which didn't end up well.

This however doesn't happen anymore, so we can get rid of the hack.

That leaves us with only the backslash problem, but because it's a windows
problem, rather than being related to the compiler being clang-cl, we also
fix the condition under which we make the switch to forward slashes.

Differential Revision: https://phabricator.services.mozilla.com/D213538
2024-06-14 01:59:05 +00:00
Mike Hommey
27c73fdcf3 Bug 1902214 - Use -std:c++17 on clang-cl builds. r=firefox-build-system-reviewers,sergesanspaille
For some reason, we ended up using -Xclang -std=c++17, when we could
just have used -std:c++17, which simplifies things.

Differential Revision: https://phabricator.services.mozilla.com/D213537
2024-06-14 01:59:05 +00:00
Mike Hommey
756ec00fc9 Bug 1902214 - Move clang library linkage to moz.build. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D213536
2024-06-14 01:59:04 +00:00
Mike Hommey
9b53e3ed17 Bug 1902214 - Move -flat_namespace and -undefined suppress flags out of configure. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D213535
2024-06-14 01:59:04 +00:00
Mike Hommey
82f815ae02 Bug 1902214 - Stop filtering out -isysroot and -gcc-toolchain. r=firefox-build-system-reviewers,sergesanspaille
-isysroot was appearing in the llvm-config output on mac in very old
clang.llvm.org builds. The latest builds don't do that anymore, and our
own bootstrapped builds don't either.

-gcc-toolchain was filtered out because we were using it to build our
own clang and that transpired in llvm-config, but we don't anymore, as
of bug 1719226.

Differential Revision: https://phabricator.services.mozilla.com/D213534
2024-06-14 01:59:04 +00:00
Mike Hommey
ffb120f561 Bug 1902214 - Don't filter-out /path/to/clang/lib from LDFLAGS on mac. r=firefox-build-system-reviewers,sergesanspaille
We did that to avoid linking against clang's libc++, but that hasn't
been necessary since we removed it in bug 1788870.

Differential Revision: https://phabricator.services.mozilla.com/D213533
2024-06-14 01:59:03 +00:00
Cristian Tuns
3592169d4b Backed out changeset 072c9a687784 (bug 1817981) for causing mochitest failures in test_worker_in_background.html CLOSED TREE 2024-06-13 23:30:43 -04:00
Tamas Szentpeteri
7b9a55f977 Backed out 4 changesets (bug 1900126, bug 1897529, bug 1901336) for causing mochitest failures on test_moz_message_bar.html. CLOSED TREE
Backed out changeset 212bac58cc17 (bug 1900126)
Backed out changeset efaba56826e3 (bug 1897529)
Backed out changeset 9c52e2ac9df2 (bug 1897529)
Backed out changeset fc94dfe91c29 (bug 1901336)
2024-06-14 06:09:39 +03:00
Robin Steuber
e6bc6a566a Bug 1901143 - Add more testing that update pings are sent r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D213378
2024-06-14 00:58:53 +00:00
Masayuki Nakano
b3c5045ec1 Bug 1675847 - part 5: Make contextmenu event dispatchers use WidgetPointerEvent or PointerEvent r=smaug,pip-reviewers,devtools-reviewers,nchevobbe,mconley
`eContextMenu` event may be fired from `widget`.  Therefore, different from
`ePointerClick` and `ePointerAuxClick`, they may cross the process boundary,
may be handled by APZ and may be dispatched into the DOM after a delay.
Therefore, this patch is complicated than the previous patch.  This adds
* New IPC message handlers for sending/receiving a `WidgetPointerEvent`
* New `DelayedPointerEvent` class and templated `MouseInput::ToWidgetEvent`
* `PresShell::EventHandler` handles `eContextMenu` as same as `WidgetMouseEvent`

Differential Revision: https://phabricator.services.mozilla.com/D213003
2024-06-14 00:18:48 +00:00
Masayuki Nakano
ad29ed8dd2 Bug 1675847 - part 4: Make ePointerAuxClick event dispatchers use WidgetPointerEvent r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D213002
2024-06-14 00:18:47 +00:00
Masayuki Nakano
e1fd41420f Bug 1675847 - part 3: Make ePointerClick event dispatchers and handlers use WidgetPointerEvent r=smaug,search-reviewers,devtools-reviewers,nchevobbe,jteow
This patch makes the all `ePointerClick` event dispatcher in C++ code use
`WidgetPointerEvent` instead of `WidgetMouseEvent`.

Then, this patch also makes the all `click` event dispatcher in chrome code use
`PointerEvent` instead of `MouseEvent`.  For detecting wrong trusted event
dispatching of `click` event, this patch adds assertion into `MouseEvent`.
Therefore, all chrome test dispatchers also changed to use `PointerEvent`.

Finally, this patch includes a change of a WPT.  That checks the `pointerId`
caused by executing an access key.  In this case, the value should be `-1`
rather than the default value `0` because Pointer Event spec defines so for
synthetic pointer events caused by non-pointing devices [1].  Chrome also
sets it to `-1` and fails [2].  Therefore, the new assertion will pass on both
Firefox and Chrome.

1. https://w3c.github.io/pointerevents/#dom-pointerevent-pointerid
2. https://wpt.fyi/results/uievents/interface/keyboard-accesskey-click-event.html?run_id=5087897523060736&run_id=5136270464647168&run_id=5163620816388096&run_id=5201281304231936

Differential Revision: https://phabricator.services.mozilla.com/D213001
2024-06-14 00:18:47 +00:00
Masayuki Nakano
971c0244cb Bug 1675847 - part 2: Rename some methods which handle "MouseClick" r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D213000
2024-06-14 00:18:46 +00:00
Masayuki Nakano
fb5048e05b Bug 1675847 - part 1: Rename eMouseClick and eMouseAuxClick r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D212999
2024-06-14 00:18:46 +00:00
Masayuki Nakano
26abb3d1b9 Bug 1728566 - Make the HTMLEditor::InsertParagraphSeparatorAsSubAction callers compute the editing host no limited in the <body> r=m_kato
While handling an "insertParagraph" command, it's closed at least in the editing
host.  Therefore, it's file to use editing host outside `<body>` because it
won't make the tree messy outside the editing host.

Differential Revision: https://phabricator.services.mozilla.com/D213376
2024-06-14 00:16:17 +00:00
Masayuki Nakano
7524eb51de Bug 1414893 - Add the reported testcase to WPT r=sefeng
I don't reproduce the crash even if I rewrite the test using `attachShadow`
which replaced `createShadowRoot`.  Therefore, this patch just adds the reported
testcase into the tree.

Differential Revision: https://phabricator.services.mozilla.com/D213375
2024-06-14 00:15:44 +00:00
Joel Maher
c27910902a Bug 1902294 - Remove unnecessary verify in *.list files. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D213575
2024-06-13 23:46:46 +00:00
Erik Nordin
569a3ad047 Bug 1900023 - Fix SelectTranslationsPanel keyboard navigation on macOS r=ohall,translations-reviewers
This patch ensures that every button in the SelectTranslationsPanel
can be invoked both with the Enter key or the space bar on all
operating systems.

Differential Revision: https://phabricator.services.mozilla.com/D213635
2024-06-13 23:43:50 +00:00
Dana Keeler
37743e7d23 Bug 1902380 - only set the mitm canary if the connection error is SEC_ERROR_UNKNOWN_ISSUER r=bytesized,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D213669
2024-06-13 23:11:24 +00:00
Geoff Lankow
9e24734c58 Bug 1878627 - Ignore ScrollFrameActivityTracker timers in browser mochitests. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D213504
2024-06-13 22:57:43 +00:00
aiunusov
2d09a12c0b Bug 1817981 - Add possibility to mark worker private being in background, r=smaug,asuth
Differential Revision: https://phabricator.services.mozilla.com/D209334
2024-06-13 22:43:23 +00:00
Andrew McCreight
7e5cd3bd2b Bug 1902344 - Remove outdated data structure references in "Using C++ in Mozilla code" and elsewhere. r=xpcom-reviewers,nika DONTBUILD
nsAutoTArray was renamed to AutoTArray.

nsDataHashtable and nsJSThingHashtable don't exist any more.

nsTHashMap and nsTHashSet now exist.

nsDeque is properly typed now.

Pair is now CompactPair.

Differential Revision: https://phabricator.services.mozilla.com/D213624
2024-06-13 22:41:51 +00:00
Edgar Chen
1905ed4ab8 Bug 1894901 - Add test for bug 1828259; r=smaug
Depends on D209355

Differential Revision: https://phabricator.services.mozilla.com/D209356
2024-06-13 22:26:28 +00:00
alwu
1e3a79b32a Bug 1902169 - part2 : update 'mfcdm.error' probe. r=media-playback-reviewers,jolin
Depends on D213667

Differential Revision: https://phabricator.services.mozilla.com/D213668
2024-06-13 21:57:16 +00:00
alwu
62f79c2868 Bug 1902169 - part1 : update 'mfcdm.eme_playback' probe. r=media-playback-reviewers,jolin
Differential Revision: https://phabricator.services.mozilla.com/D213667
2024-06-13 21:57:16 +00:00
Mark Striemer
7b96f60e6a Bug 1900126 - Update sidebar settings fonts/spacing r=reusable-components-reviewers,sidebar-reviewers,nsharpley,hjones
Differential Revision: https://phabricator.services.mozilla.com/D213330
2024-06-13 21:52:53 +00:00
Mark Striemer
75fb7b5b6c Bug 1897529 - Part 2: Use moz-fieldset/moz-checkbox in Customize sidebar r=sidebar-reviewers,fluent-reviewers,reusable-components-reviewers,flod,nsharpley,hjones
Differential Revision: https://phabricator.services.mozilla.com/D213328
2024-06-13 21:52:53 +00:00
Mark Striemer
156f6c8ae7 Bug 1897529 - Part 1: Support name and click() in moz-checkbox r=reusable-components-reviewers,hjones
Differential Revision: https://phabricator.services.mozilla.com/D213319
2024-06-13 21:52:52 +00:00
Mark Striemer
41c6b349d4 Bug 1901336 - Support generating data-l10n-attrs based on reactive property definition in MozLitElement r=reusable-components-reviewers,hjones
Differential Revision: https://phabricator.services.mozilla.com/D213329
2024-06-13 21:52:52 +00:00
edgul
0f92a57295 Bug 1819147 - Fixed clearOriginAttributes not clearing all cache entries specificed with userContext r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D213368
2024-06-13 21:44:51 +00:00
Cristian Tuns
6e60cf6bb1 Backed out changeset dba7a075d460 (bug 1895962) for causing Gecko decision task bustages in gecko_taskgraph.loader.transform CLOSED TREE 2024-06-13 21:53:49 -04:00
Tarek Ziadé
3c5ca7701a Bug 1902037 - Allow arbitrary pipeline runs r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D213437
2024-06-13 21:30:12 +00:00
Jared Hirsch
3dbc2c174a Bug 1901979 - Ensure shopping code never runs in private windows. r=Gijs
* Rearrange the `ShoppingSidebarManagerClass` to clearly separate
  public and private APIs.

* Ensure all public methods include a PBM check and add a comment
  encouraging future refactorings to preserve this property of the
  public API as a whole.

* Also add a check at the IPC layer, updating the child and parent
  actor code to bail out if a message is received in a private window.

Differential Revision: https://phabricator.services.mozilla.com/D213618
2024-06-13 21:18:05 +00:00
Michael Kaply
babb0c7bdf Bug 1892961 - Add support for addons that can only be installed via policy. r=rpl,fluent-reviewers,bolsson,willdurand
Differential Revision: https://phabricator.services.mozilla.com/D211987
2024-06-13 21:03:46 +00:00
Gabriel Bustamante
d1f73a6aef Bug 1895962 - Add a shipitscript task that updates the Nightly version in shipit if necessary once the builds are in the Mozilla archive r=hneiva,releng-reviewers,taskgraph-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D212194
2024-06-13 20:59:12 +00:00
Nicholas Poon
d5d5141be9 Bug 1824213 - Animating inactive tabs to expand / collapse r=android-reviewers,007
Differential Revision: https://phabricator.services.mozilla.com/D211262
2024-06-13 20:54:53 +00:00
Brad Werth
e943d847c5 Bug 1899898: Relax the opaque backdrop requirement for WebRender underlay surfaces. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D213464
2024-06-13 20:22:30 +00:00
Mike Hommey
d6f805ecbd Bug 1901592 - Revert a LLVM change that affects how llvm-config outputs paths. r=firefox-build-system-reviewers,sergesanspaille
Before trying to address the issue in depth (possibly backporting an
upcoming llvm-config change), let's just revert to something that is
known to work for the moment.

Differential Revision: https://phabricator.services.mozilla.com/D213529
2024-06-13 20:22:24 +00:00
Mike Hommey
bb63cc610d Bug 1902211 - Don't add compiler flags to host linker flags. r=firefox-build-system-reviewers,sergesanspaille
On clang-cl builds, the compiler and the linker are two completely different
things. The linker thankfully ignores the flags it doesn't know but
it's not optimal that it has to complain about them.

The historical reason we add compiler flags to linker flags is that some
flags, mostly related to optimization, such as -flto or --profile-generate,
need to be applied to both. This generally keeps being true for builds
using clang or GCC, although ideally we'd set things separately.

Anyways, generally speaking, we don't expect such flags to be necessary
for host linking, so let's start by cleaning up those. This does affect
all builds, but shouldn't matter.

It is worth noting that commands to link target things on clang-cl
builds actually use a different set of flags, so the linker doesn't end
up complaining about unknown arguments there.

Differential Revision: https://phabricator.services.mozilla.com/D213524
2024-06-13 20:21:56 +00:00
Glenn Watson
d62e5103ae Bug 1902143 - Pass blur shader params via vertex attributes r=gfx-reviewers,lsalzman
This will allow follow up patches to use the render task data
for blurs as suitable surfaces to apply mask sub-passes on.

Differential Revision: https://phabricator.services.mozilla.com/D213487
2024-06-13 20:10:34 +00:00
Glenn Watson
a5ea063063 Bug 1901919 - Support custom render task UV rects when writing to gpu-buffer r=gfx-reviewers,lsalzman
This allows correct sampling from render tasks that have been inflated
for blurring purposes.

Differential Revision: https://phabricator.services.mozilla.com/D213371
2024-06-13 20:10:33 +00:00
Glenn Watson
b521bee376 Bug 1901918 - Switch pattern to convert to premultiplied when writing to gpu-buffer r=gfx-reviewers,lsalzman
This composes better as we integrate with other parts of WR, such as
the upcoming box-shadow patches.

Differential Revision: https://phabricator.services.mozilla.com/D213370
2024-06-13 20:10:33 +00:00
Morgan Rae Reschenberg
2cda260e77 Bug 1901853: Update <dd> and <dl> roles to match spec for VO r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D213280
2024-06-13 19:47:05 +00:00
Mozilla Releng Treescript
3570a87326 no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE 2024-06-14 00:17:51 +00:00
Luca Greco
a7f5318305 Bug 1899772 - Assert backgroundState in test extension wrapper terminateBackground method. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D213593
2024-06-13 19:46:30 +00:00
Jonathan Kew
80d4614b47 Bug 1902312 - Only the eAuto... range flags in gfxFontEntry are relevant to user-font cache lookups. r=gfx-reviewers,lsalzman
Tricky to test cache-hit/miss behavior in automation, but tested manually with the
example from the bug and works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D213614
2024-06-13 19:22:44 +00:00