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

792708 Коммитов

Автор SHA1 Сообщение Дата
Kagami Sascha Rosylight 836900ef53 Bug 1765844 - Remove an empty test meta file r=smaug DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D144324
2022-04-24 23:41:09 +00:00
Emilio Cobos Álvarez e097b4be55 Bug 1765999 - Move some of the media query code to a more generic queries module. r=hiro
No behavior change, just moving and renaming files.

The code in the "queries" module will be shared between @media and
@container.

@media has some other code that container queries doesn't need like
MediaList / MediaType / etc. That remains in the media_queries module.

Differential Revision: https://phabricator.services.mozilla.com/D144435
2022-04-24 21:48:02 +00:00
Emilio Cobos Álvarez 63420746b0 Bug 1766046 - cleanup animation-name. r=boris
Make the representation the same between Gecko and Servo code. This will
enable further clean-ups in the future.

Make serialization be correct, serializing as identifier unless it's an
invalid one (in which case we serialize as a string).

This changes our stringification behavior in the specified style, but
now it will match the computed style and be more correct over-all.

Differential Revision: https://phabricator.services.mozilla.com/D144473
2022-04-24 21:47:31 +00:00
stransky b0e082230e Bug 1762725 [Linux] ReleaseVAAPIData(): Clear mLib to avoid possible doube free of mHWAVBuffer/mAVHWDeviceContext r=alwu
Depends on D144270

Differential Revision: https://phabricator.services.mozilla.com/D144271
2022-04-24 18:54:11 +00:00
stransky 96b4e76ea8 Bug 1762725 [Linux] Add more logs to LockVAAPIData()/ReleaseVAAPIData r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D144270
2022-04-24 18:54:11 +00:00
stransky a967f5124e Bug 1765530 Enable AV1 decode via FFmpeg 5.0 r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D144165
2022-04-24 18:53:44 +00:00
Cristian Tuns 13d69189a8 Merge autoland to mozilla-central. a=merge 2022-04-24 05:37:58 -04:00
Mozilla Releng Treescript 6d8cb80202 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
dsb -> 9332bae3f21e40de219ca20db64ebc90c276ba73
hsb -> 18cbd4ca9979274a3c66c553105bd54993636597
kab -> 6b76a87fc6a26461a6190571d40c45150420963a
nn-NO -> 308321fb161b5dc0b3e07ac0fc83fced68749575
tg -> 47ed316dcb9c21f2ad8cdfdd676a89faf91ccfc1
2022-04-24 06:57:56 +00:00
Daniel Holbert 9579f560cc Bug 1727562: Avoid else-after-break in nsFrameTraversal.cpp, and add braces to one-liner if-statements. r=emilio
This patch doesn't change behavior; it just makes this code more consistent
with our coding style.

Differential Revision: https://phabricator.services.mozilla.com/D144514
2022-04-24 03:54:27 +00:00
Csoregi Natalia 8f3654680c Backed out 3 changesets (bug 1755704, bug 1765816) for causing reftest failures on webgl-color-test.html
Backed out changeset 2f074e2385d4 (bug 1765816)
Backed out changeset cd0b9e084bcd (bug 1755704)
Backed out changeset 39a846e43162 (bug 1755704)
2022-04-24 02:33:33 +03:00
Csoregi Natalia 7a86fca0d6 Merge mozilla-central to autoland on a CLOSED TREE 2022-04-24 00:30:19 +03:00
Csoregi Natalia 4365e6ab34 Merge autoland to mozilla-central. a=merge 2022-04-24 00:26:55 +03:00
Mozilla Releng Treescript dccf61761f no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
br -> 81a599171ed5b770d53581069f66ce0013502e19
kab -> 39c2c60e7f8eb613bdf091d2527496f0146c2353
kk -> 44bb021956864d603fac5a483fddb572dd910e3a
mk -> 4491a91316877f294a539deb8aa1fa2234d8a0c1
ne-NP -> 4a7e0fe6111ddb5d9b5563ed33b3d6002665a820
oc -> bf00fc0e365d90655ae7bd5d763113b5391da1e8
pl -> d7670f46ea0152ece61b6f18ac6af169a2c04741
ru -> 9bf362dd313a97663f2bc6046177b6c48092277c
tg -> 598323214e5e3b9162e22fdb354bed2ac8ba1449
tr -> 199352cce5761fbe769bd8662287cc2062cd1025
2022-04-23 19:02:50 +00:00
Andrew Osmond 6504eb38b3 Bug 1752155 - Refactor WebGPU's ValidationError to make it constructable from JS. r=gfx-reviewers,lsalzman,webidl,edgar
Differential Revision: https://phabricator.services.mozilla.com/D144322
2022-04-23 18:15:51 +00:00
Lee Salzman 44139eec4c Bug 1766056 - Fix YUV color matrix for SWGL slow and fast paths. r=jrmuizel
The brush_yuv_image slow path expected a YUV color matrix that applies scaling,
whereas we set up a matrix for SWGL that had no scaling to support the fast path.
To work around the fact that both paths have different scaling requirements, we
pass the matrix with scaling down to the fast path and undo the scaling later
when constructing SWGL's internal YUVMatrix from it. This allows both paths to
just use the same matrix and avoids the footgun.

Differential Revision: https://phabricator.services.mozilla.com/D144479
2022-04-23 16:48:20 +00:00
Andrew Osmond 265e005ae0 Bug 1765816 - Expose front buffer canvas contents when painting for Firefox Screenshots. r=gfx-reviewers,lsalzman
This patch adds support for including the canvas contents in Firefox
Screenshots for Canvas 2D, WebGL and WebGPU. It is already working for
context's created through an OffscreenCanvas, but we failed to hook up
the main thread path after refactoring in previous bugs.

Differential Revision: https://phabricator.services.mozilla.com/D144310
2022-04-23 16:45:10 +00:00
Andrew Osmond c55d373481 Bug 1755704 - Part 2. Implement stubbed out surface related WebGPU canvas methods. r=gfx-reviewers,lsalzman
This patch hooks up the improved CanvasManagerChild::GetSnapshot method
to the WebGPU canvas context object in order to do readbacks for various
DOM facing methods such as ConvertToBlob and for Firefox Screenshots.

Differential Revision: https://phabricator.services.mozilla.com/D144309
2022-04-23 16:45:10 +00:00
Andrew Osmond 382feb7053 Bug 1755704 - Part 1. Add support for reading back the front buffer for WebGPU. r=gfx-reviewers,lsalzman
This reworks the CanvasManagerChild::GetSnapshot method to work with
WebGPU. This will allow it to be called for a WebGPU context from any
thread, which is useful for screenshots.

Differential Revision: https://phabricator.services.mozilla.com/D144308
2022-04-23 16:45:10 +00:00
Timothy Nikkel e0bd71c43a Bug 1765966. Don't call CalculateScrollableRectForFrame in UpdateCompositionBoundsForRCDRSF if we don't need to. r=emilio
We only use the value to modify shouldSubtractDynamicToolbar and we only use that with a dynamic toolbar.

This saves us some time and also prevents a circular dependency when reflowing a scroll frame. nsHTMLScrollFrame::TryLayout calls nsLayoutUtils::CalculateCompositionSizeForFrame

https://searchfox.org/mozilla-central/rev/6da1ebe13b260efabd88eb98dec5fa8ee65987b2/layout/generic/nsGfxScrollFrame.cpp#616

and then nsLayoutUtils::UpdateCompositionBoundsForRCDRSF calls GetScrolledRect, but reflow can determine the scrolled rect (presence/absence of scrollbars affect it for example).

But this also prevents us from hitting the warning of bug 1695139 in the case of a google search results page as one example, because we are getting the scrolled rect while we might be in an inconsistent state during reflow.

Differential Revision: https://phabricator.services.mozilla.com/D144423
2022-04-23 12:30:14 +00:00
Cosmin Sabou 2e81bebf42 Backed out changeset e8a9d431ea18 (bug 1654731) for devtools failures on browser_rules_class_panel_add.js. 2022-04-23 15:14:42 +03:00
Florian Quèze 34c0c5a32a Bug 1763474 - Report thread wake-ups and CPU time per thread through glean, r=gerald,chutten
Differential Revision: https://phabricator.services.mozilla.com/D141147
2022-04-23 11:38:19 +00:00
Raphael Ferrand f6a50fe861 Bug 1654731 - [devtools] Preview class when selecting item in the cls autocomplete popup r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D132261
2022-04-23 11:09:35 +00:00
Cosmin Sabou 2998be2afc Backed out changeset b91b0142c1ed (bug 1766056) for causing reftest failures on color_quads/720p.png.bt709.bt709.tv.yuv420p10. 2022-04-23 14:05:45 +03:00
Emilio Cobos Álvarez e26a90f061 Bug 1764157 - Make showPicker() for date/time/etc work on Android. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D143584
2022-04-23 10:23:16 +00:00
Emilio Cobos Álvarez 74e34694dc Bug 1765961 - Avoid some warning spam in nsGlobalWindowOuter. r=smaug
NS_ENSURE_TRUE prints to stderr, which is noisy (this can happen
legitimately).

Differential Revision: https://phabricator.services.mozilla.com/D144416
2022-04-23 10:21:20 +00:00
Dão Gottwald 57656e5c90 Bug 1765794 - Extend lifetime of the Life in Color colorway collection in Nightly to prepare for dogfooding the Colorway Closet. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D144296
2022-04-23 09:56:14 +00:00
Mozilla Releng Treescript 066ba19cfc no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
be -> 3caa047989e56e7a2b4a3faa90b522d79f2b5299
br -> d9b604e0c67a33a2cfe5ee54474796128c531ca6
id -> a7cd1de1171512534570a0aa93ccdfaa5cf03fb7
tg -> d6ee3b75e4b58708f6796828f440bd81beef5868
2022-04-23 06:58:21 +00:00
Butkovits Atila ce9521dabd Backed out 2 changesets (bug 1763781) for casuing wpt failures at canvas-display-p3-drawImage-ImageBitmap-video.html. CLOSED TREE
Backed out changeset 3b1422986294 (bug 1763781)
Backed out changeset 98fd39c96de8 (bug 1763781)
2022-04-23 03:37:14 +03:00
Botond Ballo e75261acb5 Bug 1765782 - Hold the APZC lock while calling ScrollMetadata::ForceMousewheelAutodir(). r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D144494
2022-04-23 00:13:35 +00:00
Sean Feng 2d916dc345 Bug 1766059 - Mark the scheduler attribute replaceable r=smaug
This is missing from the original implementation.

Differential Revision: https://phabricator.services.mozilla.com/D144489
2022-04-23 00:07:01 +00:00
Brad Werth 3ced9fec5c Bug 1763781 Part 2: Update test expectations. r=jgilbert
This gives us better correctness for 10-bit vp9 reftests. In the WPTs, we
turn off some tests on macos because of the difficulty that our
screenshots have in analyzing srgb image data. It seems to consistently
report 191,255,191,73 when we are expecting 255,0,0,255.

Differential Revision: https://phabricator.services.mozilla.com/D144228
2022-04-22 23:38:00 +00:00
Brad Werth adc7954234 Bug 1763781 Part 1: Force FFmpegVideoDecoder to use MacIOSurfaceImage for HDR video. r=media-playback-reviewers,alwu
This change ensures that macOS will correctly detect the surface as a video
and use an HDR-capable display layer. Unfortunately, it invokes a slower code
path for this case. Bug 1765388 may restore this fast path for HDR video.

Differential Revision: https://phabricator.services.mozilla.com/D144039
2022-04-22 23:38:00 +00:00
Rob Lemley fae9ef6327 Bug 1742711 - Pass x-channel config function as kwarg. r=aki,flod
For supporting Thunderbird's l10n-cross-channel operations. A Thunderbird
specific mach command will pass the config function to cross_channel()
via _mach_context.commands.dispatch.

Differential Revision: https://phabricator.services.mozilla.com/D131976
2022-04-22 23:21:03 +00:00
James Teh a3b482acc2 Bug 1395181 part 2: Support click handlers added to the root element. r=eeejay
Normally, we treat the body as the DOM node for a DocAccessible.
However, a click listener can be added to the root element; e.g. the html element.
We now treat a click listener added to the root element the same as if one were added to the body.

This required a change to nsAccessibilityService to use the DocAccessible when click listeners change for the root element so a cache update is pushed.
This change was made for the body also, since we weren't pushing a cache update for click listener changes on the body either.

Differential Revision: https://phabricator.services.mozilla.com/D144278
2022-04-22 23:13:36 +00:00
James Teh ddd6d00a57 Bug 1395181 part 1: Support "click ancestor" action on descendants when an ancestor has an action. r=eeejay
Previously, we supported an action on text leaf and image accessibles if an ancestor was a link or was clickable.
However, we didn't support it on any other kind of descendant, nor could clients differentiate between a click handler on the descendant itself vs an action propagated because of an ancestor.
In addition, the click was performed on the ancestor element itself, rather than bubbling up to the ancestor.
This was probably never a real problem given the limited scope, but it meant that the actual event target was lost.

This has been replaced by a "click ancestor" action supported on all descendants of ancestors providing an action.
The click is dispatched to the descendant and bubbles up to the ancestor.
Aside from consistency and the ability to differentiate the action, this allows clients to stop relying on simulating clicks themselves to directly target a descendant.
This avoids problems caused by obscured web elements, obscured browser windows and other weird screen coordinate issues.
It thus fixes several problems reported by NVDA screen reader users.

Differential Revision: https://phabricator.services.mozilla.com/D144252
2022-04-22 23:13:36 +00:00
Lee Salzman 6025b5528c Bug 1766056 - Fix YUV color matrix for SWGL slow and fast paths. r=jrmuizel
The brush_yuv_image slow path expected a YUV color matrix that applies scaling,
whereas we set up a matrix for SWGL that had no scaling to support the fast path.
To work around the fact that both paths have different scaling requirements, we
pass the matrix with scaling down to the fast path and undo the scaling later
when constructing SWGL's internal YUVMatrix from it. This allows both paths to
just use the same matrix and avoids the footgun.

Differential Revision: https://phabricator.services.mozilla.com/D144479
2022-04-22 23:03:06 +00:00
Ed Lee 403d0417ce Bug 1766070 - Shortcuts / top sites about:preferences entry is missing its icon r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D144491
2022-04-22 22:46:09 +00:00
Molnar Sandor 0c6398d2f5 Backed out 2 changesets (bug 1765639) for causing mochitest failures in browser_parsable_css. CLOSED TREE
Backed out changeset da136d71ea6f (bug 1765639)
Backed out changeset c131b35bfd97 (bug 1765639)
2022-04-23 02:08:30 +03:00
Brad Werth 9b7fa136e8 Bug 1764618 Part 3: Make macOS hardware decode respect transfer functions. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D143839
2022-04-22 22:10:19 +00:00
Brad Werth e276765ca6 Bug 1764618 Part 2: Make macOS software decode respect transfer functions. r=media-playback-reviewers,gfx-reviewers,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D143838
2022-04-22 22:10:18 +00:00
Brad Werth d12ac666bc Bug 1764618 Part 1: Capture PQ or HLG transfer function in VideoInfo. r=media-playback-reviewers,alwu
The transfer function value is only used for BT2020 colorspace videos. We
capture the transfer function when the decoder is created, because it is
not updated per-frame in the VPX bitstream. If a video changes colorspace,
we keep the transfer function value in case it returns to using the BT2020
colorspace.

Differential Revision: https://phabricator.services.mozilla.com/D143665
2022-04-22 22:10:18 +00:00
Ed Lee fe86dbe15d Bug 1766051 - Replace some title styles with more configuration, e.g., font weight, line height, margin r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D144474
2022-04-22 21:48:11 +00:00
aline 4003c818b0 Bug 1765639 - removed rule for .pictureInPictureToggleButton r=kpatenio DONTBUILD
Depends on D144348

Differential Revision: https://phabricator.services.mozilla.com/D144355
2022-04-22 21:42:24 +00:00
aline 80a5510fac Bug 1765639 - removed obsolete class selectors .pictureInPictureToggleButton r=kpatenio DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D144348
2022-04-22 21:42:24 +00:00
Molnar Sandor fac9e3271d Merge mozilla-central to autoland. 2022-04-23 00:30:53 +03:00
Molnar Sandor 44527269dd Merge autoland to mozilla-central. a=merge 2022-04-23 00:23:26 +03:00
Glenn Watson 7004a2fbc3 Bug 1765520 - Use a faster traversal for render_on / free_after r=gfx-reviewers,lsalzman
When there are a large number of sibling backdrop-filter primitives
present, the existing naive recursive traversals to assign the
`render_on` and `free_after` passes hit pathological cases. In
the test case for this bug, a debug build takes 12+ seconds to
complete on my development machine.

Instead, switch to a topological sort for `render_on` assignment,
and use a non-recursive traversal to set `free_after` (which relies
on having the passes in-order from the topo sort to avoid recursion).

Differential Revision: https://phabricator.services.mozilla.com/D144359
2022-04-22 21:17:39 +00:00
Andrew McCreight a4d622d7b1 Bug 1766034 - Fix browser_downloads_panel_disable_items.js with parent controlled navigation. r=kpatenio
See bug 1721217, part 3 for an explanation of why this is needed.

Differential Revision: https://phabricator.services.mozilla.com/D144457
2022-04-22 20:55:31 +00:00
Katherine Patenio c4f6478c5d Bug 1749795 - create documentation for adding and testing site-specific wrappers. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D142011
2022-04-22 20:46:11 +00:00
Butkovits Atila 6b6840fbbf Backed out changeset 0d23532d6a49 (bug 1757802) as requested by dev. CLOSED TREE 2022-04-22 23:20:08 +03:00