Mike Conley 95b7f2040e Bug 1529276 - Limit the IShellLinkW description to MAX_PATH. r=mhowell,win-reviewers
According to the Microsoft documentation, this is the maximum length
of the string allowed for the description property of an IShellLinkW.
This also adds a test for long descriptions to ensure that they are
properly truncated.

This patch also:

- Adjusts the tests a little bit to be less race-y, particularly with the
  SetAppID routine in the JumpListBuilder constructor.

- Fixes the issue where the tests weren't properly copying in the intended
  strings for test titles and descriptions.

Differential Revision: https://phabricator.services.mozilla.com/D193693
2023-11-23 18:28:32 +00:00
..