fune/widget
Yannis Juglaret adbf392846 Bug 1897479 - Abstract away single-step data collection for reusability. r=rkraesig,win-reviewers
This patch makes the single-step data collection code that we
implemented for bug 1571516 reusable, while preserving its behavior.
No functional changes, except for a slight reordering of the
error-result enum.

We define a generic CollectSingleStepData function that embeds the
magic for starting to trigger single step exceptions and for acting upon
them.

We define a more specialized CollectModuleSingleStepData function which
can be reused if the purpose of single step data collection is to
monitor what paths are taken within a specific module. It stores the
collected data in stack, so that it can be accessed from crash reports.

This code is considered unstable and thus only available in Nightly and
early Beta and only used on paths that are known to crash already.

Differential Revision: https://phabricator.services.mozilla.com/D211195
2024-06-03 12:24:41 +00:00
..
android Bug 1888330 - Don't use composition if unnecessary. r=geckoview-reviewers,masayuki,ohall 2024-05-31 10:21:33 +00:00
cocoa Bug 1896516 Part 11 - Remove nsIScrollableFrame usages under layout/, widget/, and toolkit/. r=layout-reviewers,emilio 2024-05-30 06:32:22 +00:00
crashtests
generic
gtk Bug 1899494 [Wayland] Always resize wl_egl_window on scale change r=emilio 2024-05-30 11:21:58 +00:00
headless Bug 1036966 - Make accessibility.tabfocus default to 7 on macOS too. r=morgan,settings-reviewers,mac-reviewers,mstange 2024-05-03 23:10:47 +00:00
reftests Bug 1848899 - Remove widget.non-native-theme.enabled. r=desktop-theme-reviewers,dao,dholbert 2024-05-07 08:32:14 +00:00
tests Bug 1645571 - Prevent on-screen keyboard from dismissing itself. r=cmartin,win-reviewers 2024-05-16 15:45:21 +00:00
uikit Bug 1036966 - Make accessibility.tabfocus default to 7 on macOS too. r=morgan,settings-reviewers,mac-reviewers,mstange 2024-05-03 23:10:47 +00:00
windows Bug 1897479 - Abstract away single-step data collection for reusability. r=rkraesig,win-reviewers 2024-06-03 12:24:41 +00:00
x11
BasicEvents.h Bug 903746 - part 1: Add TextEvent r=smaug 2024-04-08 12:29:59 +00:00
ClipboardReadRequestChild.h
ClipboardReadRequestParent.cpp
ClipboardReadRequestParent.h
ClipboardWriteRequestChild.cpp
ClipboardWriteRequestChild.h
ClipboardWriteRequestParent.cpp Bug 1867636 - Rename nsITransferable::requestingPrincipal; r=nika 2024-04-18 10:06:07 +00:00
ClipboardWriteRequestParent.h Bug 1869868 part 2 - do not consult DLP when copy/pasting items in the same tab r=edgar,dlp-reviewers,credential-management-reviewers,handyman,sgalich 2024-04-15 12:10:46 +00:00
ColorScheme.h
CommandList.h
components.conf
CompositorWidget.cpp
CompositorWidget.h
ContentCache.cpp
ContentCache.h
ContentData.cpp
ContentData.h
ContentEvents.h
DimensionRequest.cpp
DimensionRequest.h
EventClassList.h Bug 903746 - part 1: Add TextEvent r=smaug 2024-04-08 12:29:59 +00:00
EventForwards.h Bug 903746 - part 2: Add textInput event and make EditorBase dispatch it as a default action of beforeinput r=smaug 2024-04-08 12:30:00 +00:00
EventMessageList.h Bug 903746 - part 1: Add TextEvent r=smaug 2024-04-08 12:29:59 +00:00
FontRange.h
GfxDriverInfo.cpp Bug 1896823 - Block reusing decoder device on Intel gen12 r=gfx-reviewers,bradwerth 2024-05-15 07:53:00 +00:00
GfxDriverInfo.h Bug 1896823 - Block reusing decoder device on Intel gen12 r=gfx-reviewers,bradwerth 2024-05-15 07:53:00 +00:00
GfxInfoBase.cpp Bug 1887729 - Implement context lost/restored support for CanvasRenderingContext2D. r=webidl,gfx-reviewers,smaug,lsalzman 2024-03-28 14:50:20 +00:00
GfxInfoBase.h Bug 1887729 - Implement context lost/restored support for CanvasRenderingContext2D. r=webidl,gfx-reviewers,smaug,lsalzman 2024-03-28 14:50:20 +00:00
GfxInfoCollector.cpp
GfxInfoCollector.h
IconLoader.cpp Bug 1872657 - Add fetchpriority support for <link rel=preload as=image>. r=valentin,smaug,manuel 2024-02-27 06:33:48 +00:00
IconLoader.h
IMEData.cpp
IMEData.h Bug 1847585 - Implement keyboardType, returnKeyType and autocapitalizationType. r=masayuki 2024-03-04 21:03:26 +00:00
InitData.h Bug 1884631 - Remove macOS native sheet support. r=mac-reviewers,aleca,kaie,bradwerth 2024-03-18 10:06:26 +00:00
InProcessCompositorWidget.cpp
InProcessCompositorWidget.h
InputData.cpp Bug 1757352 - Dispatch contextMenu event when right-clicking. r=geckoview-reviewers,m_kato,botond 2024-03-23 07:24:24 +00:00
InputData.h Bug 1757352 - Dispatch contextMenu event when right-clicking. r=geckoview-reviewers,m_kato,botond 2024-03-23 07:24:24 +00:00
LookAndFeel.h Bug 1895184 - Make macOS full keyboard access override accessibility.tabfocus when enabled. r=NeilDeakin,morgan 2024-05-15 13:48:36 +00:00
LookAndFeelTypes.ipdlh
LSBUtils.cpp Bug 1894412 - When reading /etc/os-release, fall back to BUILD_ID when VERSION_ID is not set. r=xpcom-reviewers,emilio 2024-05-01 08:06:47 +00:00
LSBUtils.h
MediaKeysEventSourceFactory.h
MiscEvents.h
MouseEvents.h Bug 1586471 - Part 1. Handle WidgetDragEvent by DispatchInputEvent. r=botond 2024-01-28 07:49:53 +00:00
moz.build Bug 1894917 - Remove d3d10 header check to moz.configure r=glandium 2024-05-16 08:49:18 +00:00
NativeKeyBindingsType.h
NativeKeyToDOMCodeName.h
NativeKeyToDOMKeyName.h
NativeMenu.h
NativeMenuSupport.h
nsAppShellSingleton.h
nsAutoRollup.cpp
nsAutoRollup.h
nsBaseAppShell.cpp
nsBaseAppShell.h
nsBaseClipboard.cpp Bug 1895691 - Reuse the log module defined in nsBaseClipboard for clipboard logging; r=stransky 2024-05-10 08:20:59 +00:00
nsBaseClipboard.h Bug 1895691 - Reuse the log module defined in nsBaseClipboard for clipboard logging; r=stransky 2024-05-10 08:20:59 +00:00
nsBaseDragService.cpp Bug 1871789 - Spoof mozInputSource and mozPressure for RFP. r=tjr,webidl,smaug 2024-05-16 19:43:12 +00:00
nsBaseDragService.h
nsBaseFilePicker.cpp Bug 1878401 - part 1 - Pass BrowsingContext to nsIFilePicker::Init instead of mozIDOMWindow r=geckoview-reviewers,win-reviewers,emilio,nika,m_kato,rkraesig 2024-02-28 21:29:37 +00:00
nsBaseFilePicker.h Bug 1878401 - part 1 - Pass BrowsingContext to nsIFilePicker::Init instead of mozIDOMWindow r=geckoview-reviewers,win-reviewers,emilio,nika,m_kato,rkraesig 2024-02-28 21:29:37 +00:00
nsBaseWidget.cpp Bug 1830667 - Update APZCTreeManager::mDPI when display DPI changes. r=dlrobertson,win-reviewers,handyman,emilio 2024-02-24 19:25:30 +00:00
nsBaseWidget.h Bug 1884652 - Remove titlebars on panels and PopupLevel::Floating. r=mac-reviewers,bradwerth 2024-03-11 19:42:58 +00:00
nsClipboardHelper.cpp Bug 1869868 part 2 - do not consult DLP when copy/pasting items in the same tab r=edgar,dlp-reviewers,credential-management-reviewers,handyman,sgalich 2024-04-15 12:10:46 +00:00
nsClipboardHelper.h
nsClipboardProxy.cpp Bug 1892976 - Propagate the error returned by nsIClipboard::GetData() over IPC; r=nika 2024-05-01 20:49:09 +00:00
nsClipboardProxy.h
nsColorPickerProxy.cpp
nsColorPickerProxy.h
nsContentProcessWidgetFactory.h
nsCUPSShim.cpp
nsCUPSShim.h
nsDeviceContextSpecProxy.cpp
nsDeviceContextSpecProxy.h
nsDragServiceProxy.cpp
nsDragServiceProxy.h
nsFilePickerProxy.cpp Bug 1878401 - part 1 - Pass BrowsingContext to nsIFilePicker::Init instead of mozIDOMWindow r=geckoview-reviewers,win-reviewers,emilio,nika,m_kato,rkraesig 2024-02-28 21:29:37 +00:00
nsFilePickerProxy.h Bug 1878401 - part 1 - Pass BrowsingContext to nsIFilePicker::Init instead of mozIDOMWindow r=geckoview-reviewers,win-reviewers,emilio,nika,m_kato,rkraesig 2024-02-28 21:29:37 +00:00
nsGUIEventIPC.h
nsHTMLFormatConverter.cpp
nsHTMLFormatConverter.h
nsIApplicationChooser.idl
nsIAppShell.idl
nsIBaseWindow.cpp
nsIBaseWindow.idl Bug 1892481 - More consistently enforce noscript and builtinclass in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,media-playback-reviewers,mccr8,padenot 2024-04-22 18:19:58 +00:00
nsIBidiKeyboard.idl
nsIClipboard.idl Bug 1869868 part 2 - do not consult DLP when copy/pasting items in the same tab r=edgar,dlp-reviewers,credential-management-reviewers,handyman,sgalich 2024-04-15 12:10:46 +00:00
nsIClipboardHelper.idl Bug 1869868 part 2 - do not consult DLP when copy/pasting items in the same tab r=edgar,dlp-reviewers,credential-management-reviewers,handyman,sgalich 2024-04-15 12:10:46 +00:00
nsIClipboardOwner.idl
nsIColorPicker.idl
nsIDeviceContextSpec.cpp Bug 1891541 - [2/2] enforce that MozPromise only accepts static strings r=xpcom-reviewers,media-playback-reviewers,padenot,emilio 2024-04-24 17:02:49 +00:00
nsIDeviceContextSpec.h Bug 1891541 - [2/2] enforce that MozPromise only accepts static strings r=xpcom-reviewers,media-playback-reviewers,padenot,emilio 2024-04-24 17:02:49 +00:00
nsIDisplayInfo.idl
nsIDragService.idl Bug 1892481 - More consistently enforce noscript and builtinclass in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,media-playback-reviewers,mccr8,padenot 2024-04-22 18:19:58 +00:00
nsIDragSession.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsIFilePicker.idl Bug 1878401 - part 1 - Pass BrowsingContext to nsIFilePicker::Init instead of mozIDOMWindow r=geckoview-reviewers,win-reviewers,emilio,nika,m_kato,rkraesig 2024-02-28 21:29:37 +00:00
nsIFormatConverter.idl
nsIGfxInfo.idl Bug 1887729 - Implement context lost/restored support for CanvasRenderingContext2D. r=webidl,gfx-reviewers,smaug,lsalzman 2024-03-28 14:50:20 +00:00
nsIGfxInfoDebug.idl
nsIGtkTaskbarProgress.idl
nsIJumpListBuilder.idl Bug 1896147 - Part 1: Use jsval rather than Array<jsval> for nsIJumpListBuilder.populateJumpList. r=arai 2024-05-12 02:29:26 +00:00
nsILegacyJumpListBuilder.idl
nsILegacyJumpListItem.idl
nsIMacDockSupport.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsIMacFinderProgress.idl
nsIMacSharingService.idl
nsIMacUserActivityUpdater.idl
nsIMacWebAppUtils.idl
nsIPaper.idl
nsIPaperMargin.idl
nsIPrintDialogService.idl Bug 1883217 - Remove unused defines in IDL files r=webdriver-reviewers,necko-reviewers,credential-management-reviewers,places-reviewers,dom-core,Standard8,valentin,mccr8,sgalich 2024-03-06 19:04:25 +00:00
nsIPrinter.idl
nsIPrinterList.idl
nsIPrintSettings.idl Bug 1875481 - Part 3: Add content analysis support to printing operations r=handyman,spohl,fluent-reviewers,kpatenio,smaug,emilio 2024-04-10 00:15:47 +00:00
nsIPrintSettingsService.idl Bug 1883217 - Remove unused defines in IDL files r=webdriver-reviewers,necko-reviewers,credential-management-reviewers,places-reviewers,dom-core,Standard8,valentin,mccr8,sgalich 2024-03-06 19:04:25 +00:00
nsIPrintSettingsWin.idl
nsIRollupListener.h
nsIScreen.idl Bug 1892481 - More consistently enforce noscript and builtinclass in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,media-playback-reviewers,mccr8,padenot 2024-04-22 18:19:58 +00:00
nsIScreenManager.idl
nsISharePicker.idl
nsISound.idl Bug 1883551 - Remove nsPIPromptService r=masayuki 2024-03-06 03:32:31 +00:00
nsIStandaloneNativeMenu.idl
nsISystemStatusBar.idl
nsITaskbarOverlayIconController.idl
nsITaskbarPreview.idl
nsITaskbarPreviewButton.idl
nsITaskbarPreviewController.idl
nsITaskbarProgress.idl
nsITaskbarTabPreview.idl
nsITaskbarWindowPreview.idl
nsITouchBarHelper.idl
nsITouchBarInput.idl
nsITouchBarUpdater.idl
nsITransferable.idl Bug 1867636 - Rename nsITransferable::requestingPrincipal; r=nika 2024-04-18 10:06:07 +00:00
nsIUserIdleService.idl
nsIUserIdleServiceInternal.idl
nsIWidget.h Bug 1893918 - A not-yet-loaded browser window shouldn't stop being an early blank window. r=win-reviewers,rkraesig 2024-04-30 08:39:59 +00:00
nsIWidgetListener.cpp Bug 1787382 - Remove resolutionchange events firing r=win-reviewers,cmartin 2024-05-09 14:37:04 +00:00
nsIWidgetListener.h Bug 1787382 - Remove resolutionchange events firing r=win-reviewers,cmartin 2024-05-09 14:37:04 +00:00
nsIWindowsUIUtils.idl
nsIWinTaskbar.idl Bug 1863636 - Part 2: Added native code changes for taskbar tabs r=win-reviewers,mhughes,gstoll 2024-01-22 22:00:13 +00:00
nsNativeTheme.cpp Bug 1896516 Part 3 - Change GetScrollTargetFrame() to return ScrollContainerFrame. r=layout-reviewers,emilio 2024-05-30 06:32:18 +00:00
nsNativeTheme.h
nsPaper.cpp
nsPaper.h
nsPaperMargin.cpp
nsPaperMargin.h
nsPrimitiveHelpers.cpp
nsPrimitiveHelpers.h
nsPrinterBase.cpp Bug 1640839 - Add some helpers for enums to calculate the size and use it in EnumeratedArray. r=glandium,jgilbert,media-playback-reviewers,padenot 2024-03-02 07:50:19 +00:00
nsPrinterBase.h Bug 1640839 - Add some helpers for enums to calculate the size and use it in EnumeratedArray. r=glandium,jgilbert,media-playback-reviewers,padenot 2024-03-02 07:50:19 +00:00
nsPrinterCUPS.cpp
nsPrinterCUPS.h
nsPrinterListBase.cpp
nsPrinterListBase.h
nsPrinterListCUPS.cpp
nsPrinterListCUPS.h
nsPrintSettingsImpl.cpp
nsPrintSettingsImpl.h
nsPrintSettingsService.cpp
nsPrintSettingsService.h
nsTransferable.cpp Bug 1867636 - Rename nsITransferable::requestingPrincipal; r=nika 2024-04-18 10:06:07 +00:00
nsTransferable.h Bug 1867636 - Rename nsITransferable::requestingPrincipal; r=nika 2024-04-18 10:06:07 +00:00
nsUserIdleService.cpp
nsUserIdleService.h
nsWidgetsCID.h
nsXPLookAndFeel.cpp Bug 1895184 - Make macOS full keyboard access override accessibility.tabfocus when enabled. r=NeilDeakin,morgan 2024-05-15 13:48:36 +00:00
nsXPLookAndFeel.h Bug 1539998 [Linux] Implement nsLookAndFeel::GetTitlebarAction() r=emilio 2024-01-30 20:18:13 +00:00
PClipboardReadRequest.ipdl
PClipboardWriteRequest.ipdl
PrintBackgroundTask.h
PuppetBidiKeyboard.cpp
PuppetBidiKeyboard.h
PuppetWidget.cpp Bug 1892598 - Reuse IPCImage for PBrowser::SetCursor; r=smaug 2024-04-23 06:01:47 +00:00
PuppetWidget.h
RemoteLookAndFeel.cpp
RemoteLookAndFeel.h
Screen.cpp Bug 1764201 Part 1: Make widget::Screen track if the screen is HDR capable. r=geckoview-reviewers,ahale,m_kato 2024-03-22 00:55:46 +00:00
Screen.h Bug 1764201 Part 1: Make widget::Screen track if the screen is HDR capable. r=geckoview-reviewers,ahale,m_kato 2024-03-22 00:55:46 +00:00
ScreenManager.cpp Bug 1764201 Part 1: Make widget::Screen track if the screen is HDR capable. r=geckoview-reviewers,ahale,m_kato 2024-03-22 00:55:46 +00:00
ScreenManager.h
ScrollbarDrawing.cpp
ScrollbarDrawing.h
ScrollbarDrawingAndroid.cpp
ScrollbarDrawingAndroid.h
ScrollbarDrawingCocoa.cpp
ScrollbarDrawingCocoa.h
ScrollbarDrawingGTK.cpp Bug 1848899 - Remove widget.non-native-theme.enabled. r=desktop-theme-reviewers,dao,dholbert 2024-05-07 08:32:14 +00:00
ScrollbarDrawingGTK.h
ScrollbarDrawingWin.cpp
ScrollbarDrawingWin.h
ScrollbarDrawingWin11.cpp
ScrollbarDrawingWin11.h
SharedWidgetUtils.cpp
SwipeTracker.cpp
SwipeTracker.h
SystemTimeConverter.h
TextEventDispatcher.cpp
TextEventDispatcher.h
TextEventDispatcherListener.h
TextEvents.h Bug 903746 - part 2: Add textInput event and make EditorBase dispatch it as a default action of beforeinput r=smaug 2024-04-08 12:30:00 +00:00
TextRange.h
TextRecognition.cpp
TextRecognition.h
Theme.cpp Bug 1896516: apply code formatting via Lando 2024-05-30 06:36:30 +00:00
Theme.h
ThemeChangeKind.h
ThemeCocoa.cpp Bug 1362907 - Make select use nsHTMLButtonControlFrame for layout. r=jfkthame,dholbert 2024-02-29 11:15:52 +00:00
ThemeCocoa.h Bug 1362907 - Make select use nsHTMLButtonControlFrame for layout. r=jfkthame,dholbert 2024-02-29 11:15:52 +00:00
ThemeColors.cpp Bug 1879386 - Make sure we respect the "must use light colors" bit in non-native theme drawing. r=morgan 2024-02-12 20:12:39 +00:00
ThemeColors.h Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,media-playback-reviewers,padenot 2024-04-22 16:00:09 +00:00
ThemeDrawing.cpp
ThemeDrawing.h
TouchEvents.h
TouchResampler.cpp
TouchResampler.h
VsyncDispatcher.cpp
VsyncDispatcher.h
WidgetEventImpl.cpp
WidgetMessageUtils.h
WidgetTraceEvent.h
WidgetUtils.cpp
WidgetUtils.h
WindowButtonType.h
WindowOcclusionState.h