gecko-dev/browser/components/shell
Nicholas Rishel c66a319ced Bug 1917674 - Part 2: Ensure shell service native interface members are present on `ShellService`. r=nalexander
A quirk of the JavaScript implementation of XPCOM's QueryInterface is that it loads the interface's functions onto the queried object. For Services like `ShellService` this creates situations where the interface can be initialized at a distance, causing races depending on how Firefox is run - e.g. Desktop vs Background Task. To ensure consistent behavior this patch forces `ShellService` initialization of the native interface so that the native functions are always present.

To accomplish this, `nsIWindowsShellService` has been modified to inherit from `nsIShellService` to match other platforms and ensure that querying it also loads the `nsIShellService` members into `shellService`.

Differential Revision: https://phabricator.services.mozilla.com/D222154
2024-09-13 17:38:50 +00:00
..
content Bug 1864896: Autofix unused function arguments (browser). r=webcompat-reviewers,mconley,fxview-reviewers,desktop-theme-reviewers,omc-reviewers,migration-reviewers,twisniewski,aminomancer,dao,sclements,firefox-desktop-core-reviewers 2024-03-19 09:36:35 +00:00
search-provider-files Bug 1907512 - Remove duplicated desktop files r=stransky 2024-08-08 20:48:01 +00:00
test Bug 1917158 - move some skip-if -> run-if for browser/components/**/browser.toml. r=sessionstore-reviewers,tabbrowser-reviewers,urlbar-reviewers,dao 2024-09-06 10:08:18 +00:00
HeadlessShell.sys.mjs Bug 1864896: Autofix unused function arguments (browser). r=webcompat-reviewers,mconley,fxview-reviewers,desktop-theme-reviewers,omc-reviewers,migration-reviewers,twisniewski,aminomancer,dao,sclements,firefox-desktop-core-reviewers 2024-03-19 09:36:35 +00:00
ScreenshotChild.sys.mjs
ShellService.sys.mjs Bug 1917674 - Part 2: Ensure shell service native interface members are present on `ShellService`. r=nalexander 2024-09-13 17:38:50 +00:00
Windows11LimitedAccessFeatures.cpp Bug 1794159 - Part 2: Add LAF unlocking and check for pinning status using new APIs r=nalexander,nrishel 2024-08-12 17:05:47 +00:00
Windows11LimitedAccessFeatures.h Bug 1794159 - Part 2: Add LAF unlocking and check for pinning status using new APIs r=nalexander,nrishel 2024-08-12 17:05:47 +00:00
Windows11TaskbarPinning.cpp Bug 1912790 - Prevent Windows pinning notification from being shown twice r=nrishel 2024-08-26 20:34:57 +00:00
Windows11TaskbarPinning.h Bug 1794159 - Part 3: Enable MSIX pinning in nsWindowsShellService r=nrishel,nalexander,firefox-desktop-core-reviewers 2024-08-12 17:05:48 +00:00
WindowsDefaultBrowser.cpp Bug 1852806 - Remove macros for older Windows SDK from browser/components/shell/. r=nalexander 2023-09-15 03:19:26 +00:00
WindowsDefaultBrowser.h
WindowsUserChoice.cpp Bug 1882413 - Part 3: Modify powershell set default to more accurately mirror the Win32 API set default implementation. r=nalexander,mhughes 2024-03-01 23:36:55 +00:00
WindowsUserChoice.h Bug 1882413 - Part 3: Modify powershell set default to more accurately mirror the Win32 API set default implementation. r=nalexander,mhughes 2024-03-01 23:36:55 +00:00
jar.mn
moz.build Bug 1894865 - Concat `nsString`s to avoid issues converting wide characters to char and back again. r=bytesized 2024-05-21 02:37:10 +00:00
nsGNOMEShellDBusHelper.cpp Bug 1917515 [Linux] Check remote command line params before use r=emilio 2024-09-12 12:17:06 +00:00
nsGNOMEShellDBusHelper.h Bug 1854450 [Linux] Migrate GNOMEShellDBusHelper from dbus messages composition to GVariant r=emilio 2023-10-02 11:35:26 +00:00
nsGNOMEShellSearchProvider.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
nsGNOMEShellSearchProvider.h Bug 1917515 [Linux] Check remote command line params before use r=emilio 2024-09-12 12:17:06 +00:00
nsGNOMEShellService.cpp Bug 1845057 - Remove aClaimAllTypes from setDefaultBrowser. r=nrishel,settings-reviewers 2023-10-02 16:56:42 +00:00
nsGNOMEShellService.h
nsIGNOMEShellService.idl
nsIMacShellService.idl Bug 1867080 - Implemented macOS functionality to find all other installed applications which support a protocol r=mhughes 2023-12-05 05:38:34 +00:00
nsIShellService.idl Bug 1845057 - Remove aClaimAllTypes from setDefaultBrowser. r=nrishel,settings-reviewers 2023-10-02 16:56:42 +00:00
nsIWindowsShellService.idl Bug 1917674 - Part 2: Ensure shell service native interface members are present on `ShellService`. r=nalexander 2024-09-13 17:38:50 +00:00
nsMacShellService.cpp Bug 1867080 - Implemented macOS functionality to find all other installed applications which support a protocol r=mhughes 2023-12-05 05:38:34 +00:00
nsMacShellService.h Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
nsShellService.h
nsToolkitShellService.h
nsWindowsShellService.cpp Bug 1794159 - Part 3: Enable MSIX pinning in nsWindowsShellService r=nrishel,nalexander,firefox-desktop-core-reviewers 2024-08-12 17:05:48 +00:00
nsWindowsShellService.h Bug 1917674 - Part 2: Ensure shell service native interface members are present on `ShellService`. r=nalexander 2024-09-13 17:38:50 +00:00
nsWindowsShellServiceInternal.h Bug 1894865 - Concat `nsString`s to avoid issues converting wide characters to char and back again. r=bytesized 2024-05-21 02:37:10 +00:00