gecko-dev/browser/components/shell
Ben Hearsum 85ca3c1116 Bug 1785814: The "os.environment.is_taskbar_pinned_private" scalar is set to "false" even if the "Pin Private Window" shortcut is pinned to the taskbar r=bytesized
In an ideal world we'd pass in the `privateBrowsing` flag and use that to both find the correct AUMID and binary to compare against, but because this code runs off main thread, and finding AUMIDs requires prefs access - we must pass in the AUMID from elsewhere.

Given that, checking that the target of the shortcut is one of the two possible Firefox entry points, and ensuring it matches the requested AUMID, seems reasonable.

There's no technical reason why we couldn't pass in the `privateBrowsing` flag to use in determining which binary we're looking for -- but I don't think it really adds any real benefit, and passing both it an the AUMID makes the interface more confusing.

Differential Revision: https://phabricator.services.mozilla.com/D155008
2022-08-18 20:50:05 +00:00
..
content
search-provider-files
test Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop 2022-08-03 11:16:20 +00:00
HeadlessShell.jsm Bug 1667455 - Part 4: Stop importing Services.jsm from JSM. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,pip-reviewers,twisniewski,devtools-reviewers,m_kato,jdescottes,ochameau,mconley,sfoster,AlexandruIonescu 2022-07-11 12:41:50 +00:00
jar.mn
moz.build Bug 1750991: Automatically create shortcut if it's not already present when pinning to the Windows Taskbar. r=mhowell 2022-03-17 16:33:34 +00:00
nsGNOMEShellDBusHelper.cpp Bug 1773148 - Cleanup browser/components/shell includes r=sylvestre 2022-06-08 09:53:54 +00:00
nsGNOMEShellDBusHelper.h Bug 1773148 - Cleanup browser/components/shell includes r=sylvestre 2022-06-08 09:53:54 +00:00
nsGNOMEShellSearchProvider.cpp Bug 1773148 - Cleanup browser/components/shell includes r=sylvestre 2022-06-08 09:53:54 +00:00
nsGNOMEShellSearchProvider.h Bug 1773148 - Cleanup browser/components/shell includes r=sylvestre 2022-06-08 09:53:54 +00:00
nsGNOMEShellService.cpp Bug 1773148 - Cleanup browser/components/shell includes r=sylvestre 2022-06-08 09:53:54 +00:00
nsGNOMEShellService.h Bug 1773148 - Cleanup browser/components/shell includes r=sylvestre 2022-06-08 09:53:54 +00:00
nsIGNOMEShellService.idl
nsIMacShellService.idl
nsIShellService.idl
nsIWindowsShellService.idl Bug 1762994: ensure a Private Browsing shortcut exists as early as possible r=mhowell,fluent-reviewers 2022-06-23 15:15:42 +00:00
nsMacShellService.cpp
nsMacShellService.h
nsShellService.h
nsToolkitShellService.h
nsWindowsShellService.cpp Bug 1785814: The "os.environment.is_taskbar_pinned_private" scalar is set to "false" even if the "Pin Private Window" shortcut is pinned to the taskbar r=bytesized 2022-08-18 20:50:05 +00:00
nsWindowsShellService.h
ScreenshotChild.jsm
ShellService.jsm Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo 2022-07-12 04:21:34 +00:00
WindowsDefaultBrowser.cpp
WindowsDefaultBrowser.h
WindowsUserChoice.cpp Bug 1766377 - Fix remaining sign-compare warnings in Windows builds. r=rkraesig,gsvelto,media-playback-reviewers,gfx-reviewers,bryce,sotaro 2022-04-29 09:14:12 +00:00
WindowsUserChoice.h