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

860908 Коммитов

Автор SHA1 Сообщение Дата
Florian Quèze 05da6265d9 Bug 1860896 - Make mozharness use mozsystemmonitor from the tree rather than from pip, r=releng-reviewers,gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D191790
2023-10-26 21:06:34 +00:00
Florian Quèze c34ee708ff Bug 1860896 - make SystemResourceMonitor methods used to record markers static, r=ahal,glandium.
Differential Revision: https://phabricator.services.mozilla.com/D191789
2023-10-26 21:06:33 +00:00
Florian Quèze c1b98295b6 Bug 1860894 - record when the resource monitor was started and stopped, r=glandium.
Differential Revision: https://phabricator.services.mozilla.com/D191788
2023-10-26 21:06:33 +00:00
Florian Quèze af4c80b2f6 Bug 1860896 - Output events recorded with SystemResourceMonitor.record_event as instant markers in profiles, r=glandium.
Differential Revision: https://phabricator.services.mozilla.com/D191787
2023-10-26 21:06:32 +00:00
Florian Quèze b582f5e97c Bug 1860100 - Make the minimum time between two samples of SystemResourceMonitor half the sampling interval, r=jcristau.
Differential Revision: https://phabricator.services.mozilla.com/D191464
2023-10-26 21:06:32 +00:00
Narcis Beleuzu 454b002486 Backed out changeset 0b9fa7430923 (bug 1847726) for mochitest failure on test_youtube_flash_embed.html . CLOSED TREE 2023-10-27 00:30:28 +03:00
Narcis Beleuzu 491bb648e7 Backed out changeset a1dbe7d20995 (bug 1666084) for GTest failure on MPRISServiceHandler.cpp . CLOSED TREE 2023-10-27 00:16:14 +03:00
Gregory Pappas dc882a5060 Bug 1847726 - Stop rewriting YouTube flash embeds in Nightly r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D191931
2023-10-26 20:46:14 +00:00
Joel Maher beda4eb89e Bug 1860650 - Add confirm failure tasks to taskgraph and optimize them out. r=ahal,marco,taskgraph-reviewers,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D191685
2023-10-26 20:37:22 +00:00
Mike Hommey ac55867690 Bug 1857687 - Disable thread safety analysis on a few problematic functions. r=nika,necko-reviewers,valentin
The functions return a reference to a value that is normally protected
by a lock in an unlocked manner, but they do so on purpose.

One of them can be annotated with the lock that is being held when it's
called, though, so we do that.

Differential Revision: https://phabricator.services.mozilla.com/D191707
2023-10-26 20:13:22 +00:00
Katherine Patenio d9a5545618 Bug 1855970 - Add test for review quality explainer link glean event r=perry.mcmanis
Differential Revision: https://phabricator.services.mozilla.com/D192006
2023-10-26 20:04:09 +00:00
Michael Froman 1c1dcc9c78 Bug 1861498 - change line endings to Unix(LF) in third_party/libwebrtc/tools/grit/grit/testdata/GoogleDesktop.adm r=dbaker,webrtc-reviewers
This fixes an issue where the restore/save patch-stack scripts change the Windows(CRLF)
line endings to Linux(LF).  The change causes a failure in verify_vendoring.sh.

Differential Revision: https://phabricator.services.mozilla.com/D192010
2023-10-26 19:58:35 +00:00
Alexandre Poirot 241f15a1f6 Bug 1849998 - [devtools] Unify the codebase to interpret location's column to be 0-based. r=devtools-reviewers,nchevobbe
There was some inconsistancies in column interpretation.
Some code was assuming it was 1-based.
This patch aligns the debugger frontend with spidermonkey assumptions.
Spidermonkey and the debugger frontend both assume that:
* line is 1-based
* column is 0-based

Note that tests are still passing 1-based column as this feels more natural.

Note that CodeMirror consider both line and column to be 0-based.

Removed `toEditorRange` as that's only used by jest test.

Differential Revision: https://phabricator.services.mozilla.com/D187571
2023-10-26 19:57:11 +00:00
Alexandre Lissy c1897abd04 Bug 1666084 - Build MPRIS name with DBus unique name r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D191858
2023-10-26 19:20:28 +00:00
Mozilla Releng Treescript 21a219fdbe no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cy -> 6d6e43ed0b027727988ee45f5a97ec8455ac72b0
da -> f7ec6aa04b2be76a70e87d7f72ee31561600e1a9
es-CL -> ff2b76625250103365832ad64ab97254ccef8ab4
fr -> 73dba2a5ab0ccc3379f1c33871ea18623e92ef7e
gn -> 7cb2575a39cb2e44c1bcc1b9abf4c8227f97ea13
is -> 00c51ae66e84149e4bb0cc6e9f1f7ba5887bb245
ka -> f18521f4d8b4bc986026ea37ba3404f845f9c052
lv -> 5909e52cd13ec891fc10945831c8ddbfc457d620
si -> 9c48d4b58333645f875f8e965a7f42984d27ced1
zh-CN -> fdc961a0a739b33fb8a0d44628ccb47d13e2a48c
2023-10-26 19:00:51 +00:00
Ray Kraesig 9ce2a860d0 Bug 1837079 - [10/10] WinFileDialog: log HRESULT of failed Win32 calls r=ipc-reviewers,nika,win-reviewers,mhowell
Add a new telemetry item, `WindowsFileDialogErrorCode`, which will be
included along with the failure reason for any file-dialog-specific
IPC failure crashes from the Windows file dialog utility process.

Differential Revision: https://phabricator.services.mozilla.com/D187417
2023-10-26 18:21:30 +00:00
Ray Kraesig b30ef50e6e Bug 1837079 - [9/10] WinFileDialog: add ProcessingError() implementations r=ipc-reviewers,nika,win-reviewers,mhowell
Implement `ProcessingError` in `WinFileDialog{Parent,Child}` to report
errors in logging -- and, in the child process, report them via
telemetry and crash.

Differential Revision: https://phabricator.services.mozilla.com/D180344
2023-10-26 18:21:30 +00:00
Ray Kraesig 371b0d83fc Bug 1837079 - [8/10] Implement file-dialog utility-process-crash tests r=handyman,ipc-reviewers,mstange,gerard-majax,nika,profiler-reviewers,julienw
Implement a mochitest confirming the stability of Firefox when the
file-picker crashes (patterned loosely off the existing geolocation
crash tests).

Differential Revision: https://phabricator.services.mozilla.com/D184723
2023-10-26 18:21:30 +00:00
Ray Kraesig 12fc5c8e26 Bug 1837079 - [7.5/10] - Restore window-enable state on conclusion of ShowRemote() r=win-reviewers,mhowell
An undocumented side-effect of IFileDialog::Show() is that the top-level
window which is the ancestor of the file-dialog's owner window is
disabled when the dialog is shown, and reenabled when the dialog is
dismissed.

However, if the external process containing the file-dialog crashes, the
latter action will never be taken -- we're left with an unresponsive
window. In this case, reenable it manually.

Depends on D180343

Differential Revision: https://phabricator.services.mozilla.com/D190733
2023-10-26 18:21:29 +00:00
Ray Kraesig e2771bde2c Bug 1837079 - [7/10] Open Windows file picker out-of-process r=gstoll,handyman,ipc-reviewers,nika,win-reviewers,mhowell
When opening a new Windows file dialog, open it out-of-process if
possible. Fall back to opening it in-process if that fails. (This
behavior is configurable with a pref.)

Differential Revision: https://phabricator.services.mozilla.com/D180343
2023-10-26 18:21:29 +00:00
Ray Kraesig 3c94ba2a4e Bug 1837079 - [6/10] Properly destroy actors and utility processes r=ipc-reviewers,nika
The IPC subsystem effectively owns IPC actors, and requires an explicit
call to `Close()` to destroy a toplevel actor: releasing the last RefPtr
doesn't cut it. Similarly, the UtilityProcessManager owns the utility
processes it creates, and one must explicitly call `DestroyProcess()`.

Handle both of these lifetime issues by using a custom meta-RefPtr for
WinFileDialogParent which will close the actor and kill the process upon
its final `Release()`.

Differential Revision: https://phabricator.services.mozilla.com/D180345
2023-10-26 18:21:28 +00:00
Ray Kraesig 6c2facfc0c Bug 1837079 - [5/10] Create WinFileDialog IPDL protocol and implementation r=gstoll,handyman,ipc-reviewers,nika,win-reviewers,mhowell
Create and implement a new top-level IPC protocol, `PWinFileDialog`,
using the primitives from bug 1833450 and the new sandboxing type from
the previous commit.

Again, this commit does not actually create any instances of the new
protocol; that will come in a later commit in this patchset.

Differential Revision: https://phabricator.services.mozilla.com/D180342
2023-10-26 18:21:28 +00:00
Ray Kraesig 8cd437b72d Bug 1837079 - [4/10] Create WINDOWS_FILE_DIALOG utility process type r=gerard-majax,ipc-reviewers,fluent-reviewers,bobowen,handyman,nika
Create a new utility-process type for the sole use of out-of-process
instantiation of the Windows file dialog.

We do not sandbox this process type, as in certain test environments
sandboxing has been found to prevent the child process from interacting
with any other windows on the desktop -- including the parent process
window which it will need to assign as the parent of the file dialog.

Technically, no functional changes, as this commit adds no uses of this
type. (That will come later in the patchset.)

Differential Revision: https://phabricator.services.mozilla.com/D180341
2023-10-26 18:21:28 +00:00
Ray Kraesig c5c346391a Bug 1837079 - [3/10] Refactor Windows nsFilePicker dialog creation r=gstoll,handyman,win-reviewers,mhowell
Extract the creation of Windows file dialogs into a separate function,
as preparation for (sometimes) performing that remotely (that is, out-
of-process).

No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D180340
2023-10-26 18:21:27 +00:00
Ray Kraesig f72bfe06f7 Bug 1837079 - [2/10] Use HRESULT rather than nsresult for nsFilePickerCommands r=gstoll,win-reviewers,mhowell
`nsresult` was expected to be easier to use, but this turned out not to
be the case in practice.

No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D180339
2023-10-26 18:21:27 +00:00
Ray Kraesig 6b5f456099 Bug 1837079 - [1/10] Cleanup: fix up GetShellItemPath r=handyman
Replace use of MakeScopeExit with reexisting UniquePtr deleter.

Followup from bug 1833450. No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D180338
2023-10-26 18:21:26 +00:00
Amy Churchwell 33922b4cf4 Bug 1861179 - update letter grade component colors. r=shopping-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D191883
2023-10-26 18:18:47 +00:00
Greg Mierzwinski 20611798b5 Bug 1860189 - Handle virtualenv paths correctly when installing requirements. r=aglavic,perftest-reviewers
This patch adds some code to handle when the virtualenv lib path changes between the different platforms. In this case, the change makes it possible to use mochitest-mozperftest on winows machines in CI. It also adds some additional artifacts that the windows tests need to pull.

Differential Revision: https://phabricator.services.mozilla.com/D191741
2023-10-26 17:57:11 +00:00
Otto Länd 9aeac6c3f7 Bug 1857488: apply code formatting via Lando
# ignore-this-changeset
2023-10-26 17:51:53 +00:00
Tom Schuster 8a1a37e712 Bug 1857488 - Set RTPCallerType when creating the global/realm in the browser. r=smaug,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190677
2023-10-26 17:49:01 +00:00
Tom Schuster 5ef6bee795 Bug 1857488 - Add the RTPCallerType to JS realms. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D190676
2023-10-26 17:49:00 +00:00
Katherine Patenio f6676f428f Bug 1856937 - write a test for 'powered by Fakespot' link Glean event r=perry.mcmanis
Differential Revision: https://phabricator.services.mozilla.com/D191802
2023-10-26 17:43:35 +00:00
Daniel Holbert aec74c3a0c Bug 1861332: Add a body element to crashtest 1747514.html so that its `document.body.appendChild` invocation can succeed instead of throwing a JS TypeError. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D191929
2023-10-26 16:55:41 +00:00
seb 6a9c6e99fa Bug 1107433 - macOS: Add fallback menu bar for early startup modals. r=mac-reviewers,spohl
This adds a native fallback menu for early startup modals (e.g.
ProfileManager/ProfileDowngrade) which consists of a "Quit" menu item only,
allowing users to quit the app in a regular way (cmd+Q).

According to the bug report the "Quit" menu item used to exist but caused a
crash. With this patch crash doesn't repro anymore.

Differential Revision: https://phabricator.services.mozilla.com/D191525
2023-10-26 16:55:11 +00:00
Narcis Beleuzu 588d34c58b Merge mozilla-central to autoland on a CLOSED TREE 2023-10-26 20:29:54 +03:00
Narcis Beleuzu 5487681454 Backed out changeset 3218ee83dace (bug 1557848) for breaking "./mach try fuzzy" . a=backout 2023-10-26 20:25:08 +03:00
Cosmin Sabou 0b4ba494a5 Backed out changeset b15df48e816b (bug 1858858) for causing l10n related browser-chrome crashes. CLOSED TREE 2023-10-26 19:25:50 +03:00
Geoff Brown 82ac3c8b01 Bug 1860671 - Use subprocess instead of mozprocess in mozlint r=hneiva
Reduce reliance on mozprocess ProcessHandler, which is poorly maintained.

Differential Revision: https://phabricator.services.mozilla.com/D191695
2023-10-26 16:09:13 +00:00
Nicolas Chevobbe 8ec3d3669c Bug 1861031 - [devtools] Handle InspectorUtils.getBlockLineCounts returning null. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D191862
2023-10-26 16:01:58 +00:00
Joel Maher 160f383369 Bug 1859548 - filter wpt tests on tag to support webgpu and canvas tests. r=ahal,taskgraph-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D191706
2023-10-26 15:54:42 +00:00
Eemeli Aro 611f5a1996 Bug 1858858 - Handle data-l10n-id updates for <panelview> title. r=anti-tracking-reviewers,bvandersloot
The `<panelview>` data-l10n-id is often set immediately before rendering the subview. If the subview has previously been rendered, its title may be obsolete, and so the value needs to be checked directly -- the later l10n DOM update won't be caught by the panelview, and in any case we want the header to be set correctly before we show it.

Differential Revision: https://phabricator.services.mozilla.com/D190920
2023-10-26 15:35:28 +00:00
Rob Lemley de7159df13 Bug 1860173 - Add comm-release as a RELEASE_PROJECT to taskgraph. r=taskgraph-reviewers,releng-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D191496
2023-10-26 15:31:47 +00:00
ffxbld 8e3b37de9a No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D191952
2023-10-26 15:28:55 +00:00
Yury Delendik 85d586fd46 Bug 1861406 - Update spec tests. r=bvisness
Differential Revision: https://phabricator.services.mozilla.com/D191975
2023-10-26 14:30:58 +00:00
Benjamin VanderSloot ae1d974be7 Bug 1858143 - "has storage access" should only persist during navigations that do not change the iframe's window origin - r=anti-tracking-reviewers,smaug,pbz
Minor correction from https://phabricator.services.mozilla.com/D184821.
The definition of "same-origin" used in that patch was that the iframe's origin after navigation is the same as the triggering principal.
This was incorrect.
Instead, the origin of the iframe before navigation should be the same as after navigation, which is the frame's document principal at the time this is called.

Also, I found places where I missed adding the new fields to the loadinfo: LocationBase and nsFrameLoader.
And I added the redirect tainting check and a missing nullcheck before calling SetTriggeringWindowId in nsDocShell.

Differential Revision: https://phabricator.services.mozilla.com/D190577
2023-10-26 14:24:14 +00:00
Tooru Fujisawa a61ba912fd Bug 1853881 - Part 2: Assert the stack margin is sufficient. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D191906
2023-10-26 14:10:55 +00:00
Tooru Fujisawa 62e38eaac8 Bug 1853881 - Part 1: Add JS::ThreadStackQuotaForSize and use it everywhere. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D191905
2023-10-26 14:10:55 +00:00
Sean Feng c51359e1e6 Bug 1856109 - Allow <dialog> to move back to previously focused element even if they are in different BC r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D190957
2023-10-26 13:48:11 +00:00
Mark Banner 26f3c6dd64 Bug 1860890 - Remove unused manifest parameter from AddonSearchEngine.update(). r=search-reviewers,mcheang
Differential Revision: https://phabricator.services.mozilla.com/D191785
2023-10-26 13:37:22 +00:00
Cosmin Sabou ddb2817ef7 Bug 1859716 - Disable calc-complex-sign-function-crash.html on asan for permafailures. a=test-only 2023-10-26 16:37:36 +03:00