gecko-dev/dom
Gabriele Svelto 1ab1c1e41b Bug 1322611 - After a crash compute the SHA256 hash of a minidump and attach it to the crash ping; r=Ted, nchen
This patch changes the crashreporter client code as well as the crash service
code to compute a SHA256 hash of a crash' minidump file and add it to the
crash ping. The crash service code computes the hash on the fly before handing
over the crash to the crash manager; the crash manager will then add it to the
crash ping. The crashreporter client on the other hand sends the hash via the
ping it generates but it also adds it to the event file so that the crash
manager can pick it up and send it along with its own crash ping. On Fennec
the crashreporter activity takes care of computing the hash.

SHA256 hash computation uses nsICryptoHash in the crash service, the
java.security.MessageDigest class in Fennec, the bundled NSS library in the
crashreporter when running on Windows and Mac and the system-provided NSS
library under Linux. The latter is required because the crashreporter client
uses the system curl library which is linked to NSS and which would thus clash
with the bundled one if used together.

This patch introduces two new methods for the nsICrashService interface:
|getMinidumpForID()| and |getExtraFileForID()|, these reliably retrieve the
.dmp and .extra files associated with a crash and ensure the files exist
before returning. These new methods are used in the CrashService for
processing and will become the only way to reliably retrieve those files
from a crash ID.

MozReview-Commit-ID: 8BKvqj6URcO

--HG--
extra : source : a4d8291c56fcde00238ab3166bbe6af6dd602340
2017-02-16 07:36:57 +01:00
..
animation Merge inbound to central, a=merge 2017-03-21 16:08:32 -07:00
asmjscache
audiochannel Bug 1348783 - use LazyLogModule for AudioChannel logging. r=baku 2017-03-21 10:38:48 +08:00
base Bug 1346501. Remove mFrameCreateCalled from nsImageLoadingContent, it is now unused. r=mats 2017-03-22 00:32:50 -05:00
battery
bindings Bug 1133423 - Optimize sets of expando properties and expando setter calls on DOM proxies. r=evilpie 2017-03-22 09:08:08 +01:00
broadcastchannel Bug 1311324 P2 Replace usage of ServiceWorkerMessageEvent with MessageEvent. r=bz 2017-03-09 20:50:13 -05:00
browser-element Bug 1151421 Part 3: Update tests of pageYOffset/scrollY to round off when checking expected results. r=smaug 2017-03-16 12:05:56 -07:00
cache Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 2 - PParentToChild, r=smuag 2017-03-14 12:29:43 +01:00
canvas Bug 1347073 Get rid of UIEvent.isChar since it's not initialized properly on most platforms and the other browsers don't support this r=smaug 2017-03-14 18:29:39 +09:00
commandhandler
console
crypto Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
encoding Bug 1331434 - Part 9: Return after ErrorResult::Throw in /dom, r=ehsan 2017-03-07 19:06:48 -05:00
events Merge m-c to inbound, a=merge 2017-03-21 16:20:08 -07:00
fetch Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 2 - PParentToChild, r=smuag 2017-03-14 12:29:43 +01:00
file Bug 1344957 - Enabling File.createFromNsIFile and File.createFromFileName only for testing and file-content-process, r=ehsan, r=bobowen 2017-03-21 11:11:06 +01:00
filehandle Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt 2017-03-01 08:20:25 -05:00
filesystem Bug 1344415 - Introduce a security check about which files can be opened by a content process, r=ehsan 2017-03-16 08:53:49 +01:00
flyweb Bug 1347446 - Move custom element reactions stack to DocGroup. r=wchen 2017-03-21 00:42:00 -04:00
gamepad
geolocation Backed out changeset 8b1c50cdb50c (bug 1072859) for failing devtools/client/responsive.html/test/browser/browser_permission_doorhanger.js. r=backout a=merge 2017-03-09 00:46:17 +01:00
grid Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt 2017-03-01 08:20:25 -05:00
html Backed out changeset ffa2f50d49ce (bug 1342258) for failing mochitest dom/tests/mochitest/dom-level0/test_setting_document.domain_idn.html. r=backout 2017-03-20 21:19:01 +01:00
imptests Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt 2017-03-01 08:20:25 -05:00
indexedDB Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws. 2017-03-07 15:29:48 +01:00
interfaces Bug 1337056 - Part 12: Send down permissions when calling createAboutBlankContentViewer, r=baku 2017-03-21 11:08:03 -04:00
ipc Bug 1337056 - Part 12: Send down permissions when calling createAboutBlankContentViewer, r=baku 2017-03-21 11:08:03 -04:00
json Bug 1344615: Remove nsXPCOMStrings.{h,cpp} r=bsmedberg 2017-03-06 17:52:54 +13:00
jsurl Bug 1344629 - Part 7: Fix up a couple of pointers to literal strings. r=dbaron 2017-03-14 15:26:36 +13:00
locales Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code. r=smaug 2017-03-17 11:01:57 +08:00
manifest Bug 1347154 - Set correct csp for icon fetching. r=marcosc 2017-03-17 10:55:59 +00:00
mathml Bug 1338936 - Part 2: stylo: Add necessary stubbed-out bindings for ServoSpecifiedValues; r=bz,emilio 2017-02-19 14:03:41 -08:00
media Bug 1348331 part 2. Switch Preferences::RegisterCallback/RegisterCallbackAndCall consumers that want prefix matches to the new RefisterPrefixCallback(AndCall) APIs. r=froydnj,padenot 2017-03-21 14:59:02 -04:00
messagechannel Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt 2017-03-01 08:20:25 -05:00
network Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 2 - PParentToChild, r=smuag 2017-03-14 12:29:43 +01:00
notification Bug 1337056 - Part 6: Disable nsPermissionManager::GetEnumerator in the content process, r=kitcambridge 2017-03-21 11:08:03 -04:00
offline Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt 2017-03-01 08:20:25 -05:00
performance merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
permission Bug 1295877 - Remove accidentally added |debugger;|. r=marcosc 2017-02-28 20:26:53 +09:00
plugins Bug 1322611 - After a crash compute the SHA256 hash of a minidump and attach it to the crash ping; r=Ted, nchen 2017-02-16 07:36:57 +01:00
power Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron 2017-03-14 15:26:27 +13:00
presentation Bug 1337467 - Convert observers to bundle events; r=rbarker r=sebastian 2017-03-07 12:34:04 -05:00
promise Bug 1342060 - wasm: enable by default (r=bbouvier,sr=jorendorff) 2017-02-23 13:02:40 -06:00
push Bug 1300112 - Avoid duplicate push notifications by sending push messages to only one content process. r=kitcambridge 2017-03-09 11:12:49 +00:00
quota Bug 1345120 - 1.0 to 2.0 upgrade kills off the process when starting a debug build. r=asuth 2017-03-07 10:21:00 -05:00
res
secureelement Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt 2017-03-01 08:20:25 -05:00
security Bug 1224225: Tests for punycode/unicode in CSP source matching code r=ckerschb,KWierso 2017-03-15 13:22:55 +01:00
smil Bug 1347168 - Hold on to animation elements while compositors might refer to their animation functions; r=dholbert 2017-03-21 08:47:46 +09:00
storage Bug 1330907 - Rename Telemetry::ID to Telemetry::HistogramID. r=dexter 2017-02-16 00:45:15 +05:30
svg Backed out 4 changesets (bug 1062106) for build bustage 2017-03-21 16:41:18 +08:00
system Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws. 2017-03-07 15:29:48 +01:00
tests Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
time Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt 2017-03-01 08:20:25 -05:00
u2f Bug 1334388 - Disable intermittent dom/u2f/tests/test_multiple_keys.html. r=keeler 2017-03-14 18:41:51 -07:00
url Bug 1324243 - Normalize IPv6 r=manishearth 2017-03-09 00:55:05 +01:00
vr Bug 1306493 - Part 6: disable require gesture when running VR tests; r=kip 2017-03-16 11:46:22 +08:00
webauthn Backed out changeset 713c0a78c2c1 (bug 1260318) for leak issue 2017-03-08 14:01:56 +08:00
webbrowserpersist Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 2 - PParentToChild, r=smuag 2017-03-14 12:29:43 +01:00
webidl Bug 1344957 - Enabling File.createFromNsIFile and File.createFromFileName only for testing and file-content-process, r=ehsan, r=bobowen 2017-03-21 11:11:06 +01:00
workers Bug 1348331 part 3. Change Preferences::RegisterCallback/RegisterCallbackAndCall/UnregisterCallback to do exact matching on the pref name, not prefix matching. r=froydnj. 2017-03-21 14:59:02 -04:00
worklet Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt 2017-03-01 08:20:25 -05:00
xbl Bug 1348746 - stylo: Only eagerly style newly appended children from bindings when the pres shell has been initialized. r=bholley 2017-03-20 17:08:15 +08:00
xhr Bug 1331434 - Part 8: Avoid doing work after throwing in XMLHttpRequestWorker::SendInternal, r=baku 2017-03-07 19:06:48 -05:00
xml Bug 1333990: Part 2c.1 - Interrupt the XML flush loop after inserting document element. r=hsivonen 2017-03-15 14:04:37 -07:00
xslt Backed out changeset 2b0cd920b4fc (bug 1336830) for bustage in dom/xslt/xpath/txNodeTypeTest.cpp. r=backout on a CLOSED TREE 2017-03-20 23:23:53 +01:00
xul Bug 656197 part 1. Remove the generic attr preparsing mechanism from BeforeSetAttr and just preparse class attributes directly in the one place that needs to do it. r=smaug 2017-03-16 14:50:41 -04:00
jar.mn
moz.build Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm 2017-03-08 20:15:45 +01:00