Commit Graph

845608 Commits

Author SHA1 Message Date
Mike Kaply
ed7b8c9c10 Bug 1772503 - Keep policy locked preferences locked. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D181100
2023-06-15 16:01:20 +00:00
Gregory Pappas
82e30282ab Bug 1697605 - Remove MOZ_DISABLE_OOP_TABS and dom.ipc.tabs.disabled r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D181015
2023-06-15 15:58:28 +00:00
Gregory Pappas
03112fe0e9 Bug 1837770 - Remove unused browser.tabs.* prefs r=webdriver-reviewers,geckoview-reviewers,owlish,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D180559
2023-06-15 15:45:25 +00:00
Gregory Pappas
a33b812dab Bug 1838560 - Remove unused browser.chrome.errorReporter.infoURL pref r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D181017
2023-06-15 15:37:40 +00:00
Gregory Pappas
4929900b27 Bug 1838561 - Remove unused identity.fxaccounts.service.monitorLoginUrl pref r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D181018
2023-06-15 15:37:28 +00:00
Gregory Pappas
522b1a43be Bug 1838562 - Remove unused media.peerconnection.video.enabled pref r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D181020
2023-06-15 15:37:17 +00:00
Gregory Pappas
420311510f Bug 1838564 - Remove unused browser.cache.offline.capacity pref r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D181022
2023-06-15 15:37:06 +00:00
Jon Coppeard
e7c2297f99 Bug 1838154 - Don't poke store buffer overflow state in testing code if the nursery is disabled r=sfink
The regressing bug added an assertion that the nursery is enabled when minor GC
is requested. That holds in normal operation but this testing function triggered
it.

Differential Revision: https://phabricator.services.mozilla.com/D180846
2023-06-15 15:28:35 +00:00
ffxbld
5b6d309f90 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,diannaS
Differential Revision: https://phabricator.services.mozilla.com/D181075
2023-06-15 15:16:58 +00:00
Alexandre Poirot
792f646c47 Bug 1778275 - [devtools] Track performance of adding sources in the debugger. r=perftest-reviewers,sparky,jdescottes,devtools-reviewers
This helps verify that adding new sources incrementaly wouldn't cause
massive slowness in reducer/components/reflows.

Differential Revision: https://phabricator.services.mozilla.com/D151104
2023-06-15 15:10:05 +00:00
Justin Link
5cea4db68a Bug 1829983 - Disabled assert that's invalid on Windows r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D180882
2023-06-15 14:59:10 +00:00
Nicolas Chevobbe
f83bece676 Bug 1838012 - [devtools] Display parent rule selector in ancestor data. r=jdescottes,devtools-reviewers.
From the server, when traversing parent rules, we now do include non at-rules
that have a `selectorText` property, in order to handle CSS nesting.
On the client, we display those selectors as we do for ancestor at-rules (at least
for now, we might add brackets and proper indentation in a follow up).
A test with various nesting is added to check we do display the ancestor rules
as expected.

Differential Revision: https://phabricator.services.mozilla.com/D181041
2023-06-15 14:53:42 +00:00
Otto Länd
b57ea76d04 Bug 1838487: apply code formatting via Lando
# ignore-this-changeset
2023-06-15 15:02:50 +00:00
Paul Adenot
e8ca708a0e Bug 1838487 - Adjust test_interfaces.html to reflect the new exposure of Web Codecs interfaces. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D181090
2023-06-15 14:51:16 +00:00
Chun-Min Chang
31e6cec674 Bug 1838487 - Enable webcodecs in Nightly r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D180974
2023-06-15 14:51:15 +00:00
Iulian Moraru
99be4f67e4 Merge mozilla-central to autoland on a CLOSED TREE 2023-06-15 17:51:30 +03:00
Iulian Moraru
39cf02c89d Backed out changeset 3fc04d8eb32b (bug 1659763) for frame checker crashes. a=backout 2023-06-15 17:48:35 +03:00
Andrew McCreight
adb9a5e722 Bug 1838542 - Eliminate the most common warning spam from nsXREDirProvider::GetFile(). r=xpcom-reviewers,jstutte
Currently, this function warns any time it fails to return something.
However, this warning happens extremely frequently in two cases:
when the property is unknown or when somebody tries to get a
profile directory in a child process.

This patch eliminates those. It also consolidates some profile
cases. Hopefully an additional 2 strcmps on common cases won't
matter.

Differential Revision: https://phabricator.services.mozilla.com/D181007
2023-06-15 14:38:03 +00:00
Gijs Kruitbosch
a6856ce2b4 Bug 1838198 - only package shopping.ftl on Nightly, r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D181076
2023-06-15 14:34:17 +00:00
Dão Gottwald
e34bc91336 Bug 1835890 - Make sidebar switcher panel a normal menupopup. r=Itiel,extension-reviewers,mconley,rpl
Differential Revision: https://phabricator.services.mozilla.com/D179877
2023-06-15 14:14:43 +00:00
Kagami Sascha Rosylight
e5819c8d13 Bug 1838481 - Add topobjdir to mozinfo.json r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D180972
2023-06-15 14:12:55 +00:00
Kagami Sascha Rosylight
7fbed5d070 Bug 1836825 - Set MOZ_DEVELOPER_REPO_DIR in mozrunner.test_environment() r=gbrown
Moves the relevant piece from mochitest/reftest to mozrunner. This does not set MOZ_DEVELOPER_OBJ_DIR because mozinfo.json doesn't have topobjdir. We could include it in https://searchfox.org/mozilla-central/rev/fb55a4ee44a9a95d099aa806ca494eb988252ded/python/mozbuild/mozbuild/mozinfo.py#32 but that's out of scope here.

(Not sure why Linux is okay without this. macOS is okay without this as it does not depend on MOZ_DEVELOPER_REPO_DIR since https://bugzilla.mozilla.org/show_bug.cgi?id=1380690.)

Differential Revision: https://phabricator.services.mozilla.com/D180948
2023-06-15 14:12:55 +00:00
Joshua Marshall
2e57d7fb95 Bug 1564303 - Re-enable a few geckoview tests r=dom-worker-reviewers,smaug
Differential Revision: https://phabricator.services.mozilla.com/D181078
2023-06-15 14:12:07 +00:00
Gijs Kruitbosch
0782111824 Bug 1838549 - fix sync now button label disappearing by using separate fluent strings for both states, r=markh,fluent-reviewers,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D181080
2023-06-15 14:02:49 +00:00
Rob Wu
db4b57696f Bug 1838233 - Add extensions.databaseSchema to ignorePrefs.json r=rpl
The `extensions.databaseSchema` pref is used by the implementation to
track the migration state of the extension database. This is an internal
implementation detail that doesn't affect external behavior, and cannot
be controlled by individual unit tests.

TV / `--compare-preferences` detects changes in some tests on Android,
without it being actionable. This adds the pref to ignorePrefs.json to
avoid noise.

Differential Revision: https://phabricator.services.mozilla.com/D181095
2023-06-15 13:48:01 +00:00
Masayuki Nakano
828d108d6f Bug 1832306 - Make BrowserParent stop handling access keys with delayed events r=smaug,NeilDeakin
`EventStateManager::WalkESMTreeToHandleAccessKey()` requests all `BrowserParent`
instances to handle access key in content processes:
https://searchfox.org/mozilla-central/rev/a4fd6daad3a4123d995478467c1274653b283801/dom/events/EventStateManager.cpp#1379,1398,1410-1411

Then, content processes will reply if no element matches with the access key:
https://searchfox.org/mozilla-central/rev/8e1b221afcdae76284b1439c547b032d1f84d236/dom/ipc/BrowserChild.cpp#2304-2305,2310

Finally, the parent process handles the keypress event:
https://searchfox.org/mozilla-central/rev/8e1b221afcdae76284b1439c547b032d1f84d236/dom/ipc/BrowserParent.cpp#2710-2712,2720,2725

However, this is odd because if multiple remote processes calls
`BrowserParent::RecvAccessKeyNotHandled()`, the parent process will handle
same `keypress` event multiple times.

The approach of this patch is, `BrowserParent` should store main data of
sending `eKeyPress` event, and `RecvAccessKeyNotHandled()` handles only if
the coming event matches with the stored one and clear the data to avoid
handling multiple times.

Even with this approach, we cannot avoid one `eKeyPress` event handled in
multiple content processes, or in both the main process and a content process.

Differential Revision: https://phabricator.services.mozilla.com/D179172
2023-06-15 13:33:19 +00:00
Sarah Clements
eb795dabb9 Bug 1833416 - modify undoClosedTab keyboard shortcut r=mconley,sfoster,sessionstore-reviewers,dao
* This patch expands this keyboard shortcut to support whichever of the three
last actions were taken - last tab closed, last window closed or session restore.
* Existing test file was renamed and additional cases added.

Differential Revision: https://phabricator.services.mozilla.com/D178965
2023-06-15 13:28:26 +00:00
Sean Feng
dba509892e Bug 1837585 - Make the COEP:Credentialless check ignores the subdocument request if it's a redirect r=valentin,necko-reviewers
We shouldn't block the iframe if the initial request doesn't have valid
headers, we should only check the final request.

Differential Revision: https://phabricator.services.mozilla.com/D180485
2023-06-15 13:07:43 +00:00
David Turner
b8752c00b1 Bug 1833354 - Add V4L2 hw decode probing to GfxInfo. r=media-playback-reviewers,stransky
In GfxInfo, probe all V4L2 devices to see which of them can do M2M
hardware decode acceleration.  Set the hardware decode support features
appropriately depending on what we find.

Differential Revision: https://phabricator.services.mozilla.com/D178780
2023-06-15 12:59:59 +00:00
David Turner
fbe40add95 Bug 1833354 - Add V4L2 hw-acceleration to FFmpeg video decoder. r=stransky,media-playback-reviewers
Extend the FFmpeg video decoder's hardware acceleration support to
include V4L2 in addition to VAAPI.  If hardware acceleration is enabled
and VAAPI is not available then attempt to initialise a V4L2-wrapper
codec (by name, because libavcodec does not correctly prioritise these
codecs as hardware-accelerated).  If V4L2 is not available then this
step will fail and we fall back to software decoding.

DRM-PRIME buffer format is used for zero-copy decoding in a similar
manner to the VAAPI decoder, except that FFmpeg implements V4L2 using
hardware wrapper decoders instead of using a hwaccel so we don't store a
hwcontext.

This adds a use of the libavcodec avcodec_find_decoder_by_name function,
so I add this to the ffmpeg library wrapper.

Differential Revision: https://phabricator.services.mozilla.com/D178763
2023-06-15 12:59:59 +00:00
David Turner
4e8b48a548 Bug 1833354 - Add sandbox rules for V4L2 in RDD. r=jld
Adding V4L2 hardware acceleration support for video playback requires
the RDD to be allowed to:
- Look in /dev to enumerate available V4L2 devices
- Open /dev/video* (but only m2m devices, not capture ones)
- Attempt to make sockets to connect to the wayland server (we can deny
  the requests to make a socket, just don't kill the process for trying).
- Use VIDEO-type ioctls

Differential Revision: https://phabricator.services.mozilla.com/D178194
2023-06-15 12:59:59 +00:00
Alexandre Lissy
d5174158c5 Bug 1830523 - Make IOInterposer RAII to avoid leaks r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D180924
2023-06-15 12:53:59 +00:00
Jan Grulich
8a3869b500 Bug 1724900: WebRTC backport: PipeWire video capture - set device unique ID during initialization r=pehrsons,webrtc-reviewers
This is a simple backport of an WebRTC upstream change.

Upstream commit: 4beafa38d546ab6c0bb423c12762f0c4568aa5ce

Differential Revision: https://phabricator.services.mozilla.com/D176626
2023-06-15 12:41:55 +00:00
Jan Grulich
4715b5a927 Bug 1724900: Add PipeWire camera support r=pehrsons,ipc-reviewers,nika
Adds a PipeWire based camera support that was recently merged into
WebRTC. This should be an experimental feature for now and therefore it
is kept behind a config option.

Differential Revision: https://phabricator.services.mozilla.com/D176625
2023-06-15 12:41:55 +00:00
Jan Grulich
0c88e002e4 Bug 1724900: Generate libwebrtc moz.build files r=pehrsons,webrtc-reviewers
Generate libwebrtc moz.build files after PipeWire camera backports

Differential Revision: https://phabricator.services.mozilla.com/D179192
2023-06-15 12:41:55 +00:00
Jan Grulich
7f8a892e49 Bug 1724900: WebRTC backport: PipeWire video capture: split portal and PipeWire implementations r=pehrsons,webrtc-reviewers
This is a simple backport of an WebRTC upstream change.

Upstream commit: 56d126074e5fb62a65e4e14cce44466ce7297770

Differential Revision: https://phabricator.services.mozilla.com/D178937
2023-06-15 12:41:54 +00:00
WhiteMind
cfa5030891 Bug 1782776 - Include guards generated by mach webidl-example do not align with C++ coding style. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D175547
2023-06-15 12:22:38 +00:00
Ziran Sun
017204a386 Bug 1838556 - Update test expectation files affected by bug 1833652. r=emilio
Wpt test failures for Android relase in the following tests seem being fixed by 1833652.
Update the expectation files accordingly.

testing/web-platform/html/semantics/popovers/popover-inside-display-none.html
testing/web-platform/html/semantics/popovers/popover-open-display.html
testing/web-platform/html/semantics/popovers/popover-open-overflow-display.tentative.html

Differential Revision: https://phabricator.services.mozilla.com/D181054
2023-06-15 12:16:37 +00:00
Benjamin VanderSloot
a927084b90 Bug 1831292 - Disable FedCM mochitests when http3 is enabled to stop intermittent failures - r=timhuang
Tracking turning them back on in Bug 1838420.

Differential Revision: https://phabricator.services.mozilla.com/D180940
2023-06-15 12:16:34 +00:00
Kagami Sascha Rosylight
ae1e730423 Bug 1826355 - Retry directory move instead of removal r=dom-storage-reviewers,jstutte
No test because I don't see a stable way to fail initially and then succeed on retrial.

Differential Revision: https://phabricator.services.mozilla.com/D174639
2023-06-15 12:14:30 +00:00
Hiroyuki Ikezoe
c63d8628e4 Bug 1829967 - Fire a touchcanel event when a context menu opens rather than the context menu doesn't open. r=botond
The modified test, helper_long_tap.html, is mostly now same as the Android one.
A difference is on the Linux/Mac version we observe a mouselongtap event after a
contextmenu event wasn't preventDefaulted.

Depends on D180636

Differential Revision: https://phabricator.services.mozilla.com/D180637
2023-06-15 11:43:44 +00:00
Hiroyuki Ikezoe
7b5d4eb27f Bug 1829967 - Make the content response and the condition whether to fire a touchcancel event in ProcessLongTap independent from mouselongtap event results. r=TYLin,botond
`mouselongtap` events are internally used for accessible caret on desktops.
Whether to fire a touchcancel event here should just depend on whether a context
menu opens or not.

Differential Revision: https://phabricator.services.mozilla.com/D180636
2023-06-15 11:43:44 +00:00
Masayuki Nakano
84694d94e2 Bug 1832511 - Fix bustage of gcc non-unified build in HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D181011
2023-06-15 11:12:18 +00:00
Paul Adenot
2c809c19b2 Bug 1838256 - Add release asserts in an attempt to find the root cause for null MediaData. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D180967
2023-06-15 10:00:05 +00:00
Natalia Csoregi
eebccccb89 Backed out 4 changesets (bug 1724900) for causing crashes on getUserMedia-audio. CLOSED TREE
Backed out changeset b94558d76bd2 (bug 1724900)
Backed out changeset 8ac9e05de573 (bug 1724900)
Backed out changeset 8ebb0f9ec0ae (bug 1724900)
Backed out changeset 241d7632685a (bug 1724900)
2023-06-15 13:19:47 +03:00
Edgar Chen
a25a3c2e5c Bug 1838593 - Disable diagnostic assert in ClipboardWriteRequestParent for fuzzing; r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D181063
2023-06-15 09:42:08 +00:00
Jan Grulich
4495112d3f Bug 1724900: WebRTC backport: PipeWire video capture - set device unique ID during initialization r=pehrsons,webrtc-reviewers
This is a simple backport of an WebRTC upstream change.

Upstream commit: 4beafa38d546ab6c0bb423c12762f0c4568aa5ce

Differential Revision: https://phabricator.services.mozilla.com/D176626
2023-06-15 09:13:27 +00:00
Jan Grulich
527c5c1a21 Bug 1724900: Add PipeWire camera support r=pehrsons,ipc-reviewers,nika
Adds a PipeWire based camera support that was recently merged into
WebRTC. This should be an experimental feature for now and therefore it
is kept behind a config option.

Differential Revision: https://phabricator.services.mozilla.com/D176625
2023-06-15 09:13:27 +00:00
Jan Grulich
026249c357 Bug 1724900: Generate libwebrtc moz.build files r=pehrsons,webrtc-reviewers
Generate libwebrtc moz.build files after PipeWire camera backports

Differential Revision: https://phabricator.services.mozilla.com/D179192
2023-06-15 09:13:27 +00:00
Jan Grulich
70ac80f457 Bug 1724900: WebRTC backport: PipeWire video capture: split portal and PipeWire implementations r=pehrsons,webrtc-reviewers
This is a simple backport of an WebRTC upstream change.

Upstream commit: 56d126074e5fb62a65e4e14cce44466ce7297770

Differential Revision: https://phabricator.services.mozilla.com/D178937
2023-06-15 09:13:27 +00:00