Loading
Bug 2058013 - Only resolve non-filesystem picker results as shell libraries a=RyanVM DONTBUILD
A genuine shell library is a virtual item with no filesystem path. A .library-ms file is an ordinary file whose XML can name any local directory. filedialog::GetFolderResults was passing whatever IFileDialog::GetResult returned to IShellLibrary::LoadLibraryFromItem and, on success, replacing it with the library's embedded default save folder. Gating the resolution on the item being affirmatively not a filesystem object keeps real libraries selectable and resolving as before, while a .library-ms file "resolves" to itself -- the .library-ms file, not its target. Original Revision: https://phabricator.services.mozilla.com/D318246 Differential Revision: https://phabricator.services.mozilla.com/D319957