The bulk of this is wiring in a Private Browsing flag in the places that need it, and using some of the recently added WinTaskbar code to grab the correct AUMID. Beyond that, the notable parts are: * The interface difference between isCurrentAppPinnedToTaskbarAsync and the other changed methods. I was hoping to use the Private Browsing flag everywhere, but doing so in code that run in a separate thread ended up crashing due to the Preferences usage in WinTaskbar (https://searchfox.org/mozilla-central/rev/9d66919569655a8fae9b431550241c058fa85b8a/widget/windows/WinTaskbar.cpp#216) * The new string for the Private Browsing shortcut. The exact string may change, so it's hardcoded for now. * Checking the AUMID of shortcuts when looking for a match (to make sure Private Browsing doesn't pick up non-private, and visa versa) * Some fixes for tests of ShellService.jsm -- I honestly have no idea how these ever passed on Linux. Differential Revision: https://phabricator.services.mozilla.com/D138196
12 KiB
12 KiB