gecko-dev/widget/windows
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
..
docs Bug 1844908 - Remove pre-Win10-specific codepath from widget/. r=handyman 2023-07-26 08:52:54 +00:00
filedialog Bug 1861494 - [1/1] remove unneeded #include r=win-reviewers,mhowell 2023-10-26 22:06:08 +00:00
res
tests Bug 1529276 - Limit the IShellLinkW description to MAX_PATH. r=mhowell,win-reviewers 2023-11-23 18:28:32 +00:00
AudioSession.cpp
AudioSession.h
CheckInvariantWrapper.h
CompositorWidgetChild.cpp Bug 1811834 - Clean up nsWidgetInitData. r=cmartin,geckoview-reviewers,calu 2023-01-23 23:58:41 +00:00
CompositorWidgetChild.h Bug 1811834 - Clean up nsWidgetInitData. r=cmartin,geckoview-reviewers,calu 2023-01-23 23:58:41 +00:00
CompositorWidgetParent.cpp Bug 1844241 - Remove now-dead graphics glass code. r=tnikkel,devtools-reviewers 2023-07-19 12:44:34 +00:00
CompositorWidgetParent.h Bug 1844241 - Remove now-dead graphics glass code. r=tnikkel,devtools-reviewers 2023-07-19 12:44:34 +00:00
DirectManipulationOwner.cpp Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
DirectManipulationOwner.h Bug 1636805: Remove the DirectManipulation hack-arounds r=firefox-build-system-reviewers,ahochheiden 2023-02-15 19:01:56 +00:00
GfxInfo.cpp Bug 1851625 - Re-enable video overlay without ZeroCopyNV12Texture with NVIDIA GPUs to release r=gfx-reviewers,lsalzman 2023-09-08 05:51:14 +00:00
GfxInfo.h Bug 1812698 - Expose desktopEnvironment via nsIXULRuntime rather than nsIGfxInfo. r=stransky 2023-02-01 13:14:50 +00:00
IEnumFE.cpp
IEnumFE.h
IMMHandler.cpp Bug 1844908 - Remove pre-Win10-specific codepath from widget/. r=handyman 2023-07-26 08:52:54 +00:00
IMMHandler.h Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
InProcessWinCompositorWidget.cpp Bug 1844241 - Remove now-dead graphics glass code. r=tnikkel,devtools-reviewers 2023-07-19 12:44:34 +00:00
InProcessWinCompositorWidget.h Bug 1844241 - Remove now-dead graphics glass code. r=tnikkel,devtools-reviewers 2023-07-19 12:44:34 +00:00
InputDeviceUtils.cpp
InputDeviceUtils.h
JumpListBuilder.cpp Bug 1529276 - Limit the IShellLinkW description to MAX_PATH. r=mhowell,win-reviewers 2023-11-23 18:28:32 +00:00
JumpListBuilder.h Bug 1529276 - Create a new JumpListBuilder implementation that is simpler and doesn't block the main thread. r=mhowell,win-reviewers 2023-11-23 18:28:31 +00:00
KeyboardLayout.cpp Bug 1863035 - Implement a native WinRegistry key. r=win-reviewers,rkraesig 2023-11-20 10:08:09 +00:00
KeyboardLayout.h Bug 1840519 - Make typing surrogate pair behavior switchable with prefs r=m_kato,smaug 2023-08-23 01:16:59 +00:00
LSPAnnotator.cpp
LegacyJumpListBuilder.cpp Bug 1529276 - Rename the old Windows jump list mechanism to LegacyJumpListBuilder. r=mhowell,bhearsum,win-reviewers 2023-11-23 18:28:31 +00:00
LegacyJumpListBuilder.h Bug 1529276 - Rename the old Windows jump list mechanism to LegacyJumpListBuilder. r=mhowell,bhearsum,win-reviewers 2023-11-23 18:28:31 +00:00
LegacyJumpListItem.cpp Bug 1529276 - Rename the old Windows jump list mechanism to LegacyJumpListBuilder. r=mhowell,bhearsum,win-reviewers 2023-11-23 18:28:31 +00:00
LegacyJumpListItem.h Bug 1529276 - Rename the old Windows jump list mechanism to LegacyJumpListBuilder. r=mhowell,bhearsum,win-reviewers 2023-11-23 18:28:31 +00:00
MediaKeysEventSourceFactory.cpp
OSKInputPaneManager.cpp
OSKInputPaneManager.h
OSKTabTipManager.cpp Bug 1863035 - Implement a native WinRegistry key. r=win-reviewers,rkraesig 2023-11-20 10:08:09 +00:00
OSKTabTipManager.h
OSKVRManager.cpp
OSKVRManager.h
PCompositorWidget.ipdl Bug 1812156 - Part 1: Fix some IPDL statements to use fully qualified names, r=necko-reviewers,valentin 2023-02-04 10:44:24 +00:00
PlatformWidgetTypes.ipdlh Bug 1812156 - Part 1: Fix some IPDL statements to use fully qualified names, r=necko-reviewers,valentin 2023-02-04 10:44:24 +00:00
RemoteBackbuffer.cpp Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
RemoteBackbuffer.h Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
ScreenHelperWin.cpp Bug 1839762 - Cast scoped enums to their underlying type when printing them. r=media-playback-reviewers,necko-reviewers,application-update-reviewers,geckoview-reviewers,handyman,emilio,valentin,bytesized,owlish,karlt 2023-06-24 20:14:31 +00:00
ScreenHelperWin.h
ShellHeaderOnlyUtils.h Bug 1859923 - Post: Add warning to explain how to resolve build errors due to including `ShellHeaderOnlyUtils.h` in code linked to XUL. r=win-reviewers,mhowell 2023-10-20 03:29:46 +00:00
SystemStatusBar.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
SystemStatusBar.h Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
TSFTextStore.cpp Bug 1865256 - Add a telemetry probe to collect IME names which inserted CRLFs on Windows r=chutten,m_kato,win-reviewers,mhowell 2023-11-21 03:32:22 +00:00
TSFTextStore.h Bug 1840568 - Let's collect unexpected cases with diagnostic assertions of initializing `TSFTextStore::mContentForTSF` and `TSFTextStore::mSelectionForTSF` r=m_kato 2023-07-05 06:00:02 +00:00
TaskbarPreview.cpp Bug 1845746 - Stop using DwmCompositionEnabled in widget/windows/. r=handyman 2023-08-10 18:58:03 +00:00
TaskbarPreview.h
TaskbarPreviewButton.cpp
TaskbarPreviewButton.h
TaskbarTabPreview.cpp Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
TaskbarTabPreview.h
TaskbarWindowPreview.cpp
TaskbarWindowPreview.h
ToastNotification.cpp Bug 1863035 - Implement a native WinRegistry key. r=win-reviewers,rkraesig 2023-11-20 10:08:09 +00:00
ToastNotification.h Bug 1805514 - Part 3: Allow JS opaque relaunch data and actions. r=nrishel 2023-07-15 02:34:06 +00:00
ToastNotificationHandler.cpp Bug 1844908 - Remove pre-Win10-specific codepath from widget/. r=handyman 2023-07-26 08:52:54 +00:00
ToastNotificationHandler.h Bug 1805514 - Part 3: Allow JS opaque relaunch data and actions. r=nrishel 2023-07-15 02:34:06 +00:00
ToastNotificationHeaderOnlyUtils.h Bug 1805514 - Part 3: Allow JS opaque relaunch data and actions. r=nrishel 2023-07-15 02:34:06 +00:00
UrlmonHeaderOnlyUtils.h
WidgetTraceEvent.cpp Bug 1825360 - Remove the NS_DISPATCH_SYNC flag, r=necko-reviewers,geckoview-reviewers,media-playback-reviewers,karlt,jesup,m_kato,emilio 2023-03-30 16:53:51 +00:00
WinCompositorWidget.cpp Bug 1820066 [2/3] - Allow in-process use of the compositor window r=sotaro 2023-03-27 16:54:13 +00:00
WinCompositorWidget.h Bug 1844241 - Remove now-dead graphics glass code. r=tnikkel,devtools-reviewers 2023-07-19 12:44:34 +00:00
WinCompositorWindowThread.cpp Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
WinCompositorWindowThread.h Bug 1811634 Part 1: Deal with spurious wakeups in WinCompositorWindowThread::ShutDown. r=rkraesig 2023-01-27 23:19:48 +00:00
WinEventObserver.cpp Bug 1852801: Allow WinWindowOcclusionTracker members to fail initialization without crashing. r=rkraesig,win-reviewers 2023-09-13 17:38:55 +00:00
WinEventObserver.h Bug 1852801: Allow WinWindowOcclusionTracker members to fail initialization without crashing. r=rkraesig,win-reviewers 2023-09-13 17:38:55 +00:00
WinHeaderOnlyUtils.h Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
WinIMEHandler.cpp Bug 1846476 - Remove ui.osk.require_win10 pref r=rkraesig,Gijs,settings-reviewers 2023-08-03 19:07:25 +00:00
WinIMEHandler.h Bug 1807495 - part 2: Make `TextStore` stop creating its instance when gets IME enabled but focus notification has not been received r=m_kato 2023-04-11 23:26:04 +00:00
WinMessages.h Bug 1835851 - [1/3] signal taskbar after message has been processed r=handyman,gstoll 2023-07-28 00:16:46 +00:00
WinModifierKeyState.h
WinMouseScrollHandler.cpp Bug 1865468 - Fix TrackPoint::IsDriverInstalled. r=masayuki 2023-11-20 10:08:24 +00:00
WinMouseScrollHandler.h Bug 1845580 - Remove unintuitive mouswheel scroll distance behavior on release builds. r=botond 2023-07-26 21:08:58 +00:00
WinPointerEvents.cpp Bug 1844908 - Remove pre-Win10-specific codepath from widget/. r=handyman 2023-07-26 08:52:54 +00:00
WinPointerEvents.h Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
WinRegistry.cpp Bug 1865636 - Move WinRegistry::KeyWatcher watch callback out of line. r=win-reviewers,handyman 2023-11-20 20:13:11 +00:00
WinRegistry.h Bug 1865636 - Move WinRegistry::KeyWatcher watch callback out of line. r=win-reviewers,handyman 2023-11-20 20:13:11 +00:00
WinTaskbar.cpp Bug 1529276 - Create a new JumpListBuilder implementation that is simpler and doesn't block the main thread. r=mhowell,win-reviewers 2023-11-23 18:28:31 +00:00
WinTaskbar.h
WinTextEventDispatcherListener.cpp
WinTextEventDispatcherListener.h
WinUtils.cpp Bug 1863035 - Implement a native WinRegistry key. r=win-reviewers,rkraesig 2023-11-20 10:08:09 +00:00
WinUtils.h Bug 1863035 - Implement a native WinRegistry key. r=win-reviewers,rkraesig 2023-11-20 10:08:09 +00:00
WinWindowOcclusionTracker.cpp Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
WinWindowOcclusionTracker.h Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
WindowHook.cpp
WindowHook.h
WindowsConsole.cpp Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
WindowsConsole.h
WindowsEMF.cpp
WindowsEMF.h
WindowsEventLog.h Bug 1820580 - Make toolkit/mozapps/defaultagent buildable outside of a unified build environment r=andi 2023-03-15 07:30:39 +00:00
WindowsSMTCProvider.cpp Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
WindowsSMTCProvider.h
WindowsUIUtils.cpp Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
WindowsUIUtils.h Bug 1736914 - Implement prefers-reduced-transparency media query r=geckoview-reviewers,emilio,jonalmeida,ohall 2023-03-13 21:30:17 +00:00
components.conf Bug 1529276 - Rename the old Windows jump list mechanism to LegacyJumpListBuilder. r=mhowell,bhearsum,win-reviewers 2023-11-23 18:28:31 +00:00
moz.build Bug 1529276 - Create a new JumpListBuilder implementation that is simpler and doesn't block the main thread. r=mhowell,win-reviewers 2023-11-23 18:28:31 +00:00
nsAppShell.cpp Bug 1571516 - Additional attempt at collecting debug information for CreateWindowW failures. r=win-reviewers,rkraesig 2023-10-10 14:41:41 +00:00
nsAppShell.h Bug 1571516 - [1/2] preparatory reorganization r=gsvelto 2023-08-30 22:34:43 +00:00
nsBidiKeyboard.cpp
nsBidiKeyboard.h
nsClipboard.cpp Bug 1856052 - Remove unused parameter from SetNativeClipboardData; r=geckoview-reviewers,win-reviewers,spohl,mhowell,m_kato 2023-10-17 13:15:31 +00:00
nsClipboard.h Bug 1856052 - Remove unused parameter from SetNativeClipboardData; r=geckoview-reviewers,win-reviewers,spohl,mhowell,m_kato 2023-10-17 13:15:31 +00:00
nsColorPicker.cpp Bug 1832168 - [2/3] Consolidate temporary-window responsibilities r=emilio 2023-05-11 01:13:05 +00:00
nsColorPicker.h
nsDataObj.cpp Bug 1808146 - When creating a file promise for images, remember the referrer. r=nika 2023-03-22 21:55:08 +00:00
nsDataObj.h Bug 1808146 - When creating a file promise for images, remember the referrer. r=nika 2023-03-22 21:55:08 +00:00
nsDataObjCollection.cpp
nsDataObjCollection.h
nsDeviceContextSpecWin.cpp Bug 1845837 - Sort Windows printer list alphabetically. r=emilio 2023-07-28 15:35:29 +00:00
nsDeviceContextSpecWin.h Bug 1833244 p1. Create infrastructure to pass page dimensions to PrintTarget::BeginPage. r=dholbert,geckoview-reviewers,jonalmeida 2023-07-10 14:26:12 +00:00
nsDragService.cpp Bug 1851041 - Part 3: Ignore `CFSTR_FILEDESCRIPTOR*` if `text/x-moz-url` is present; r=rkraesig,win-reviewers 2023-10-10 15:24:43 +00:00
nsDragService.h
nsFilePicker.cpp Bug 1864118 - deny attempts to open a Windows file picker in headless mode r=win-reviewers,gstoll,cmartin 2023-11-22 19:35:34 +00:00
nsFilePicker.h Bug 1837079 - [7/10] Open Windows file picker out-of-process r=gstoll,handyman,ipc-reviewers,nika,win-reviewers,mhowell 2023-10-26 18:21:29 +00:00
nsLookAndFeel.cpp Bug 1825241 - Add registry watching capability, and watch for changes for system color filter. r=CanadaHonk,win-reviewers,handyman 2023-11-20 10:08:10 +00:00
nsLookAndFeel.h Bug 1825241 - Add registry watching capability, and watch for changes for system color filter. r=CanadaHonk,win-reviewers,handyman 2023-11-20 10:08:10 +00:00
nsNativeDragSource.cpp Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
nsNativeDragSource.h
nsNativeDragTarget.cpp
nsNativeDragTarget.h
nsNativeThemeWin.cpp Bug 1858349 - Remove now-unused menuarrow code. r=spohl,mac-reviewers,win-reviewers,rkraesig 2023-10-11 19:37:40 +00:00
nsNativeThemeWin.h Bug 1852457 - Simplify nsITheme::ThemeWantsButtonInnerFocusRing(). r=jfkthame,layout-reviewers 2023-09-14 09:46:42 +00:00
nsPrintDialogUtil.cpp Bug 1724649 - Followup to remove #include plstr.h r=necko-reviewers,xpcom-reviewers,valentin,nika 2023-05-15 14:53:02 +00:00
nsPrintDialogUtil.h
nsPrintDialogWin.cpp Bug 1832168 - [2/3] Consolidate temporary-window responsibilities r=emilio 2023-05-11 01:13:05 +00:00
nsPrintDialogWin.h Bug 1832168 - [2/3] Consolidate temporary-window responsibilities r=emilio 2023-05-11 01:13:05 +00:00
nsPrintSettingsServiceWin.cpp Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
nsPrintSettingsServiceWin.h
nsPrintSettingsWin.cpp Bug 1865485. Rename nsIPrintSettings::HasOrthogonalSheetsAndPages to HasOrthogonalPagesPerSheet. r=dholbert 2023-11-20 09:14:50 +00:00
nsPrintSettingsWin.h
nsPrinterWin.cpp Bug 1811852: Clear default DEVMODEW storage on failure, so that we try again next time. r=emilio 2023-02-01 11:27:02 +00:00
nsPrinterWin.h
nsSharePicker.cpp
nsSharePicker.h
nsSound.cpp Bug 1724649 - Followup to remove #include plstr.h r=necko-reviewers,xpcom-reviewers,valentin,nika 2023-05-15 14:53:02 +00:00
nsSound.h
nsToolkit.cpp
nsToolkit.h
nsUXThemeConstants.h Bug 1844242 - Clean-up windows titlebar set-up now that buttons are always non-native. r=dao,handyman 2023-07-20 13:33:19 +00:00
nsUXThemeData.cpp Bug 1845623 - Make some form controls always non-native on Windows. r=mhowell,desktop-theme-reviewers,dao 2023-07-28 11:06:47 +00:00
nsUXThemeData.h Bug 1845623 - Make some form controls always non-native on Windows. r=mhowell,desktop-theme-reviewers,dao 2023-07-28 11:06:47 +00:00
nsUserIdleServiceWin.cpp Bug 1768920 - Avoid polling every 5 seconds in nsUserIdleService, r=dthayer,geckoview-reviewers,owlish. 2023-01-16 19:53:33 +00:00
nsUserIdleServiceWin.h Bug 1836980 - Move the check for late instantiation to UserIdleService[type] specializations. r=kmag,xpcom-reviewers,geckoview-reviewers,m_kato 2023-06-07 06:27:52 +00:00
nsWidgetFactory.cpp
nsWidgetFactory.h
nsWinGesture.cpp
nsWinGesture.h
nsWindow.cpp Bug 1789214 - When forcing colors without a color-scheme, compute prefers-color-scheme based on them. r=morgan 2023-11-06 19:59:38 +00:00
nsWindow.h Bug 1772404 - Corner snapping for Windows and Linux. r=mhowell,mconley 2023-09-26 23:50:13 +00:00
nsWindowDbg.cpp Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
nsWindowDbg.h Bug 1841871: Rename PrintEvent to NativeEventLogger and add profiler markers r=gstoll 2023-07-06 19:57:40 +00:00
nsWindowDefs.h Bug 1852806 - Remove macros for older Windows SDK from widget/windows/. r=handyman 2023-09-15 03:19:28 +00:00
nsWindowGfx.cpp Bug 1855870 - Upgrade webrender to bitflags 2. r=gfx-reviewers,gw 2023-09-29 08:20:59 +00:00
nsWindowGfx.h
nsWindowLoggedMessages.cpp Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
nsWindowLoggedMessages.h
nsWindowTaskbarConcealer.cpp Bug 1835851 - [3/3] cleanup: remove pre-Windows-10 checks from new code r=gstoll 2023-07-28 00:16:46 +00:00
nsWindowTaskbarConcealer.h Bug 1835851 - [2/3] cleanup: remove old fullscreen logic r=handyman,gstoll 2023-07-28 00:16:46 +00:00
nsdefs.h
resource.h
touchinjection_sdk80.h
widget.rc