Commit Graph

823629 Commits

Author SHA1 Message Date
Byron Campen
274c1c6883 Bug 1401592: Common rid validation logic for SDP and JS. r=mjf
Includes a configured max rid length, since it is not very reasonable to assume
that rids of length 255 are supported by the RTP engine, regardless of what
the IETF specs say.

Differential Revision: https://phabricator.services.mozilla.com/D156832
2022-12-13 23:21:59 +00:00
Byron Campen
a72f7e61d9 Bug 1401592: Teach RTCRtpSender to detect encoding config changes. r=mjf,pehrsons
JsepTrack used to be in charge of this, but because JSEP doesn't negotiate
encoding constraints, it did not make sense to delegate this to the JSEP code.

Differential Revision: https://phabricator.services.mozilla.com/D156831
2022-12-13 23:21:59 +00:00
Byron Campen
03addb3eed Bug 1401592: Remove encoding constraints from JSEP. r=mjf
The spec has settled on not allowing these constraints to be negotiated, so all
that is left is the negotiation of the set of rids.

Also, add an include to eliminate some bot spam.

Differential Revision: https://phabricator.services.mozilla.com/D156830
2022-12-13 23:21:59 +00:00
Byron Campen
0cea7ea012 Bug 1401592: JsepSession::AddTransceiver doesn't need to be fallible, so simplify. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D156829
2022-12-13 23:21:58 +00:00
Byron Campen
02c14f7eca Bug 1401592: Test cases. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D156828
2022-12-13 23:21:58 +00:00
Butkovits Atila
314ba119e0 Backed out changeset f42cde0309b3 (bug 1805477) for causing build bustages at nsPrintDialogX. CLOSED TREE 2022-12-14 01:18:58 +02:00
Hubert Boma Manilla
ec475d5196 Bug 1769787 - [devtools] Make (target based) Source tree open tabs per url r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D150628
2022-12-13 23:11:20 +00:00
Hubert Boma Manilla
720cf1ca78 Bug 1769787 - [devtools] Make source id's no longer target specific r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D147265
2022-12-13 23:11:20 +00:00
Daisuke Akatsuka
03b51d8b43 Bug 1805321: Move initNimbusFeature() to UrlbarTestUtils r=adw
Differential Revision: https://phabricator.services.mozilla.com/D164529
2022-12-13 23:00:12 +00:00
Chun-Min Chang
8c1645fd31 Bug 1774306 - Remove TODO comments r=smaug
Depends on D163197

Differential Revision: https://phabricator.services.mozilla.com/D163289
2022-12-13 22:58:41 +00:00
Chun-Min Chang
4e940c1fae Bug 1774306 - Simplify DS for [Serializable] and [Transferable] r=padenot
Most of the member types in the data structure for [Serializable],
[Transferable], and `FrameData` are the same. They should be reused as
much as possible to lower the maintenance effort.

Depends on D163196

Differential Revision: https://phabricator.services.mozilla.com/D163197
2022-12-13 22:58:40 +00:00
Chun-Min Chang
8b84561e41 Bug 1774306 - Avoid manual JS Read/Writes in VideoFrame serialization r=padenot
Depends on D163195

Differential Revision: https://phabricator.services.mozilla.com/D163196
2022-12-13 22:58:40 +00:00
Chun-Min Chang
0cc78a79fd Bug 1774306 - Ensure VideoFrame is transferred within same origin r=smaug
Add a same-origin check to ensure transferring VideoFrame from one
origin to another doesn't work. Without the check, VideoFrames can be
transferred across the origins when e10s is disabled.

Depends on D163194

Differential Revision: https://phabricator.services.mozilla.com/D163195
2022-12-13 22:58:39 +00:00
Chun-Min Chang
73ba2dae62 Bug 1774306 - Add tests for [Transferable] VideoFrame r=smaug
Depends on D154677

Differential Revision: https://phabricator.services.mozilla.com/D163194
2022-12-13 22:58:39 +00:00
Chun-Min Chang
e7ff91d5db Bug 1774306 - Implement [Transferable] for VideoFrame r=smaug
This patch implements `Custom{Read, Write, Free}TransferHandler` for
`VideoFrame` so `VideoFrame` can be *transferred*

Differential Revision: https://phabricator.services.mozilla.com/D154677
2022-12-13 22:58:38 +00:00
Jed Davis
46dbfb9167 Bug 1793525 - Get crash reports for child processes shutdown hangs on debug/sanitizer/ccov builds. r=nika,yjuglaret
On the build types where child processes need to go through full
shutdown to write some kind of logs or data (debug / refcount logging,
sanitizers, code coverage), the parent process currently waits forever
for them to exit and blocks its own shutdown to do so.  If we were to
time out and kill the child processes, test runs would fail due to
missing the log files they were expected to write; instead, they fail
and blame the parent process for not exiting, which is not especially
helpful.

What we'd like is to know the state of the child process that's failing
to exit.  This patch attempts to get a crash report in that situation; on
Unix we send SIGABRT, and on Windows we inject a thread that calls
DbgBreakPoint, both of which result in invoking our crash reporter.

Differential Revision: https://phabricator.services.mozilla.com/D161098
2022-12-13 22:57:49 +00:00
Jed Davis
dcf250eeb3 Bug 1802064 - Handle failure to send crash annotations from child to parent on Windows. r=gsvelto
When we're writing to the crash annotation pipe in a child process
exception handler, it can fail if the parent process has already closed
the reading end during the `GeckoChildProcessHost` destructor (i.e., if
the crash happens late in shutdown), and probably for other reasons.

This patch checks for that error case and stops writing; previously we'd
get into an infinite loop.

Differential Revision: https://phabricator.services.mozilla.com/D163297
2022-12-13 22:57:48 +00:00
Jonathan Watt
388280189f Bug 1805477 - Prevent pages-per-sheet on macOS being double applied by system print dialog. r=dholbert
Note: NSPagesAcross/NSPagesDown is internal API to Apple and is basically
unknown to the Internet. I discovered it by digging through printing structs in
a debugger while trying to find out how the pages-per-sheet information was
being communicated internally in Cocoa. However, after finding it, I see Google
knows about a grand total of 18 pages on the Internet that mention it, all as
part of debug info dumps. That's still helpful though, since it shows that
these two dictionary entries have been in use since at least 2008, giving some
confidence about backwards compatibility and that it will likely remain in use.

Related to these dictionary keys, Apple's official documentation claims that
there are similarly named keys called NSPrintPagesAcross/NSPrintPagesDown:

https://developer.apple.com/documentation/appkit/nsprintpagesacross
https://developer.apple.com/documentation/appkit/nsprintpagesdown

However, I couldn't get those to work, either to read values or to set values.
The references I could find to them on the Internet were in debug output and
people also stating they couldn't get them to work. I have to wonder if someone
at Apple changed the names at some point and forgot to update the
documentation?!

Finally, note that NSPrintPagesPerSheet is long deprecated and nowadays just
has a dummy value of "1" hardcoded.

https://developer.apple.com/documentation/appkit/nsprintpagespersheet

Differential Revision: https://phabricator.services.mozilla.com/D164317
2022-12-13 22:40:34 +00:00
Nick Alexander
17aeb39742 Bug 1795467 - Include some targeting in background update Glean telemetry. r=bytesized,chutten,application-update-reviewers
This includes some key metrics from the default profile targeting
state in the background update Glean telemetry.  It will allow us to
measure the incidence of missing and malformed targeting state JSON,
and how many background update clients have been lapsed for how long.
This in turn will help us understand if the lapsed experiment
targeting is working correctly.

Differential Revision: https://phabricator.services.mozilla.com/D164026
2022-12-13 22:18:16 +00:00
Nick Alexander
639cbc34a2 Bug 1794053 - Include Glean client ID and reason in background-update pings; include Legacy client ID in more pings. r=chutten
Including the Glean client ID allows to join the background update
`metrics` ping to Glean `events` pings, something we can't currently
do.

This allows to differentiate pings sent as part of the task and pings
queued and sent by Glean, potentially on a different schedule.  This
might have helped debug some incoming data issues a while back.

Including the Legacy client ID allows us to more easily join `events`
pings to Legacy telemetry.  `background_update.client_id` could as
well _be_ `legacy.telemetry.client_id`, but the background update
`client_id` is that of the *default* profile, not the background task
profile, so conflating the two would likely cause confusion.

Differential Revision: https://phabricator.services.mozilla.com/D164025
2022-12-13 22:18:15 +00:00
Norisz Fay
0fa6500691 Backed out 2 changesets (bug 1801234, bug 1804186) for causing assertion failures on DocAccessibleParent.cpp CLOSED TREE
Backed out changeset 949a747693d1 (bug 1804186)
Backed out changeset 51527201739c (bug 1801234)
2022-12-13 23:58:05 +02:00
Daisuke Akatsuka
16348f4b83 Bug 1804561: Handle the interaction type 'refined' as a subset of 'returned'. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D164180
2022-12-13 21:14:06 +00:00
Mark Striemer
2dfaa467d4 Bug 1804366 - Directly reference ./mach addwidget CSS files r=hjones
Differential Revision: https://phabricator.services.mozilla.com/D164015
2022-12-13 21:11:57 +00:00
Tim Huang
5d0b9dc310 Bug 1800422 - Add the async shutdown blocker for CookieBannerDomainPrefService. r=pbz
This patch implements the async shutdown blocker for
CookieBannerDomainPrefService. The shutdwon blocker blocks the shutdown
phase 'profile-before-change', ensuring the writing operation of content
pref completes before we shutdown. We will remove the blocker once
writing finishes.

Differential Revision: https://phabricator.services.mozilla.com/D164242
2022-12-13 21:03:08 +00:00
janvi01
0a0e599140 Bug 1804364 - fix seek bar focus outline r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D164330
2022-12-13 20:45:30 +00:00
Dana Keeler
d6331d843b Bug 177175 - cancel subsequent PKCS#11 password prompts if more than one happens concurrently r=jschanck
Unfortunately, since NSS can prompt for PKCS#11 authentication on the main
thread, the prompt in question results in a nested event loop, which means that
the prompt code can be re-entered and another prompt can appear before the
first is dealt with. As long as NSS can run on the main thread, this will
continue to be the case. Recently we've done a lot of work to prevent NSS
running on the main thread, but that work is by no means complete. In the
meantime, we can paper over this situation by cancelling any prompts that come
after one that is still in progress. This will cause some NSS operations to
fail in a way that should be recoverable by simply retrying them (e.g. the user
can refresh the page or close and re-open it).

Differential Revision: https://phabricator.services.mozilla.com/D164280
2022-12-13 20:43:37 +00:00
Dana Keeler
b76b1c4d68 Bug 177175 - re-implement PKCS#11 protected auth UI with modern components r=jschanck,fluent-reviewers,flod
The previous implementation used some heavyweight, outdated, and unnecessary
components to achieve its effect. This patch greatly simplifies the
implementation.

Differential Revision: https://phabricator.services.mozilla.com/D164279
2022-12-13 20:43:36 +00:00
M. Sirringhaus
b83d2bb5c7 Bug 1804434 - Split register/sign dialog into pre- and post token selection dialog. r=jschanck,flod
Differential Revision: https://phabricator.services.mozilla.com/D164071
2022-12-13 20:28:59 +00:00
Morgan Rae Reschenberg
a2878c10ac Bug 1804186: Use RelationType in mReverseRelations map instead of uint64_t r=nlapre
Differential Revision: https://phabricator.services.mozilla.com/D164268
2022-12-13 20:16:37 +00:00
Morgan Rae Reschenberg
141e01d78f Bug 1801234: Queue a relations cache update on dependent accs when DOM ID mutations are observed r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D162895
2022-12-13 20:16:36 +00:00
Dana Keeler
cc88d42fef Bug 1804793 - add missing data-l10n-args for tokenName in changepassword.xhtml r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D164278
2022-12-13 19:59:53 +00:00
Butkovits Atila
74a43f86ea Backed out 18 changesets (bug 1401592, bug 1676855) for causing failures at test_peerConnection_scaleResolution_oldSetParameters.html. CLOSED TREE
Backed out changeset 47c810ec8060 (bug 1676855)
Backed out changeset aba56121e546 (bug 1401592)
Backed out changeset ba525fa85b99 (bug 1401592)
Backed out changeset 00409e6f4685 (bug 1401592)
Backed out changeset bf98bb55e45f (bug 1401592)
Backed out changeset f16c0eb92363 (bug 1401592)
Backed out changeset 3cb1dde9bbbc (bug 1401592)
Backed out changeset a9bfef738d49 (bug 1401592)
Backed out changeset aa6aa10cfd97 (bug 1401592)
Backed out changeset b4752eaae108 (bug 1401592)
Backed out changeset e868d7b3abd8 (bug 1401592)
Backed out changeset ce11d420246c (bug 1401592)
Backed out changeset 01434a8cb2b6 (bug 1401592)
Backed out changeset 154d08dd3bca (bug 1401592)
Backed out changeset fffc015a5dd5 (bug 1401592)
Backed out changeset 9e11ddaf8b3e (bug 1401592)
Backed out changeset 26a812435ddd (bug 1401592)
Backed out changeset 3b064fbc9a61 (bug 1401592)
2022-12-13 22:53:05 +02:00
Dana Keeler
28f5b1d868 Bug 1805282 - update static pinning information url r=jschanck
Chrome has updated where it stores its static pinning information.

Differential Revision: https://phabricator.services.mozilla.com/D164498
2022-12-13 19:53:19 +00:00
Anna Yeddi
dc5a11af07 Bug 1804881 - DateTimeInput to support NumLock keys. r=Jamie,mconley
Resolving a regression caused by the bug 1676068 where NumLock state is inverted for `<input type=date>`, `<input type=time>`, and `<input type=datetime-local>` input boxes.

The code removed was introduced as a remediation to the bug 1314544 with the `keyCode` attribute used which was since deprecated.

Differential Revision: https://phabricator.services.mozilla.com/D164515
2022-12-13 19:48:18 +00:00
Jan Varga
7217c03413 Bug 1751681 - Cleanup FileSystemHandle serialization/deserialization; r=dom-storage-reviewers,jesup
This patch also cleanups the StorageManager public interface a bit.

Differential Revision: https://phabricator.services.mozilla.com/D164453
2022-12-13 19:23:35 +00:00
Randell Jesup
ba863219b6 Bug 1751681: Connect up de-serialization of OPFS handles to IPC actors r=nika,dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D149264
2022-12-13 19:23:35 +00:00
Mozilla Releng Treescript
cb2bccdcb5 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> 2437d3edbc4ee015604c772f4d49296da94dafaa
gn -> 84ddfff27e4311a0008b2554e34b75607e0139d5
lo -> 28daa2246a8b7051fe8803537e45c91d72b4fe93
nn-NO -> 5111ef8bfb26a1518ef7e44d3e9f3515a92225dd
sl -> d955bd5ef86f7f6928b6cd34c810ed3cdb5eb9f0
tg -> 7899931fda3b1e2b19c8d26550ea106472817e6a
tr -> f7ca8462285f3451aa01a2f613127d88410ad68f
vi -> 317cbaeda05f52313ecda65fbced293efc0e4470
2022-12-13 19:05:44 +00:00
Shane Hughes
fb5d56588d Bug 1805360 - Fix FxA panel separators. r=mconley
Replace menuseparator -> toolbarseparator in the FxA panel.

Differential Revision: https://phabricator.services.mozilla.com/D164537
2022-12-13 18:49:56 +00:00
Lee Salzman
b4b80b97b5 Bug 1805231 - Handle zero-length capped lines. r=aosmond
Avoid causing a divide-by-zero when a stroked line is zero-length and only the cap is rendered.

Differential Revision: https://phabricator.services.mozilla.com/D164536
2022-12-13 18:43:06 +00:00
Nika Layzell
a7adac4bd1 Bug 1800149 - Part 2: Stop sending some values from a content process in ClickHandler, r=Gijs
Currently we are sending some values, such as principals, from the content
process when handling clicks from the ClickHandler actor. This information is
already available in the parent process on WindowGlobalParent, so changes the
code to fetch the values from there instead.

Differential Revision: https://phabricator.services.mozilla.com/D161836
2022-12-13 18:35:18 +00:00
Nika Layzell
4cd44adcb3 Bug 1800149 - Part 1: Stop sending some values from a content process in nsContextMenu, r=Gijs,extension-reviewers,robwu
Currently we are sending some values, such as principals, from the content
process when creating a nsContextMenu. This information is already available in
the parent process on WindowGlobalParent, so changes the code to fetch the
values from there instead.

Differential Revision: https://phabricator.services.mozilla.com/D161835
2022-12-13 18:35:18 +00:00
Thomas Wisniewski
a66016b527 Bug 1805441 - Have SmartBlock's IMA shim also fire a CONTENT_RESUME_REQUESTED event; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164588
2022-12-13 18:27:49 +00:00
Updatebot
463f0957eb Bug 1804797 - Update PDF.js to ba2fec98913589b7a6ae16ea62b213e9a432e456 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D164295
2022-12-13 18:23:20 +00:00
Andrew McCreight
9edebfc628 Bug 1805269 - Don't allow getting gamepad and VR test services outside of automation. r=smaug,cmartin
These interfaces are already disabled by prefs, but they are ironically
probably not well tested, so just add an extra check.

Differential Revision: https://phabricator.services.mozilla.com/D164496
2022-12-13 18:20:46 +00:00
Robert Longson
136a940fe6 Bug 1805095 - map white-space as a presentation attribute for SVG text r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D164421
2022-12-13 17:50:21 +00:00
Jon Coppeard
c0af6e30a3 Bug 1805337 - Remove use of increment on volatile data r=sfink
This removes a custom version of AutoSuppressGCAnalysis that wasn't really
needed and replaces increment with assignment in gbd-tests.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D164576
2022-12-13 17:46:18 +00:00
Norisz Fay
373e513a9f Backed out changeset 53b86a805445 (bug 1769635) for causing mochitest failures CLOSED TREE 2022-12-13 20:10:38 +02:00
Otto Länd
f72eebd246 Bug 1804637, 1804637: apply code formatting via Lando
# ignore-this-changeset
2022-12-13 17:32:46 +00:00
Jon Coppeard
e236009484 Bug 1804637 - Part 2: Initialize sweep group index at the start of GC r=sfink
The problem is that marking the test mark queue goes wrong when computing
non-incremental marking state because the current sweep group index is still
set from the last collection.

The patch clears the previous state at the start of collection.

This only affects incremental marking validation.

Differential Revision: https://phabricator.services.mozilla.com/D164463
2022-12-13 17:30:09 +00:00
Jon Coppeard
f172c55b56 Bug 1804637 - Fix a problem with the test mark queue r=sfink
This doesn't fix the failing test case, although it does survive two more GC
slices with this patch.

This saves and restores state related to the test mark queue while doing
non-incremental marking for later marking validation. Without this we do the
test queue marking as part of non-incremental marking and then don't do it for
the actual marking, leading to a discrepancy.

Differential Revision: https://phabricator.services.mozilla.com/D164246
2022-12-13 17:30:09 +00:00