gecko-dev/toolkit
Gabriele Svelto 334814f9c8 Bug 1666383 - Make sure that crash annotations are sent to the main process when a child process crashes r=KrisWright
The pipe we use to communicate crash-time annotations to the main process is
non-blocking. It's created using NSPR's `PR_CreatePipe()` which sets it in
non-blocking mode by default but this code was originally writing to a file
which had been opened in blocking mode. Because of this the writes to it
assumed blocking behaviour and didn't check for EAGAIN. This could lead to
crash annotations not being fully sent if they were too long for a single
`write()` invocation. This affected both Linux and macOS. This patch trivially
fixes the problem by repeatedly calling `write()` until the annotations are
fully written out. This is not optimal but it's acceptable given that this code
runs in an exception handler and I don't know if it would be safe to call
`poll()` in such a context.

Differential Revision: https://phabricator.services.mozilla.com/D98058
2020-12-01 10:21:20 +00:00
..
actors Bug 1672623 - Closing PiP window pauses the cloned video element for video conferences. r=mconley 2020-11-19 00:09:00 +00:00
components Bug 1678200 - extend doorhanger_submitte event telemetry to Fx92. r=sfoster 2020-11-30 19:32:28 +00:00
content Bug 1679489 - Fixing the issue that cookieJarSettings cannot be fetched from the browser. r=dimi 2020-11-30 11:59:58 +00:00
crashreporter Bug 1666383 - Make sure that crash annotations are sent to the main process when a child process crashes r=KrisWright 2020-12-01 10:21:20 +00:00
docs Bug 1665854 - fx doc: Various improvements + configuration + fixes in the doc r=firefox-build-system-reviewers,rstewart 2020-09-22 06:26:17 +00:00
library Bug 1677766 - P1: Update cubeb-coreaudio to 1e1222d r=cubeb-reviewers,padenot 2020-11-18 19:35:40 +00:00
locales Bug 1675636 - Switch cancel button label to 'close' while printing. r=mstriemer,fluent-reviewers 2020-12-01 00:41:54 +00:00
modules Bug 1664916 - Add rosetta status for about:support r=fluent-reviewers,haik,Gijs 2020-11-23 19:36:29 +00:00
mozapps Bug 1677135 fix APP_SHUTDOWN for langpacks r=rpl,zbraniecki 2020-11-19 20:18:17 +00:00
pluginproblem Bug 1675349: Replace plugin behavior with a basic fallback r=jmathies,mixedpuppy 2020-11-18 15:55:34 +00:00
profile Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
system Bug 1669282 Disable scheme handlers in flatpak until portal is provided; r=stransky DONTBUILD 2020-11-27 15:38:34 +00:00
themes Bug 1677247 - Replace :not(:is(X)) with :not(X) in the codebase. r=emilio 2020-11-25 04:23:25 +00:00
xre Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
.eslintrc.js
l10n-registry.manifest
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
moz.configure Bug 1675441 - Use an x64 Widevine GMP Process for Apple Silicon Native Builds r=bryce,spohl 2020-11-11 02:37:57 +00:00
toolkit.mozbuild Bug 1664898 - move media/mtransport to media/transport. r=ng 2020-09-22 21:43:49 +00:00