Alexandre Lissy
902392c3b3
Bug 1661935 - Native Messaging WebExtensions portal tests r=robwu,ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D227142
2024-11-06 14:57:49 +00:00
Alexandre Lissy
a8d89ddc62
Bug 1661935 - Native Messaging WebExtension documentation r=robwu,rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D227141
2024-11-06 14:57:49 +00:00
Amin Bandali
d55fbc2f20
Bug 1661935 - Integration with a new WebExtensions XDG desktop portal for native messaging on Linux r=emilio,robwu,rpl,Gijs,andi,mach-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D140803
2024-11-06 14:57:48 +00:00
Alexandru Marc
d14f8c92c5
Backed out changeset 72c3990fdf3a (bug 1902570) for causing mass failures @ ClearOnShutdown.h. CLOSED TREE
2024-11-06 16:54:10 +02:00
Fatih
55bcf96f0a
Bug 1922506: Collect MOZ_debug.CONTEXT_TYPE. r=tjr
...
Differential Revision: https://phabricator.services.mozilla.com/D226810
2024-11-06 14:37:17 +00:00
Fatih
45de9de483
Bug 1922506: Implement MOZ_debug.CONTEXT_TYPE extenstion. r=tjr,jgilbert,webidl,saschanaz
...
WSI_INFO is also very similar to this, but WSI_INFO contains a lot of info that we already collect, also there's a note about old Android devices crashing when queried, see https://searchfox.org/mozilla-central/rev/dca2603d55b5b39d3b8ab8e93c08b42563f5aad8/gfx/gl/GLContextProviderEGL.cpp#581-585
Differential Revision: https://phabricator.services.mozilla.com/D226809
2024-11-06 14:37:16 +00:00
Fatih
599cd8c669
Bug 1922506: Collect webgl software renderer info. r=tjr
...
Differential Revision: https://phabricator.services.mozilla.com/D226784
2024-11-06 14:37:16 +00:00
Fatih
18f7cd8c3f
Bug 1922506: Update base64 canvas3. r=tjr
...
This patch changes data:content/type to data:image/jpeg. Base64 contents are almost the same, I'm not sure what exactly changed, but I basically redownloaded the image from its source and base64'ed it in hopes that we no longer get random error events in canvasdata3 receipe. This patch also updates the size of the canvas to 400x225 in order to match the image dimensions.
Differential Revision: https://phabricator.services.mozilla.com/D226635
2024-11-06 14:37:15 +00:00
Fatih
b61e8c2cc4
Bug 1922506: GLX software rendering fix up. r=jgilbert
...
This reverts a change that was introduced initially in [D212178](https://phabricator.services.mozilla.com/D212178 ). The assumptions made in that previous patch was incorrect. This patch reverts those changes.
Differential Revision: https://phabricator.services.mozilla.com/D226260
2024-11-06 14:37:15 +00:00
Fatih
bfbd505aae
Bug 1922506: Request EGL if forbid hardware is true. r=jgilbert
...
On linux, X11 may be HW accelerated and we can't control what X11 is using (at least I couldn't find any way to do it), for that reason we attempt using EGL if software rendering is asked.
Differential Revision: https://phabricator.services.mozilla.com/D226259
2024-11-06 14:37:15 +00:00
Fatih
0916d97447
Bug 1922506: EGL software rendering fixup. r=jgilbert
...
The main issue with EGL was DefaultEglDisplay function would return the already existing gl display and it could be an HW accelerated or SW rendered. For that reason, we now force a new software display creatation when asked for it.
Differential Revision: https://phabricator.services.mozilla.com/D226207
2024-11-06 14:37:14 +00:00
Fatih
46b470138c
Bug 1922506: WGL software rendering fixup. r=jgilbert,tjr
...
Reverts an incorrect change that was introduced previously in [D212178](https://phabricator.services.mozilla.com/D212178 ). It also now actually asks for non-hw-accelerated gl.
Differential Revision: https://phabricator.services.mozilla.com/D226206
2024-11-06 14:37:14 +00:00
Fatih
7a9d402a0c
Bug 1922506: Tree-shake gl-matrix. r=tjr
...
This patch removes unused functions from gl-matrix. It decreases the size of the script to 3.6kb from 56kb. I confirmed the hash of the produced webgl canvas is the same.
Differential Revision: https://phabricator.services.mozilla.com/D226190
2024-11-06 14:37:13 +00:00
Fatih
6b52ba2fbc
Bug 1922506: Improve error handling. r=tjr
...
Improves error handling. We will have less (unexpected) errors.
Differential Revision: https://phabricator.services.mozilla.com/D226186
2024-11-06 14:37:13 +00:00
Fatih
f6b6704f9c
Bug 1922506: Double deregister to ensure we don't leave any window actors. r=tjr
...
This can happen if the function that registered the window actor times out. Unregistering an actor that is already unregistered doesn't throw an error, it just logs it, so it is safe to call it twic an error, it just logs it, so it is safe to call it twice.
Differential Revision: https://phabricator.services.mozilla.com/D226046
2024-11-06 14:37:13 +00:00
Fatih
50079ca25b
Bug 1922506: Improve error reporting. r=tjr
...
This patch allows us to see what went wrong during rendering process.
Differential Revision: https://phabricator.services.mozilla.com/D225671
2024-11-06 14:37:12 +00:00
Fatih
92de706359
Bug 1922506: Change actor messages to queries and reattempt rendering if it fails. r=tjr
...
Instead of using actor messages, use sendQuery to communicate with the child actor. It requires less code, and throws if an actor is destroyed. Reattempt render if we get an error
Differential Revision: https://phabricator.services.mozilla.com/D225218
2024-11-06 14:37:12 +00:00
Fatih
67c07c6962
Bug 1922506: Move rendering instructions to actor (just copy + paste). r=tjr
...
This patch just moves rendering instructions to the actor child. Just copy and paste.
Differential Revision: https://phabricator.services.mozilla.com/D225073
2024-11-06 14:37:11 +00:00
Fatih
77e4b425c3
Bug 1922506: Implement UserCharacteristicsCanvasRenderingChild to render canvases in an actor canvas. r=tjr
...
This patch introduces a new JSWindowActorChild, with two functions, getDebugInfo and render. GetDebugInfo creates a canvas and calls GetDebugInfo on it and returns it. Render function runs the defined recipies and returns sha1 of canvas data.
Differential Revision: https://phabricator.services.mozilla.com/D224497
2024-11-06 14:37:11 +00:00
Fatih
425bb904d8
Bug 1922506: Implement CanvasRenderingContext2D::GetDebugInfo. r=tjr,jgilbert,webidl,smaug
...
For our data collection efforts, we want to be able to tell whether a canvas we are reading is HW accelerated or not. For that reason, we want to implement CanvasRenderingContext2D::GetDebugInfo. We are only really interested in isAccelerated property, but added 3 other properties that might be useful in the future, or for other developers.
Differential Revision: https://phabricator.services.mozilla.com/D224495
2024-11-06 14:37:10 +00:00
Denis Palmeiro
e9139dadbc
Bug 1928466: Check if markerFile is defined during NowUnclamped diagnostic assert. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D227537
2024-11-06 14:29:37 +00:00
Tara
307da88fff
Bug 1923642 - Add sticky footer to the add-on permissions prompt. r=android-reviewers,amejiamarmol,zmckenney
...
Differential Revision: https://phabricator.services.mozilla.com/D227071
2024-11-06 14:10:31 +00:00
andrei popa
fbab467f4c
Bug 1851037 - changed fun to operator fun and refactored all callers to avoid explicitly call invoke r=android-reviewers,avirvara
...
Try server: https://treeherder.mozilla.org/jobs?repo=try&revision=0589f5d49f8049b7b0fc257aff20cb70fb748c05
Differential Revision: https://phabricator.services.mozilla.com/D228161
2024-11-06 14:03:51 +00:00
Alexandre Lissy
4c7aaa0e8f
Bug 1928084 - Add dbus-python and python-dbusmock wheels r=ahal,taskgraph-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D227342
2024-11-06 13:42:54 +00:00
Erich Gubler
1619cc9b73
Bug 1927077 - bring webgpu:shader,execution,expression,binary,f32_matrix_matrix_multiplication:matrix_matrix_compound:*
out of backlog
r=webgpu-reviewers,nical
...
Differential Revision: https://phabricator.services.mozilla.com/D228076
2024-11-06 13:37:02 +00:00
Kershaw Chang
c83870e927
Bug 1929368 - Part2: Disable HTTP/3 when third party roots is found in mSucceededCertChain, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D228089
2024-11-06 13:34:40 +00:00
Kershaw Chang
e06395b4e3
Bug 1929368 - Part1: Revert changes done in bug 1925014, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D228087
2024-11-06 13:34:39 +00:00
Fatih
13edd79657
Bug 1800704: Add tests for prefers-color-scheme media query. r=tjr
...
Differential Revision: https://phabricator.services.mozilla.com/D225690
2024-11-06 13:33:31 +00:00
Fatih
d8ad1f1b44
Bug 1670447: Deprecate randomDataOnCanvasExtract. r=tjr
...
Differential Revision: https://phabricator.services.mozilla.com/D226821
2024-11-06 13:32:22 +00:00
Jan-Erik Rediger
f7f8b28ee7
Bug 1926829 - Don't send client and profile group IDs in dau-reporting ping r=loines
...
Differential Revision: https://phabricator.services.mozilla.com/D226894
2024-11-06 13:30:10 +00:00
Jan-Erik Rediger
63b2d8dae6
Bug 1926829 - Handle usage profile ID in ClientID.sys.mjs r=chutten,firefox-desktop-core-reviewers ,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D226766
2024-11-06 13:30:07 +00:00
Jan-Erik Rediger
c47fed5ff0
Bug 1926829 - Add a new usage.profile_id r=chutten,TravisLong,data-stewards
...
Differential Revision: https://phabricator.services.mozilla.com/D226765
2024-11-06 13:30:04 +00:00
Alexandru Marc
b14bbdd93c
Backed out changeset ecc23a1b68eb (bug 1928084) for causing Docker Images build bustages. CLOSED TREE
2024-11-06 15:24:28 +02:00
Alexandre Lissy
c946438ef1
Bug 1928084 - Add dbus-python and python-dbusmock wheels r=ahal,taskgraph-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D227342
2024-11-06 13:06:00 +00:00
Fatih
9ed96caceb
Bug 1902570: Enable "Stix Two Math" on macOS 13 and above. r=tjr
...
Differential Revision: https://phabricator.services.mozilla.com/D226945
2024-11-06 13:00:48 +00:00
Sylvestre Ledru
113b09cdd5
Bug 1918098 - ruff: upgrade ruff to v0.6.4 r=linter-reviewers,ahal
...
+ Rename --format to the new option + include it in the verbose command
Differential Revision: https://phabricator.services.mozilla.com/D221875
2024-11-06 12:51:33 +00:00
Sylvestre Ledru
d35ba16a18
Bug 1918098 - ruff: fix the errors identified by 0.6.4 r=linter-reviewers,taskgraph-reviewers,releng-reviewers,webdriver-reviewers,perftest-reviewers,migration-reviewers,jmaher,whimboo,sparky,xpcom-reviewers,beth,ahal,mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D221874
2024-11-06 12:51:32 +00:00
Emilio Cobos Álvarez
73ba109df2
Bug 1927967 - Use typed units for nsDocumentViewer bounds. r=hiro,dholbert
...
SVG is fine because it always uses an effective DPI of 1. The rest
already use and assume layout pixels.
Differential Revision: https://phabricator.services.mozilla.com/D228120
2024-11-06 12:37:39 +00:00
Emilio Cobos Álvarez
b0d352c18b
Bug 1927967 - Make sure nsDocumentViewer::GetContentSize doesn't leave layout and visual viewports in inconsistent states. r=hiro,extension-reviewers,robwu
...
This getContentSize API is rather hairy:
* Web extension popups use getContentSize to measure the document in https://searchfox.org/mozilla-central/rev/fcf53e1685bfb990b5abc7312ac1daf617f0991f/toolkit/components/extensions/ext-browser-content.js#253
* That leaves the returned size as the layout viewport (so innerHeight and innerWidth are the "right" size): https://searchfox.org/mozilla-central/rev/fcf53e1685bfb990b5abc7312ac1daf617f0991f/layout/base/nsDocumentViewer.cpp#2634
* However the visual viewport is not updated, and that's what we scroll into view into. That's only updated way later, via:
```
MobileViewportManager::RefreshViewportSize
in nsDocumentViewer::SetBoundsWithFlags
in nsDocShell::SetPositionAndSize
in nsWebBrowser::SetPositionAndSize
in mozilla::dom::BrowserChild::RecvUpdateDimensions
in mozilla::dom::PBrowserChild::OnMessageReceived
[snip]
```
Make sure we leave the layout and visual viewport in a consistent state.
Differential Revision: https://phabricator.services.mozilla.com/D228119
2024-11-06 12:22:36 +00:00
Updatebot
e26c0f92a0
Bug 1929486 - Update android nightly application-services version bump to 6a7df1d54b34579cbb2fbca257b5b11d40ab4ea2 r=pascalc
...
Differential Revision: https://phabricator.services.mozilla.com/D228142
2024-11-06 12:07:39 +00:00
Timothy Nikkel
2a84d7717a
Bug 1929182. Allow prerender for the GenerateGlyphMask case. r=jwatt
...
GenerateGlyphMask is used for background-clip: text, of which our implementation is pretty buggy. In fact, the testcase of this bug we ar buggy on even before the regressing bug, the regressing bug just made it worse. So we already didn't handle this situation properly and we happened to disturb it and make it worse. Let's just restore the old behaviour for the unusual background-clip: text case, but we still keep the win in display list building for all other (much more common) cases.
Differential Revision: https://phabricator.services.mozilla.com/D227950
2024-11-06 11:41:12 +00:00
Butkovits Atila
2b4c364022
Backed out changeset 5696b75841af (bug 1929269) for causing Linting failures. CLOSED TREE
2024-11-06 13:42:35 +02:00
serge-sans-paille
ad21d184ea
Bug 1929269 - Use std::clamp instead of min/max chain in ipc/glue/IdleSchedulerParent.cpp r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D227982
2024-11-06 11:31:40 +00:00
Rob Wu
590e57cf14
Bug 1929348 - Treat missing http3server as non-fatal error r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D228095
2024-11-06 11:22:18 +00:00
mcarare
567992c9ab
Bug 1913793 - Use shadow looper to allow coroutines to execute synchronously. r=android-reviewers,giorga
...
Differential Revision: https://phabricator.services.mozilla.com/D227975
2024-11-06 11:21:29 +00:00
Frédéric Wang
83b6209825
Bug 1912870 - Disable mathml.stixgeneral_operator_stretching by default. r=emilio
...
Currently this is only enabled in macOS and helps to provide MathML
operator stretching with the pre-installed fonts before macOS 13.
According to telemetry, macOS versions before macOS 13 still
represents 28.3% of our users but MathML content only represents a
small portion of total pages and pages hitting the deprecation
warning for STIX General don't seem to exceed 0.00004%. For details,
see bug 1336058.
Differential Revision: https://phabricator.services.mozilla.com/D219084
2024-11-06 10:51:58 +00:00
Sylvestre Ledru
995032dcc0
Bug 1926284 - Fix the "Fenix Architecture Simplified Example" links r=android-reviewers,tthibaud DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D226483
2024-11-06 10:37:45 +00:00
serge-sans-paille
6782e6513d
Bug 1929261 - Use std::clamp instead of min/max chain in widget/windows r=m_kato,win-reviewers,gstoll
...
Differential Revision: https://phabricator.services.mozilla.com/D227973
2024-11-06 10:21:58 +00:00
serge-sans-paille
4e09a7a2ba
Bug 1929260 - Use std::clamp instead of min/max chain in xpcom/threads r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D227972
2024-11-06 10:19:59 +00:00
serge-sans-paille
efab72853b
Bug 1929258 - Use std::clamp instead of min/max chain in xpfe/appshell/ r=gstoll
...
Differential Revision: https://phabricator.services.mozilla.com/D227971
2024-11-06 10:17:49 +00:00