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

869631 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 8b37491dc9 Bug 1874758 - Upgrade boto3 to latest version for upload-generated-sources. r=firefox-build-system-reviewers,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D198640
2024-01-16 04:38:51 +00:00
Mike Hommey c25e5f1fc3 Bug 1874758 - Avoid errors during upload_generated_sources.py being ignored. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D198639
2024-01-16 04:38:50 +00:00
Andrew Osmond 2d90dfa6d7 Bug 1874803 - Add sentinel invalid recorded event type. r=gfx-reviewers,lsalzman
RecordedEvent::EventType::INVALID should never be seen in a recording
and so can be used as a sentinel value that we can assert against. If it
is seen, then the recording should fail gracefully.

Differential Revision: https://phabricator.services.mozilla.com/D198649
2024-01-16 03:38:34 +00:00
Hubert Boma Manilla 2fa4750e87 Bug 1859531 - [devtools] Add getClosestOriginalFunctionName for the callstack original frames r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D191185
2024-01-16 02:27:48 +00:00
Kagami Sascha Rosylight a0dc87f046 Bug 1869558 - Part 2: Port applicationServerKey validation tests to WPT r=asuth
Porting only the main thread checks but not the checks inside service workers, because it's not clear what to do with permissions there as testdriver.js is window specific. Maybe it can be tweaked for service worker compatibility, but not in this patch.

Differential Revision: https://phabricator.services.mozilla.com/D196181
2024-01-16 00:27:59 +00:00
Kagami Sascha Rosylight 5dfc0d6d3c Bug 1869558 - Part 1: Add validation step for subscribeWithKey r=jonalmeida,geckoview-reviewers
Ideally this validation steps should be shared in PushManager::Subscribe, but that's out of scope for this bug. For now this just copypastes the step from `dom/push/PushService.sys.mjs`.

Differential Revision: https://phabricator.services.mozilla.com/D196586
2024-01-16 00:27:58 +00:00
Masayuki Nakano 85697ec93c Bug 1870960 - Make `IMEStateManager` stop using `nsPresContext::GetTextInputHandlingWidget()` as far as possible r=smaug
If given `nsPresContext` is for a lazy loading `<iframe>` and the frame has not
been loaded yet, its `GetTextInputHandlingWidget()` may return `nullptr`.
However, `IMEStateManager::sTextInputHandlingWidget` may have already cache it.
Therefore, `IMEStateManager` should use:
* `sTextInputHandlingWidget` if it's available
* otherwise, `nsPresContext::GetTextInputHandlingWidget()`

Differential Revision: https://phabricator.services.mozilla.com/D197991
2024-01-16 00:09:35 +00:00
Karl Tomlinson 24db8f79b3 Bug 1872519 pass planar reverse stream data to AudioProcessingTrack::NotifyOutputData() r=chunmin
to remove unnecessary deinterleaving.
This will facilitating passing the output for a secondary output device,
without interleaving.

The AudioChunk is down-mixed directly into the AudioProcessing's input buffer,
rather than using an AudioPacketizer, to skip another one or two copies.

processedFrameCount accounting in TestAudioCallbackDriver.SlowStart is
adjusted to ignore frames processed while waiting for the fallback driver to
stop [1] and to continue counting frames while the driver shuts down.

[1]
https://searchfox.org/mozilla-central/rev/6856d0cab9e37dd9eb305f174ff71f0a95b31f82/dom/media/GraphDriver.cpp#873-882

Depends on D198236

Differential Revision: https://phabricator.services.mozilla.com/D198237
2024-01-16 00:09:30 +00:00
Masayuki Nakano 129ffddc2b Bug 1858071 - Make `HTMLEditor` consider whether block or inline with CSS in the release channel r=m_kato
The new behavior is better than the traditional behavior -- considering with
the default style of HTML -- especially when an element is an unknown element or
a custom element.

We've fixed a lot of assertion failures of this change and we have no serious
remaining issues now. Therefore, I think that we can ship it in all channels.

Differential Revision: https://phabricator.services.mozilla.com/D198245
2024-01-16 00:09:03 +00:00
Karl Tomlinson 2bb89ab526 Bug 1869043 track and resolve device changed/running promises in MediaStreamRenderer r=pehrsons
The primary motivation for MediaStreamRenderer keeping track of and settling
incomplete promises is that, after changes in subsequent patches,
AudioStreamTrack outputs will share CrossGraphReceivers and so dedicated
CrossGraphReceivers will no longer be available to reject incomplete promises
when CrossGraphRecievers are Destroy()ed when an output is removed.

This also reliably keeps promise resolution in order wrt the synchronous
resolution from a setSinkId() call while playback is paused.

When a promise is settled because a subsequent pause or setSinkId() makes
the device change unnecessary, the promise is now resolved instead of
rejected.  The new behavior is consistent with the resolution of a
promise created while playback is paused and with AudioSinkWrapper.  Promise
resolution may be less likely to surprise content script than promise
rejection.

The situation with multiple tracks is somewhat arbitrary.  Settling of the
promise depends on which tracks were present when setSinkId() was called.
GenericPromise::All() in MediaStreamRenderer::SetAudioOutputDevice() would
reject when the first track that existed at setSinkId() was removed or ended.
This patch switches to AllSettled() and resolves when all tracks that existed
at setSinkId() have ended.  When AudioStreamTrack outputs no longer have
dedicated CrossGraphRecievers, removal of tracks will no longer cause the
promise to be settled until no tracks require the device.

Differential Revision: https://phabricator.services.mozilla.com/D198231
2024-01-15 23:51:19 +00:00
Iain Ireland d5cbf1d50f Bug 1874502: Use ScratchDoubleScope in moveValue r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D198479
2024-01-15 23:41:59 +00:00
Karl Tomlinson 7ab467bc48 Bug 1869043 replace GraphStartedNotificationControlMessage with a lambda r=pehrsons
The MediaTrackGraphImpl is used directly rather than obtained from the
MediaTrack because the MediaTrack will be removed in D198232.

Differential Revision: https://phabricator.services.mozilla.com/D198230
2024-01-15 22:53:35 +00:00
Mike Hommey 05fcb9c9d5 Bug 1874281 - Switch cargo-apk to a toolchain task. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D198340
2024-01-15 22:28:28 +00:00
Mike Hommey 1bf33f4f6d Bug 1874038 - Add Linux distro name and version to recorded system info. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D198219
2024-01-15 22:26:46 +00:00
Mike Hommey 653361ef85 Bug 1874038 - Derive LSB Release info from /etc/os-release. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D198218
2024-01-15 22:26:46 +00:00
Mike Hommey faca7c818a Bug 1874348 - Extra cleanup after bug 1694481 r=firefox-build-system-reviewers,ahochheiden
There is no need to build Zip.cpp anymore when the linker is not
enabled, because nsGeckoUtils.cpp doesn't actually use it anymore.

Differential Revision: https://phabricator.services.mozilla.com/D198349
2024-01-15 22:24:56 +00:00
Mike Hommey 862e452325 Bug 1874345 - Remove xz support from the linker. r=gsvelto,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D198632
2024-01-15 22:24:55 +00:00
Karl Tomlinson 9a8c42af88 Bug 1872519 introduce AudioChunk::DownMixTo() to export existing downmix code r=padenot
Depends on D198235

Differential Revision: https://phabricator.services.mozilla.com/D198236
2024-01-15 22:20:59 +00:00
Karl Tomlinson 95ccf47267 Bug 1873806 add a second pulseaudio null sink with --use-test-media-devices r=padenot,ahal
Differential Revision: https://phabricator.services.mozilla.com/D198133
2024-01-15 22:15:30 +00:00
Sandor Molnar d29e8e920b Backed out 2 changesets (bug 1869558) for causing bc failures at dom/push/test/test_permission_granted.html CLOSED TREE
Backed out changeset 47f75ac9d8c4 (bug 1869558)
Backed out changeset 00002cc231f4 (bug 1869558)
2024-01-15 23:50:25 +02:00
Matthew Gaudet 2f154570e8 No Bug - Fix typo r=iain DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D198599
2024-01-15 21:36:01 +00:00
Mike Hommey 02705d262a Bug 1849632 - Reject building rust-based toolchains without a Cargo.lock. r=firefox-build-system-reviewers,ahochheiden
We provide an escape hatch, allowing to provide a Cargo.lock in
taskcluster/scripts/misc.

Differential Revision: https://phabricator.services.mozilla.com/D198337
2024-01-15 21:29:03 +00:00
Mike Hommey d0f4dadfa2 Bug 1849632 - Update makecab to latest upstream. r=firefox-build-system-reviewers,ahochheiden
Turns out I had submitted a Cargo.lock (and other changes)... 3 years
ago, and they were merged.

Differential Revision: https://phabricator.services.mozilla.com/D198336
2024-01-15 21:29:02 +00:00
Emily McMinn f3a763c6a4 Bug 1871067 - Remove Protections Panel info message from Messaging System docs and update schemas r=barret
Differential Revision: https://phabricator.services.mozilla.com/D198207
2024-01-15 21:28:01 +00:00
Kagami Sascha Rosylight e8a0a1e84e Bug 1869558 - Part 2: Port applicationServerKey validation tests to WPT r=asuth
Porting only the main thread checks but not the checks inside service workers, because it's not clear what to do with permissions there as testdriver.js is window specific. Maybe it can be tweaked for service worker compatibility, but not in this patch.

Differential Revision: https://phabricator.services.mozilla.com/D196181
2024-01-15 21:16:46 +00:00
Kagami Sascha Rosylight 2f3416338d Bug 1869558 - Part 1: Add validation step for subscribeWithKey r=jonalmeida,geckoview-reviewers
Ideally this validation steps should be shared in PushManager::Subscribe, but that's out of scope for this bug. For now this just copypastes the step from `dom/push/PushService.sys.mjs`.

Differential Revision: https://phabricator.services.mozilla.com/D196586
2024-01-15 21:16:46 +00:00
Mike Hommey 2b0095e967 Bug 1874346 - Always add mozglue/linker to includes on MOZ_LINKER builds. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D198348
2024-01-15 21:16:21 +00:00
Karl Tomlinson 69725fe90d Bug 1872519 use AnalyzeReverseStream() instead of ProcessReverseStream() r=padenot
to clarify that the output from ProcessReverseStream() was unnused.

Depends on D198234

Differential Revision: https://phabricator.services.mozilla.com/D198235
2024-01-15 21:02:05 +00:00
Florian Quèze 7d61870dbe Bug 1862597 - when generating a profile from resourcemonitor.py, ensure the CPU use values used to display the chart are never above 100%, r=jcristau.
Differential Revision: https://phabricator.services.mozilla.com/D198304
2024-01-15 19:59:25 +00:00
Florian Quèze 9d6182299a Bug 1862597 - in resourcemonitor.py, take the timestamps right after the call to psutil.cpu_times, r=jcristau.
Differential Revision: https://phabricator.services.mozilla.com/D198259
2024-01-15 19:59:24 +00:00
stransky 9bbaca93e8 Bug 1874717 [Wayland] Clear Wayland proxy from LaunchChild() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D198606
2024-01-15 19:52:19 +00:00
Karl Tomlinson 0a3ad46c18 Bug 1872519 use the same code to determine AudioProcessing packet sizes as will be used by AudioProcessing through StreamConfig r=chunmin
Depends on D198233

Differential Revision: https://phabricator.services.mozilla.com/D198234
2024-01-15 19:48:00 +00:00
Karl Tomlinson 1e6f1f00ff Bug 1874484 include AudioDeviceInfo.h r=padenot,media-playback-reviewers
Previously this was indirectly included from MediaEngineWebRTCAudio.h,
only when MOZ_WEBRTC was set.

Differential Revision: https://phabricator.services.mozilla.com/D198514
2024-01-15 19:39:52 +00:00
Emilio Cobos Álvarez 9231eae657 Bug 1856156 - Make Directionality an enum class. r=smaug
A bit neater this way.

Differential Revision: https://phabricator.services.mozilla.com/D198590
2024-01-15 19:35:44 +00:00
Emilio Cobos Álvarez 72ccddb050 Bug 1856156 - Recompute auto directionality on input type changes. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D198588
2024-01-15 19:35:43 +00:00
Lee Salzman 82a1a4adb6 Bug 1874666 - Reduce some unnecessary SetTransform calls. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D198524
2024-01-15 19:30:40 +00:00
Mozilla Releng Treescript 88742caa84 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
br -> d1be796ba7c721c698658404122717bdf2e474b0
eo -> a17f0778d81a03452c4aa3fabaedc7a168f3750a
eu -> 3398e52759aadd45144b254dee6118665d12bc79
fr -> b71ce0425ce2949918840ddfb787afe8186f5dca
fy-NL -> 3b4b49369c6c5cbb4c9fccc44879cff2f00f3ce2
gn -> 9686603e5162af56503b805d7cee7a9f4955bc56
hu -> be52bd3bf0db0f79c6769e7773d312199bc1c705
is -> 1b1737dbc81b45773e63b06ce434bd8e00a34168
nl -> 4ea40b34557cf82b927e5cbe812bc20b1c7c8477
oc -> 0aba33e3b22630420ff62cb22987ee66efb3804f
pt-BR -> 66e59e940996f5ca52ae0e8faa1c1997ac0f5f1b
rm -> 617a47aca092e14aad20074667496574abcc3596
ro -> c07cc3510cb6baafbfc4ca382b5d578fe98d41ab
skr -> f15738f962dab9ff70af63b771e47f168a36e4dd
sl -> efb8502b19222212b58afac99b4caa957641f48e
tr -> ef5013360ec36a8ddcab1d4abffd129566c7e4ff
2024-01-15 19:00:00 +00:00
Sandor Molnar 4dc8af0940 Backed out changeset a2d10b063497 (bug 1874311) for causing bc failures at browser/base/content/test/sync/browser_sync.js CLOSED TREE 2024-01-15 20:38:12 +02:00
Gijs Kruitbosch dd128f510e Bug 1874321 - document how to run nightly with a custom language, r=cmkm,flod
Differential Revision: https://phabricator.services.mozilla.com/D198399
2024-01-15 18:20:51 +00:00
Hanna Jones 72892846f3 Bug 1874505 - ensure text is vertically centered in infobar buttons r=desktop-theme-reviewers,dao
To reproduce the issue with the specific message bar:

1. quit/restart your local build of Firefox to ensure you have some session data
2. set the `browser.startup.couldRestoreSession.count` pref to 1
3. run this snippet in the browser toolbox:

```js
Cc["@mozilla.org/browser/browserglue;1"].getService(Ci.nsISupports).wrappedJSObject._maybeShowRestoreSessionInfoBar();
```

As @dholbert mentioned in the bug this is a band-aid fix. Seems alright though given the `.footer-button` class is just a hack to provide in-content button styles in the chrome. Long term we want to remove it in favour of unified button styles and/or the `moz-button` component (see Bug 1858814).

Differential Revision: https://phabricator.services.mozilla.com/D198589
2024-01-15 18:19:26 +00:00
Andrew Osmond 97cdacf51c Bug 1874241 - Cache current DrawTarget in recordings. r=gfx-reviewers,lsalzman
Since most draw commands in a recording reference the same DrawTarget
over and over again, it saves a lot of space in the recording buffer to
create a dedicated RecordedSetCurrentDrawTarget command which caches the
current DrawTarget pointer and each subsequent command that needs a
DrawTarget will use the current.

Differential Revision: https://phabricator.services.mozilla.com/D198310
2024-01-15 18:09:47 +00:00
Chris Martin 20bf349d31 Bug 1813979 - Fix broken mermaid diagram DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D198585
2024-01-15 18:05:20 +00:00
Kagami Sascha Rosylight ed7931f908 Bug 1873719 - Stop showing post-prompt when notification permission is globally denied r=pbz
The current behavior doesn't make sense anyway because the permission request is denied anyway by the time the prompt happens.

Differential Revision: https://phabricator.services.mozilla.com/D198391
2024-01-15 17:53:46 +00:00
Emilio Cobos Álvarez 712a206941 Bug 1872509 - Extend tests for input UA styles. r=dholbert
This probably needs to wait for that PR to be merged since unlike the
range tests, these actually test the clip value.

Depends on D197456

Differential Revision: https://phabricator.services.mozilla.com/D197457
2024-01-15 17:21:25 +00:00
Emilio Cobos Álvarez 0cecebd72b Bug 1873002 - Make dialog contents shrinkable even when not scrollable. r=Gijs,settings-reviewers,desktop-theme-reviewers,dao
This is preferable behavior. Otherwise the behavior changes with
and without scrolling enabled, which is rather weird.

Depends on D198395

Differential Revision: https://phabricator.services.mozilla.com/D198396
2024-01-15 17:20:58 +00:00
Julien Cristau 9f4503400f Bug 1868354 - remove support for private partner repacks. r=releng-reviewers,taskgraph-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D195544
2024-01-15 17:02:17 +00:00
Frédéric Wang 532c46bc37 Bug 1765615 - Always add NS_BLOCK_FLOAT_MGR and NS_BLOCK_MARGIN_ROOT simultaneously. r=layout-reviewers,emilio
These flags are generally always set simultaneously via
NS_BLOCK_FORMATTING_CONTEXT_STATE_BITS. This commit changes the three
remaining places where only NS_BLOCK_FLOAT_MGR is set:

1. nsFileControlFrame, used by <input type="file">
2. nsComboboxControlFrame used by <select>
3. nsSelectsAreaFrame, used by <select multiple>

(1) and (2) create their own child frames that can't be styled by
authors. (3) wraps its children into a -moz-scrolled-content which
already prevents them from taking collapsing margins with their parent.
So it is safe to add NS_BLOCK_MARGIN_ROOT here.

Differential Revision: https://phabricator.services.mozilla.com/D198523
2024-01-15 16:59:51 +00:00
Tarik Eshaq 01684f0dc4 Bug 1874311: Enables Account toolbar by default when signed out. r=skhamis
Differential Revision: https://phabricator.services.mozilla.com/D198338
2024-01-15 16:53:48 +00:00
Norisz Fay ae3df68e9b Backed out changeset 1ec7a77be890 (bug 1869836) for causing bc and lint failures CLOSED TREE 2024-01-15 19:09:33 +02:00
Cristina Horotan a08536dbad Bug 1874701 - Fix lint failure in browser_aboutCertError.js CLOSED TREE 2024-01-15 18:44:51 +02:00