-
- Downloads
Bug 1789974: Fix shortcut creation when pinning to taskbar r=bytesized
In the recent refactor of this (https://bugzilla.mozilla.org/show_bug.cgi?id=1782295) I managed to break our ability to create shortcuts if they don't already existed. This was caused by two things: 1) An errant `NS_SUCCEEDED` call remained after the call it was checking moved elsewhere (oops) 2) The taskbar pinning code was not updated to set the shortcut file path (required after the refactor). This patches fixes both of those issues. Note that all the directory service interaction is done on the main thread, because the actual function doing the work is on a background thread, and the directory service does not work there. Differential Revision: https://phabricator.services.mozilla.com/D156993
Please register or sign in to comment