Commit Graph

874237 Commits

Author SHA1 Message Date
Mike Hommey
866c9cfcc3 Bug 1880930 - Remove irrelevant comment from old-configure.in. r=firefox-build-system-reviewers,sergesanspaille
The comment was added in bug 407459, but the code it was relevant to was
moved without the comment in bug 1257448. At the same time, while the
code that came with the comment was moved and is still relevant, the
comment itself refers to code that was removed in bug 1364358.

Differential Revision: https://phabricator.services.mozilla.com/D202189
2024-02-21 22:18:10 +00:00
Mike Hommey
b48fbe1095 Bug 1681445 - Fix CLOCK_MONOTONIC test. r=firefox-build-system-reviewers,sergesanspaille
Bug 1524461 introduced a typo, using __VA_ARGS instead of __VA_ARGS__. A
previous attempt to fix that led to bug 1684265 and the fix has been in
limbo since then. Bug 1876415 however recently changed things so that
mac builds may not use CLOCK_MONOTONIC for TimeStamp, which would avoid
bug 1684265 after fixing the configure test.

Since the first attempt, though, the availability() hack ceased to work.
At the same time, macOS < 10.12 is not supported anymore, so all
supported versions of macOS do have CLOCK_MONOTONIC, so we just remove
the availability() hack altogether.

Differential Revision: https://phabricator.services.mozilla.com/D202187
2024-02-21 22:15:44 +00:00
Alexandre Poirot
72bd734c42 Bug 1881141 - [devtools] Factorize code around target and thread configuration management. r=devtools-reviewers,nchevobbe
This should help connect preferences to server's target configurations.
Once we get rid of thread's actor attach sequence, we may be able to also fold the getThreadOptions's preferences into this new system.

Differential Revision: https://phabricator.services.mozilla.com/D202277
2024-02-21 22:04:17 +00:00
Alexandre Poirot
095cf72e9c Bug 1865439 - [devtools] Re-introduce a preference to allow disabling the debugger overlay displayed on paused. r=devtools-reviewers,nchevobbe
`devtools.debugger.features.overlay` boolean preference will control this paused overlay.
(same name as an old preference which used to do that)

Differential Revision: https://phabricator.services.mozilla.com/D201697
2024-02-21 22:04:17 +00:00
Alexandre Poirot
47755a8d19 Bug 1865439 - [devtools] Rename ThreadActor's _parent to targetActor. r=devtools-reviewers,nchevobbe
By protocol.js conventions, most target scopes actors have a `targetActor` attribute set to their parent,
i.e. the related target actor. Thread Actor was old enough to not follow this pattern.

Also remove the second constructor argument and `global` attribute as it was unused.

Differential Revision: https://phabricator.services.mozilla.com/D201696
2024-02-21 22:04:16 +00:00
keithamus
97a950a01f Bug 1874665 - Distinguish between Callback & Dict in WebIDL. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D198666
2024-02-21 21:57:31 +00:00
Glenn Watson
535a5e5680 Bug 1881182 - Make GpuBuffer generic and support integer buffers r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D202289
2024-02-21 21:53:22 +00:00
Butkovits Atila
70401bd1d7 Backed out 8 changesets (bug 1869371) for causing failures at test_sqlite.js. CLOSED TREE
Backed out changeset 391786e96304 (bug 1869371)
Backed out changeset b92684d03373 (bug 1869371)
Backed out changeset 9c7998c36e23 (bug 1869371)
Backed out changeset 1ed5e90100b9 (bug 1869371)
Backed out changeset d37cbe376973 (bug 1869371)
Backed out changeset 753da5215de8 (bug 1869371)
Backed out changeset 124b34895745 (bug 1869371)
Backed out changeset 988b51eb124f (bug 1869371)
2024-02-22 00:04:02 +02:00
Butkovits Atila
97eea23bea Backed out changeset bec4dc4bd9ce (bug 1865380) for causing failures at test_range_bounds.html. 2024-02-21 23:52:44 +02:00
Joel Maher
efc4969524 Bug 1880337 - when using --full on try, do not schedule variants if not intended torun. r=ahal,ci-and-tooling,aryx,taskgraph-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201899
2024-02-21 21:36:48 +00:00
echrs
5cb58db9d5 Bug 1862253 - Add a story that shows an example of Moz Message Bar with a Heading plus Message r=hjones,reusable-components-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D202103
2024-02-21 21:33:53 +00:00
Thomas Wisniewski
4994e7f890 Bug 1880826 - avoid static constructors for XMLHttpRequest::EventType classes with constexpr; r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D202177
2024-02-21 21:27:47 +00:00
Nerixyz
bba3b9b783 Bug 1689538 - Provide timeline information and handle SeekTo on Windows. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D198850
2024-02-21 21:11:13 +00:00
Nerixyz
dfe49614a0 Bug 1689538 - Implement current playback position algorithm for PositionState. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D198849
2024-02-21 21:11:12 +00:00
Nerixyz
84823a8ab8 Bug 1689538 - Save PositionState for media sessions in MediaStatusManager. r=alwu
When setting the position state for a media session, it might not be the
active. When activating a session it should be sent.

Differential Revision: https://phabricator.services.mozilla.com/D198848
2024-02-21 21:11:12 +00:00
Nerixyz
f243610df0 Bug 1689538 - Emit PositionState as an optional value. r=alwu
The PositionState is already saved as an optional value inside the MediaSession.
This makes the PositionState optional in all events emitted as it can be
explicitly reset by passing an empty object.

Differential Revision: https://phabricator.services.mozilla.com/D198847
2024-02-21 21:11:12 +00:00
Alexandre Poirot
b897e02787 Bug 1648499 - [devtools] Use JS Process actors to debug content process via DevTools. r=devtools-reviewers,nchevobbe
We were using process script and process message managers to interact with content processes.
This patch migrates the whole logic to JS Process Actor.

Note that we may still use old API in process descriptor, but that's a different story.

This helps align frame, process and worker targets all around JS Actors,
making it easier to align all three target types to the same logic.

Also fix passing `isModeSwitching` for content process targets
so that console is correctly cleared when switching between modes.

With this and the ongoing Service Worker equivalent work, we should be able to factorize some code.

Differential Revision: https://phabricator.services.mozilla.com/D167965
2024-02-21 20:45:15 +00:00
Alexandre Poirot
d0403189f9 Bug 1648499 - [devtools] Avoid attaching BrowsingContext thread actors in the context of the browser toolbox. r=devtools-reviewers,nchevobbe
In the Browser Console/Toolbox setup, we spawn both Content Process Targets
and WindowGlobal Targets for document running in the same process as the target.

While the debugger will only use the Content process targets and ignore the WindowGlobal ones,
the inspector will only consider the WindowGlobal ones.

Because of this mixed up setup, we have to ensure disabling (avoid attaching)
the thread actor of the WindowGlobal target in the context of the browser toolbox.

Differential Revision: https://phabricator.services.mozilla.com/D167964
2024-02-21 20:45:15 +00:00
alwu
8efb906e0a Bug 1863366 - part2 : disable 'test_capture_stream_av_sync' on media-gpu. r=media-playback-reviewers,padenot
Depends on D201856

Differential Revision: https://phabricator.services.mozilla.com/D201857
2024-02-21 19:44:41 +00:00
alwu
4331c3cd8e Bug 1863366 - part1 : enable hw-ref for media-gpu. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D201856
2024-02-21 19:44:40 +00:00
Barret Rennie
611413b73c Bug 1869371 - Strip NS_ERROR_* codes from submitted telemetry r=markh,sync-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D200969
2024-02-21 19:33:46 +00:00
Barret Rennie
f0e51159ae Bug 1869371 - Chain errors from nested calls in IOUtils r=nika
Differential Revision: https://phabricator.services.mozilla.com/D196655
2024-02-21 19:33:45 +00:00
Barret Rennie
8154d58fff Bug 1869371 - Include nsresult error code when reporting IOUtils errors r=nika
Differential Revision: https://phabricator.services.mozilla.com/D196654
2024-02-21 19:33:45 +00:00
Barret Rennie
ca6567f0fa Bug 1869371 - Move IOUtils::ReadSync option errors to frontend r=nika
Differential Revision: https://phabricator.services.mozilla.com/D196653
2024-02-21 19:33:45 +00:00
Barret Rennie
47071a738f Bug 1869371 - Improve error messages when rejecting IOUtils promises early r=nika
Differential Revision: https://phabricator.services.mozilla.com/D196652
2024-02-21 19:33:44 +00:00
Barret Rennie
b7596666f5 Bug 1869371 - Improve error messages in IOUtils frontend r=nika
Differential Revision: https://phabricator.services.mozilla.com/D196651
2024-02-21 19:33:44 +00:00
Barret Rennie
ea9a97b2d0 Bug 1869371 - Make message mandatory for IOUtils::IOError r=nika
Differential Revision: https://phabricator.services.mozilla.com/D196650
2024-02-21 19:33:43 +00:00
Barret Rennie
a6cf318b15 Bug 1869371 - Replace MOZ_TRY in IOUtils with IOUTILS_TRY_WITH_CONTEXT r=nika
Using plain MOZ_TRY will result in a generic error message being used in
RejectJSPromise.

Differential Revision: https://phabricator.services.mozilla.com/D196649
2024-02-21 19:33:43 +00:00
calixte
ba0f3daba1 Bug 1865380 - Take into account the text nodes in a selection range when calling getClientRects r=emilio
Some text nodes can be selected whatever their ancestors bounding box are
so they must be taken into account when calling Range.getClientRects.

Differential Revision: https://phabricator.services.mozilla.com/D195484
2024-02-21 19:27:47 +00:00
Nick Alexander
381d510bed Bug 1867846 - Add mach msix repackage --unsigned. r=mhughes
This allows `Appx-AddPackage -Unsigned ...` on Windows 11.

Differential Revision: https://phabricator.services.mozilla.com/D196894
2024-02-21 19:09:35 +00:00
Steve Fink
98c1dfe7d6 Bug 1881175 - Fix invocation of mozcrash.py in autospider.py r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D202282
2024-02-21 19:02:53 +00:00
Steve Fink
b30a74e3d9 Bug 1881176 - Rename "inNursery" in string dump output to "charsInNursery" since otherwise it is confusing why it is not just !isTenured r=arai
Differential Revision: https://phabricator.services.mozilla.com/D202283
2024-02-21 19:02:12 +00:00
Mozilla Releng Treescript
4364b90156 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
br -> 35b72d25355844a7f8471d5cf6862697399a4e07
cy -> 1deb887256adf6a904b221dbef1bc82b23a8f222
dsb -> d18b910af0b96fd3ce634dceae7d1695bda71fb4
es-CL -> bece818378acaacaccdd370ca462abcdd64f9532
fy-NL -> 59294441d4006639fd15f18ef165a8180f8ec179
hsb -> bf34370d0cf6a4e5ffdda37da65a187d0a877826
ia -> 5feef73cbda62d246945c107d273402fdf4e6935
is -> 96241bf49726acd3c137d6871a592e2d8622eb1b
it -> ec6f00cd11d55d21512f6823dc4f7a42c81a316d
kk -> c93f312248afeaff0e70fb1b455cfdc598c96686
nl -> 0d154dc67ca09736c97651744fa033ab2ad8e6a1
nn-NO -> 7da781a8d4e2461eae5391371fb848ebc61931d2
ru -> 639d12df4b6935879dd18b30cc409882a376f201
tr -> 54d28e5f0fd3f3dd4f1f4cb58911877e59b2a7de
uk -> cf171253c74f746d355d9b13c084a1b702ceeda9
2024-02-21 19:02:57 +00:00
Robin Steuber
2c6e66ffea Bug 1848414 - Update macOS test MARs to contain the new Frameworks r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198901
2024-02-21 18:50:37 +00:00
Robin Steuber
e5d0968a1d Bug 1848414 - Replace lookups of gTestFile entries with getTestFileByName r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198900
2024-02-21 18:50:36 +00:00
Robin Steuber
fc8d6c4652 Bug 1848414 - Change gTestFiles to accommodate the UpdateSettings and ChannelPrefs Frameworks r=nalexander,application-update-reviewers
Those files are now in a different location and one of them (UpdateSettings) will already exist rather than needing to be created.

A few other changes are also made here:
 - Currently, when we need to make changes to a gTestFiles entry, we access it by index, which is both unreadable (how is anyone supposed to know what gTestFiles[13] refers to?) and a maintenance nightmare (adding an item to the list in the wrong position potentially screws up all the indicies and now a bunch of the tests are making changes to the wrong gTestFiles entry). To improve this, I added `getTestFileByName` so that, for example, `gTestFiles[gTestFiles.length - 1]` can be replaced with `getTestFileByName(FILE_CHANNEL_PREFS)`.
 - Two extra (optional) properties added to gTestFiles entries: `existingFile` and `removeOriginalFile`. `existingFile == true` indicates that the file exists already and doesn't need to be created. `removeOriginalFile` is only relevant if `existingFile == true`, and it causes the file to be removed rather than retained. If `existingFile && !removeOriginalFile`, `compareContents` will be automatically set to the current file contents if it (and `compareFile`) is unset, as will `comparePerms` to ensure that the update process doesn't change the file.
 - `setUpdateSettingsUseWrongChannel` was added to make it easier to set the wrong update channel either via the INI file (on non-Mac) or via the Framework (on Mac).

Differential Revision: https://phabricator.services.mozilla.com/D198899
2024-02-21 18:50:36 +00:00
Robin Steuber
dbd6c96f18 Bug 1848414 - On update, don't overwrite existing ChannelPrefs or UpdateSettings Frameworks r=bhearsum,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D198898
2024-02-21 18:50:35 +00:00
Robin Steuber
67461fe283 Bug 1848414 - Add updater argument --channels-allowed r=nalexander,application-update-reviewers
Given that (a) it is no longer possible to easily inspect the Update Settings file and (b) it is intentionally possible to swap out Update Settings frameworks, I anticipate that in the future we may want a way to determine what channels the updater will accept. Thus, I think it is a good idea to add an easy way to make the updater output this information.

Differential Revision: https://phabricator.services.mozilla.com/D198897
2024-02-21 18:50:35 +00:00
Robin Steuber
018a47dd2d Bug 1848414 - Remove verifyChannelPrefsFile test r=nalexander,spohl,application-update-reviewers
This test is no longer necessary. It was needed to avoid breaking the signature on macOS apps, but now we are solving that problem another way (See Bugs 1799332 and 1854868).

Differential Revision: https://phabricator.services.mozilla.com/D196626
2024-02-21 18:50:35 +00:00
Robin Steuber
4068aa04f1 Bug 1848414 - Don't use update-settings.ini in tests on macOS r=nalexander,application-update-reviewers
Since this file is no longer used on macOS, the tests do not need to copy it into place.

Differential Revision: https://phabricator.services.mozilla.com/D198896
2024-02-21 18:50:34 +00:00
Robin Steuber
da3b1d43d3 Bug 1848414 - Add an UpdateSettings Framework that intentionally has the wrong channel for testing r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D198895
2024-02-21 18:50:34 +00:00
Stephen A Pohl
7214eb4809 Bug 1854868: Add an UpdateSettings Framework for xpcshell-tests. r=bytesized,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D197088
2024-02-21 18:50:33 +00:00
Stephen A Pohl
0f8cd54d85 Bug 1854868: Enable signing of UpdateSettings.framework. r=haik
Differential Revision: https://phabricator.services.mozilla.com/D189971
2024-02-21 18:50:33 +00:00
Stephen A Pohl
530dbf112d Bug 1854868: Remove the use of update-settings.ini on macOS and query the accepted MAR channels from the macOS Framework instead. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D189488
2024-02-21 18:50:32 +00:00
Stephen A Pohl
26ab0df735 Bug 1854868: Add a macOS Framework in preparation of replacing update-settings.ini. r=bytesized,mstange,glandium
Differential Revision: https://phabricator.services.mozilla.com/D189071
2024-02-21 18:50:32 +00:00
Stephen A Pohl
a07163b5d4 Bug 1799332: Enable signing of ChannelPrefs.framework. r=haik
Differential Revision: https://phabricator.services.mozilla.com/D189970
2024-02-21 18:50:32 +00:00
Stephen A Pohl
0344f6926a Bug 1799332: Add documentation for ChannelPrefs macOS Framework. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D186363
2024-02-21 18:50:31 +00:00
Stephen A Pohl
8fa68f6233 Bug 1799332: Update tests due to no longer bundling channel-prefs.js on macOS and locking the app.update.channel pref. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D186139
2024-02-21 18:50:31 +00:00
Stephen A Pohl
e755967a21 Bug 1799332: Add a macOS Framework to replace the use of channel-prefs.js on macOS. r=glandium,mstange,KrisWright,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D184711
2024-02-21 18:50:30 +00:00
Stephen A Pohl
be58cf7181 Bug 1799332: Stop bundling channel-prefs.js on macOS. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D185834
2024-02-21 18:50:30 +00:00