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

4074 Коммитов

Автор SHA1 Сообщение Дата
Andrew Osmond 9e9636787c Bug 1830950 - Block various anti-virus DLLs in GMP processes. r=gstoll
Similar to the utility process in bug 1826393, we are seeing
crashes in the plugin process due to certain anti-virus apps such
as Symantec. This causes us to fail to load the Widevine plugin
with ERROR_MOD_NOT_FOUND.

This patch adds support to add blocklist entries for the GMPlugin
process type, and mirrors the entries added for the utility
process. It also adds a test case to verify the blocklist
integration.

Differential Revision: https://phabricator.services.mozilla.com/D176942
2023-05-02 20:51:47 +00:00
Norisz Fay cfe93c002a Backed out changeset 82b9dcbe0f17 (bug 1830950) for causing build bustages CLOSED TREE 2023-05-02 22:50:59 +03:00
Andrew Osmond ba0d08b4b9 Bug 1830950 - Block various anti-virus DLLs in GMP processes. r=gstoll
Similar to the utility process in bug 1826393, we are seeing
crashes in the plugin process due to certain anti-virus apps such
as Symantec. This causes us to fail to load the Widevine plugin
with ERROR_MOD_NOT_FOUND.

This patch adds support to add blocklist entries for the GMPlugin
process type, and mirrors the entries added for the utility
process. It also adds a test case to verify the blocklist
integration.

Differential Revision: https://phabricator.services.mozilla.com/D176942
2023-05-02 19:31:01 +00:00
Tom Ritter 3b00c227c2 Bug 1829971: Remove the MinGW carveout for DynamicCodePolicy r=bobowen
Depends on D176730

Differential Revision: https://phabricator.services.mozilla.com/D176731
2023-05-02 17:08:08 +00:00
stransky e3d0b707b7 Bug 1830177 [Linux] Don't configure display connection and detect gfx cards for background tasks r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D176756
2023-05-02 07:43:03 +00:00
Noemi Erli 3288860e0f Backed out changeset 7c343aa2fe80 (bug 1818714) for causing marionette failures CLOSED TREE 2023-04-28 19:54:57 +03:00
Valentin Gosu 418bf22f37 Bug 1818714 - Remove cachePurge lock file after running BackgroundTask_removeDirectory r=necko-reviewers,saschanaz,jesup
Differential Revision: https://phabricator.services.mozilla.com/D176548
2023-04-28 15:30:49 +00:00
stransky f7b14d8b80 Bug 1830271 [Linux] Disable logging for vaapi test by default r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D176638
2023-04-27 11:39:36 +00:00
stransky c9a9883e77 Bug 1829303 [Wayland] Remove thread specific wayland display objects r=emilio
- Remove nsWaylandDisplay thread specific objects as we don't need them.
- Use nsWaylandDisplay as non-referenced objects. There's only a global one.
- Create nsWaylandDisplay global object in nsAppRunner when Firefox starts. That ensures we create it in main thread.
- Remove mEventQueue, we don't need it.
- Remove mSyncCallback, it's unused.

Differential Revision: https://phabricator.services.mozilla.com/D176125
2023-04-26 20:57:17 +00:00
stransky ef7e9adfcf Bug 1829461 [Linux] glxtest/vaapi test: use pid 0 for missing (waiting) test results and pid < 0 for finished test r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D176456
2023-04-26 09:25:52 +00:00
Mike Hommey c21ea0b35b Bug 1829780 - Adjust our OOM hook to the new API from rustc 1.71. r=emilio
The new API landed in https://github.com/rust-lang/rust/pull/109507

Differential Revision: https://phabricator.services.mozilla.com/D176383
2023-04-25 22:18:52 +00:00
Greg Stoll 23fd9f7259 Bug 1829382 - use binary search in mozglue blocklist r=handyman
Someday I would like to figure out why this blocklist only works on ASCII strings and the freestanding one works on wide strings, but I'll leave that for another time I guess. This gets us closer to unifying the logic between the two blocklists, which is nice.

I ran the TestDllBlocklist* gtests locally while using the mozglue blocklist and the ones that are expected to pass do indeed pass.

Differential Revision: https://phabricator.services.mozilla.com/D176444
2023-04-25 19:08:24 +00:00
Alexandre Lissy 6d3d76ebaf Bug 1826393 - Block kwsui64.dll/ks3rdhmpg.dll/ipseng32.dll/ipseng64.dll r=gstoll
Differential Revision: https://phabricator.services.mozilla.com/D176415
2023-04-25 14:42:14 +00:00
Cristina Horotan 91e7aee4b8 Backed out 6 changesets (bug 1829303, bug 1828071) for causing causing Linux crashes (bug 1829462) a=backout
Backed out changeset 90256c29ed1f (bug 1829303)
Backed out changeset 9c6ea77a90eb (bug 1828071)
Backed out changeset b71c46d9b101 (bug 1828071)
Backed out changeset c333d6127dfe (bug 1828071)
Backed out changeset c2c5841b88e0 (bug 1828071)
Backed out changeset 0b2180c4f9a5 (bug 1828071)
2023-04-24 12:50:04 +03:00
stransky 750fef2e7a Bug 1829282 [Linux] Export IsWaylandEnabled() on X11 builds r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D176117
2023-04-22 06:11:41 +00:00
stransky 3aefdbee32 Bug 1829303 [Wayland] Remove thread specific wayland display objects r=emilio
- Remove nsWaylandDisplay thread specific objects as we don't need them.
- Use nsWaylandDisplay as non-referenced objects. There's only a global one.
- Create nsWaylandDisplay global object in nsAppRunner when Firefox starts. That ensures we create it in main thread.
- Remove mEventQueue, we don't need it.
- Remove mSyncCallback, it's unused.

Differential Revision: https://phabricator.services.mozilla.com/D176125
2023-04-22 06:08:08 +00:00
Greg Stoll 68a7a843d8 Bug 1828143 - allow multiple blocklist entries for the same DLL name r=handyman
I did a little bit of refactoring in the mozglue blocklist to make this change cleaner.

The [existing gtests/cppunittests pass](https://treeherder.mozilla.org/jobs?repo=try&revision=a2a946b3d4773d93b90b32eb80308460061458a7), and I also ran the TestDllBlocklist* gtests against the mozglue blocklist by messing with registry entries to disable the launcher process. These tests pass, except for the few that always fail. (for example, TestDllBlocklist_UserBlocked)

Differential Revision: https://phabricator.services.mozilla.com/D175575
2023-04-21 18:35:42 +00:00
stransky 1551b41014 Bug 1828192 [Linux] Remove c style hacks to run glxtest and use FireTestProcess() for it r=emilio
- Migrate glxtest pid and pipe fd variables to static members of GfxInfo on Linux
- Implement GfxInfo::FireGLXTestProcess() to run glxtest process.

Differential Revision: https://phabricator.services.mozilla.com/D175867
2023-04-20 08:54:17 +00:00
stransky 2f37fa4403 Bug 1828192 [Linux] Implement GfxInfo::FireTestProcess() and use it to run VA-API testing r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D175866
2023-04-20 08:54:17 +00:00
stransky a5e4c73f87 Bug 1828192 [Linux] Make glxtest to use GfxInfoUtils.h routines r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D175806
2023-04-20 08:54:16 +00:00
stransky cf9a470f8c Bug 1828907 [Linux] Make IsWaylandEnabled() at nsAppRunner static init r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D175887
2023-04-19 12:55:31 +00:00
serge-sans-paille 12709bfdc8 Bug 1826757 - Make toolkit/xre/dllservices buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D174882
2023-04-18 09:42:15 +00:00
stransky f1a81da93a Bug 1828315 [Linux] Link glxtest with gtk for MOZ_WAYLAND builds r=heftig
Differential Revision: https://phabricator.services.mozilla.com/D175709
2023-04-18 07:07:39 +00:00
Peter Van der Beken 635046af85 Bug 1804140 - Enable SHIP by default on desktop, whether or not Fission is disabled. r=smaug,jgraham,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D172278
2023-04-18 07:07:05 +00:00
Andi-Bogdan Postelnicu bf2bb59367 Bug 1277372 - Move away from "mozilla/TypeTraits.h". r=geckoview-reviewers,sergesanspaille,m_kato
std::is_pod has been deprecated in C++20, see https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0767r1.html.
This is equivalent with std::is_trivial_v && std::is_standard_layout.

Differential Revision: https://phabricator.services.mozilla.com/D174128
2023-04-17 13:50:11 +00:00
Stanca Serban cefd926755 Backed out 9 changesets (bug 1826760, bug 1826758, bug 1826752, bug 1826756, bug 1826759, bug 1826761, bug 1826757, bug 1826753, bug 1826754) for causing bp-hybrid bustages in ClearKeyDecryptionManager.cpp.
CLOSED TREE

Backed out changeset 210012222277 (bug 1826761)
Backed out changeset e364bb149efa (bug 1826760)
Backed out changeset e456e2f9966c (bug 1826759)
Backed out changeset 2b6ff545f4a3 (bug 1826758)
Backed out changeset 95fe1de8ba00 (bug 1826757)
Backed out changeset f8af52d7f2a1 (bug 1826756)
Backed out changeset 2646e773f098 (bug 1826754)
Backed out changeset 58d5d74b1835 (bug 1826753)
Backed out changeset 8567e6595acc (bug 1826752)
2023-04-17 13:52:39 +03:00
serge-sans-paille e8d6edae08 Bug 1826757 - Make toolkit/xre/dllservices buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D174882
2023-04-17 10:11:56 +00:00
Cosmin Sabou 60f701f2e5 Backed out 2 changesets (bug 1804140) for causing webdriver failures. CLOSED TREE
Backed out changeset 974558fd2790 (bug 1804140)
Backed out changeset dbe9d2f66fcc (bug 1804140)
2023-04-14 13:28:44 +03:00
Peter Van der Beken e0b98d564b Bug 1804140 - Enable SHIP by default on desktop, whether or not Fission is disabled. r=smaug,jgraham,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D172278
2023-04-14 08:09:50 +00:00
Alexandre Lissy 372731218d Bug 1826392 - Block GoogleDesktopNetwork3.dll from Utility r=gstoll
Differential Revision: https://phabricator.services.mozilla.com/D175380
2023-04-13 16:49:51 +00:00
stransky f3b280ff2e Bug 1787182 [Linux] Add logging to glxtest under MOZ_GFX_DEBUG env variable r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D175235
2023-04-13 09:49:58 +00:00
stransky 926b5a2a45 Bug 1787182 [Linux] Use pipe instead of stdout to get data from glxtest r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D174995
2023-04-13 09:49:58 +00:00
stransky a46255fb5e Bug 1787182 [Linux] Implement glxtest test as binary r=emilio
glxtest is run later when Firefox already spawns threads. Recently glxtest runs in forked process
which doesn't work correctly in multi-thread environment, so we need to move glxtest to different binary file
and launch it as stand alone code.

Differential Revision: https://phabricator.services.mozilla.com/D173486
2023-04-13 09:49:57 +00:00
stransky ed88c2220e Bug 1787182 [Linux] Remove VA-API test from glxtest r=emilio
We should not run VA-API testing as part of OpenGL test as we want to test VA-API on supported hardware only.

Differential Revision: https://phabricator.services.mozilla.com/D171993
2023-04-13 09:49:56 +00:00
stransky 5a6321c547 Bug 1787182 [Linux] Don't fire glxtest process unless we know we really want to run r=emilio
Right now we fire glxtest on every Firefox start, even if we going to update, restart or ping running remote instance.
When we're running on system with broken/unstable gfx drivers (drivers/glx freezes or crashes) every such action is delayed or coredumps are generated on systems.

In this patch we launch glx test proces later if we know we need it.

Depends on D168650

Differential Revision: https://phabricator.services.mozilla.com/D168651
2023-04-13 09:49:56 +00:00
Alexandre Lissy 1129bf7f3b Bug 1826784 - Collect Third-Party Modules informations for Utility processes r=gstoll
Differential Revision: https://phabricator.services.mozilla.com/D174898
2023-04-07 15:25:53 +00:00
Narcis Beleuzu 1615701d47 Backed out 5 changesets (bug 1787182) for bustages on vaapitest.cpp . CLOSED TREE
Backed out changeset f40c90d3ed12 (bug 1787182)
Backed out changeset 0771c006513a (bug 1787182)
Backed out changeset 21e692c2f871 (bug 1787182)
Backed out changeset e084be47c307 (bug 1787182)
Backed out changeset 6a1b9e363c54 (bug 1787182)
2023-04-07 18:11:21 +03:00
Narcis Beleuzu e5ef3e4744 Backed out changeset 0655ae1a589e (bug 1826784) for bustages on UtilityProcessHost.cpp 2023-04-07 18:00:30 +03:00
Alexandre Lissy 6a37f1886a Bug 1826784 - Collect Third-Party Modules informations for Utility processes r=gstoll
Differential Revision: https://phabricator.services.mozilla.com/D174898
2023-04-07 14:16:21 +00:00
stransky b9d3c8c94e Bug 1787182 [Linux] Implement glxtest test as binary r=emilio
glxtest is run later when Firefox already spawns threads. Recently glxtest runs in forked process
which doesn't work correctly in multi-thread environment, so we need to move glxtest to different binary file
and launch it as stand alone code.

Differential Revision: https://phabricator.services.mozilla.com/D173486
2023-04-07 11:51:54 +00:00
stransky d84d8a1276 Bug 1787182 [Linux] Remove VA-API test from glxtest r=emilio
We should not run VA-API testing as part of OpenGL test as we want to test VA-API on supported hardware only.

Differential Revision: https://phabricator.services.mozilla.com/D171993
2023-04-07 11:51:53 +00:00
stransky 4f6172066b Bug 1787182 [Linux] Don't fire glxtest process unless we know we really want to run r=emilio
Right now we fire glxtest on every Firefox start, even if we going to update, restart or ping running remote instance.
When we're running on system with broken/unstable gfx drivers (drivers/glx freezes or crashes) every such action is delayed or coredumps are generated on systems.

In this patch we launch glx test proces later if we know we need it.

Depends on D168650

Differential Revision: https://phabricator.services.mozilla.com/D168651
2023-04-07 11:51:52 +00:00
Greg Stoll 6bb6a718dc Bug 1540883 - block a few problematic DLLs r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D174502
2023-04-05 12:58:21 +00:00
Norisz Fay 3d82e172c0 Backed out 5 changesets (bug 1787182) for causing bustage on glxtest.cpp and xpcshell failure on test_gfxBlacklist_Device.js
Backed out changeset 74758d7ccf41 (bug 1787182)
Backed out changeset 6267b0d60a1f (bug 1787182)
Backed out changeset 0fe756b5d74d (bug 1787182)
Backed out changeset e9a220ba6f47 (bug 1787182)
Backed out changeset be1774f1cceb (bug 1787182)
2023-04-05 11:34:32 +03:00
stransky 21ea86344c Bug 1787182 [Linux] Implement glxtest test as binary r=emilio
glxtest is run later when Firefox already spawns threads. Recently glxtest runs in forked process
which doesn't work correctly in multi-thread environment, so we need to move glxtest to different binary file
and launch it as stand alone code.

Differential Revision: https://phabricator.services.mozilla.com/D173486
2023-04-05 06:14:14 +00:00
stransky b63e5fa851 Bug 1787182 [Linux] Remove VA-API test from glxtest r=emilio
We should not run VA-API testing as part of OpenGL test as we want to test VA-API on supported hardware only.

Differential Revision: https://phabricator.services.mozilla.com/D171993
2023-04-05 06:14:13 +00:00
stransky 2ac8f2e73d Bug 1787182 [Linux] Don't fire glxtest process unless we know we really want to run r=emilio
Right now we fire glxtest on every Firefox start, even if we going to update, restart or ping running remote instance.
When we're running on system with broken/unstable gfx drivers (drivers/glx freezes or crashes) every such action is delayed or coredumps are generated on systems.

In this patch we launch glx test proces later if we know we need it.

Depends on D168650

Differential Revision: https://phabricator.services.mozilla.com/D168651
2023-04-05 06:14:13 +00:00
serge-sans-paille aac9b6471d Bug 1826045 - Make toolkit/xre buildable outside of a unified build environment r=andi
Depends on D174362

Differential Revision: https://phabricator.services.mozilla.com/D174432
2023-04-03 20:39:57 +00:00
serge-sans-paille b9b794ec24 Bug 1826073 - Make toolkit/xre/dllservices/mozglue buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D174459
2023-04-03 20:39:13 +00:00
Yannis Juglaret 4e9b01708d Bug 1826093 - Remove gtest TestDllBlocklist.SingleNotification if ASAN or ARM. r=gstoll
This test requires that we hook LdrLoadDll, which does not happen if
ASAN or ARM.

Differential Revision: https://phabricator.services.mozilla.com/D174475
2023-04-03 14:37:01 +00:00