Граф коммитов

1286 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 34e619d1c1 Bug 1357323 - Remove support for gonk in the build system. r=gps
Everything depending on the widget being gonk can go away, as well as
everything depending on MOZ_AUDIO_CHANNEL_MANAGER, which was only
defined on gonk builds under b2g/ (which goes away in bug 1357326).

--HG--
extra : rebase_source : 9f0aeeb7eea8417fa4e06d662d566d67ecaf2a24
2017-04-18 16:56:09 +09:00
Florian Queze f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst 738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze 3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Mike Conley 9a39989c9a Bug 1350917 - Re-apply fix from bug 1012912 onto breakpad-client, since it got lost during the last sync. r=ted
MozReview-Commit-ID: F9a2c6AG9PC

--HG--
extra : rebase_source : 2c248426471d6d09a96b0d5f500d55fd2bb081ac
2017-04-12 15:23:12 -04:00
Petr Sumbera 0e17adee7c Bug 1354510 - Firefox build should recognize Solaris. r=glandium
--HG--
extra : rebase_source : 2bec2709a26a5295e723b0ecc424b0d648715bb7
2017-04-11 00:01:32 -07:00
Iris Hsiao d13a81eccb Merge mozilla-central to mozilla-inbound 2017-04-12 11:24:24 +08:00
Zibi Braniecki 9f6c244d29 Bug 1354445 - Migrate Intl.DateTimeFormat to mozIntl.DateTimeFormat in chrome. r=mak
MozReview-Commit-ID: 4z13lcLXN9T

--HG--
extra : rebase_source : 8043212542b95ca76cf5957fa1ca05e6943fb635
2017-04-08 23:04:32 -07:00
Gabriele Svelto e32019fd3c Bug 1350460 - Ensure that strings read from the regitry are nul-terminated; r=Ted
MozReview-Commit-ID: HRwncfCasA1

--HG--
extra : source : 7e82d3a5fe67aaa302a29c1edf42b953919e2340
2017-03-25 15:47:16 +01:00
Chris Manchester 432c408057 Bug 1337986 - Remove code handling parallelism from symbolstore.py r=ted
This removes handling of dumping symbols in parallel from symbolstore.py
and updates unit tests.
A prior commit made symbolstore.py handle a single file at a time, leaving
concurrency to be handled by make, so this is no longer needed.

MozReview-Commit-ID: C7IHdVHHjRH

--HG--
extra : rebase_source : 4e90ca5d5f64fe0b1cd29a08d5c262dc0fdfcc33
2017-04-10 10:27:49 -07:00
Chris Manchester 5c47bb8d2e Bug 1337986 - Dump symbols during the compile tier. r=ted
This commit moves symbol dumping to the compile tier, to be run via "syms"
targets. Tracking files are used for the sake of incremental builds, because
dump_syms may genearate multiple outputs whose paths are not known ahead of
time.

Minimal changes to symbolstore.py are made here. More extensive
simplifications will be made in a future commit on the basis of symbolstore.py
handling one file at a time.

MozReview-Commit-ID: 3mOP8A6Y7iM

--HG--
extra : rebase_source : bfe97afcdfc05b9e79f01577701c83e8b00eb4e9
2017-02-10 08:34:08 -08:00
Chris Manchester 16f0994a36 Bug 1337986 - Modify symbolstore.py to operate on dll/exe files. r=ted
This will be more convenient when we dump symbols from the compile tier.

MozReview-Commit-ID: Ltjq8ai5j0m

--HG--
extra : rebase_source : bcb059879b1dbadb2e84caa41247fd129629eb37
2017-04-10 10:27:49 -07:00
Carsten "Tomcat" Book 7408344f87 Merge mozilla-central to mozilla-inbound 2017-04-06 13:10:09 +02:00
Ted Mielczarek f441c05f72 bug 1352647 - skip test_crash_rust_panic on Win64 as it sometimes unexpectedly passes. r=me
MozReview-Commit-ID: KSeIKZ6L9I5
2017-04-06 05:58:55 -04:00
Milan Sreckovic 19937ea524 Bug 1353416: Remove the telemetry that counts the number of times users open about:crashes. Clean up some out of date e-mails and set the expiry on the D3D9 compositor probe. r=rhunt
MozReview-Commit-ID: Huw1XBAzULy

--HG--
extra : rebase_source : 418da42433dbc239f8d347ee8033c0e0a2a49b4a
2017-04-04 11:53:07 -04:00
Alessio Placitelli 4e92f9f3b5 Bug 1345108 - Reduce resolution for timestamp in crashreporter's crash pings. r=ted
MozReview-Commit-ID: 5BA51mWlkqW

--HG--
extra : rebase_source : 0f403dfac76f0a14567f8bad27263a5f3e06be82
2017-04-03 17:38:29 +02:00
Ted Mielczarek 2c431cb961 bug 1275780 - capture Rust panic message in crash reports. r=froydnj
MozReview-Commit-ID: IUlYqPEtkgg

--HG--
extra : rebase_source : c328db9b979eb2ff1f469b6ebc4a63e7ac337c63
2017-03-27 14:40:22 -04:00
Ted Mielczarek 5f9adc61f1 bug 1300152 - Add nsIDebug2::rustPanic to allow triggering Rust panic for testing. r=froydnj
For testing purposes it will be useful to be able to trigger crashes in Rust
code. Being able to trigger a panic seems like a good place to start. This
will make it easier to validate improvements in crash reporting.

MozReview-Commit-ID: Bh5rBieLLWW

--HG--
rename : toolkit/crashreporter/test/unit/test_crash_moz_crash.js => toolkit/crashreporter/test/unit/test_crash_rust_panic.js
extra : rebase_source : ba9f626ca2d2852f966e93401b8f8f7543615310
extra : source : 8c9117de1e7f40af42b7cbce25bc3780c032fe45
2017-03-31 12:08:57 -04:00
Iris Hsiao a4e80da339 Backed out changeset 40eb77a98bcf (bug 1300152) 2017-03-31 13:47:37 +08:00
Iris Hsiao 4241e9748a Backed out changeset 23c5ecf4d92e (bug 1275780) for xpcshell perma-failing in Win8 2017-03-31 13:47:33 +08:00
Ryan VanderMeulen 05037eec1a Merge m-c to inbound. a=merge 2017-03-30 15:21:27 -04:00
Ted Mielczarek 68002ffc75 bug 1275780 - capture Rust panic message in crash reports. r=froydnj
MozReview-Commit-ID: IUlYqPEtkgg

--HG--
extra : rebase_source : 4ff228f90fe9114720f7f7a91df77a6899806a89
2017-03-27 14:40:22 -04:00
Alessio Placitelli 7c7671ed07 Bug 1345153 - Suppress valgrind warnings for PR_SetEnv in SetupCrashReporterDirectory. r=njn
MozReview-Commit-ID: 4vV2EHsgTVT

--HG--
extra : rebase_source : c5af8757174610879dd7234d9d699483cf235bdf
2017-03-30 08:04:11 +02:00
Gabriele Svelto 4ee88feef8 Bug 1345153 - When the pingsender fails to send a ping, persist it to disk so that it can be sent later via regular telemetry; r=chutten,ted
Currently we hand over a crash ping to the pingsender via a pipe; if the
pingsender fails to send the ping we rely on the CrashManager assembling and
sending one instead. Since the crashmanager is not aware of whether the ping
was sent or not this causes duplication on the server side. To solve this
problem we save the ping to disk instead, read it from the pingsender and
delete the file only if the ping was sent. In this scenario the CrashManager
will know that a ping was already sent and will not send a new one.

This patch removes all the code used to deal with pipes between the telemetry,
crashreporter and pingsender code and also tries to cut down the amount of
platform-specific code we have in this machinery.

MozReview-Commit-ID: ASm2jnDagCK

--HG--
extra : rebase_source : 9091d7897d17dad68e05e945e777e42998d020d0
2017-03-27 12:38:39 +02:00
Ted Mielczarek 0bb49ca2a4 bug 1300152 - Add nsIDebug2::rustPanic to allow triggering Rust panic for testing. r=froydnj
For testing purposes it will be useful to be able to trigger crashes in Rust
code. Being able to trigger a panic seems like a good place to start. This
will make it easier to validate improvements in crash reporting.

MozReview-Commit-ID: Bh5rBieLLWW

--HG--
rename : toolkit/crashreporter/test/unit/test_crash_moz_crash.js => toolkit/crashreporter/test/unit/test_crash_rust_panic.js
extra : rebase_source : 0ac96469629a7a933fcf3bf6720c448db45543eb
extra : source : 8c9117de1e7f40af42b7cbce25bc3780c032fe45
2016-09-02 13:22:21 -04:00
Ting-Yu Chou 7a42c3d5bf Bug 1337688 - Update a TODO comment according to the experimental data. r=me
--HG--
extra : rebase_source : 992071259dbfdf0a0a9bc3585c3dcb27938525ff
2017-03-27 13:19:19 +08:00
Gabriele Svelto 133dd0903f Bug 1341349 - Enable sending the crash ping from the crashreporter client only when the overall configuration would allow pings to be sent r=Dexter,gfritzsche
The crashreporter client will send a crash ping autonomously only when it
finds a valid TelemetryServerUrl annotation. This patch makes this annotation
conditional on all the preferences that regulate sending pings (including
official telemetry flags) and prevents it from sending pings before the user
has been notified of the privacy policy.

This is achieved by adding a new _annotateCrashReport() method to the
TelemetrySend obejct which can be called before we've initialized the rest of
the components. It is invoked manually early in the startup process so that
startup crashes are properly annotated, then it's invoked again when the user
is informed of the privacy policy as well as when one of the relevant
preferences is altered. This ensures that the annotations are stripped if the
user disables uploading pings without having to restart Firefox.

MozReview-Commit-ID: 2DKnoWGT1Bp

--HG--
extra : source : b7de7faa9f01ab59004dd13b1a10854edbc70633
2017-03-08 15:00:26 +01:00
Carsten "Tomcat" Book 492970c342 merge mozilla-inbound to mozilla-central a=merge 2017-03-23 13:44:09 +01:00
Cervantes Yu 0f5d7dafd5 Bug 1320134 - Part 3: Annotate the crash report with TLS allocation stacks on running out of TLS slots. r=ted
MozReview-Commit-ID: 9BEe4G28Txd
2017-02-23 16:46:27 +08:00
Mike Shal e465a1480d Bug 1342233 - Fix unit-symbolstore.py in cross-OSX builds; r=ted
MozReview-Commit-ID: IElpHBVxDok

--HG--
extra : rebase_source : e805527da89e7262bad8019dfed901b7e9737320
2017-03-01 10:44:53 -05:00
Mike Shal 1d7ddb723e Bug 1342233 - Skip hg test in unit-symbolstore.py for git users; r=ted
MozReview-Commit-ID: DQDBsD7q9Wf

--HG--
extra : rebase_source : f072767828ea367047ef2f4bc82b1fda8d172d51
2017-03-02 15:12:42 -05:00
Zibi Braniecki 3d91da8726 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 513ed31d995864939aa893e73c81ffdf591a6617
2017-03-14 16:09:54 -07:00
Sebastian Hengst 0a04f3b9e2 Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout 2017-03-22 18:20:26 +01:00
Zibi Braniecki c2cd68a689 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 13fa4c397ba4c79303a2cd76684b5b8c4bd17331
2017-03-14 16:09:54 -07:00
Carsten "Tomcat" Book 62f6c37109 merge mozilla-inbound to mozilla-central a=merge 2017-03-22 14:26:27 +01:00
Mark Banner bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
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
Gabriele Svelto 7b64f6d545 Bug 1319071 - Make crash minidumps use the same format for filenames on Linux as on other platforms; r=ted
This patch forks the breakpad files used for GUID generation and replaces them
with copies living together with the rest of the forked sources. Since other
files in the breakpad sources rely on the original files being present they
haven't been removed but we deliberately define their inclusion definitions in
the build system to prevent them from contributing to the build. This ensures
that we always use our own version of the GUID generator while not touching
the non-forked sources.

MozReview-Commit-ID: 5kW74yAPUDW

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/linux/guid_creator.cc => toolkit/crashreporter/breakpad-client/linux/handler/guid_generator.cc
rename : toolkit/crashreporter/google-breakpad/src/common/linux/guid_creator.h => toolkit/crashreporter/breakpad-client/linux/handler/guid_generator.h
extra : rebase_source : 60eb027258833996777469d2a13142077486bee9
2017-03-14 14:37:26 +01:00
Kartikaya Gupta c001ceb787 Bug 1343625 - Catch and gracefully handle div-by-zero exceptions in get_undecoratedNameEx. r=ted
MozReview-Commit-ID: KpQ3Gz53O6j

--HG--
extra : rebase_source : a2e95ff30374ed10a0e6e96a64d5d342bc82ca1b
2017-03-03 14:18:50 -05:00
Cervantes Yu bd63b2000d Backed out changeset 9ba65a580135 (bug 1320134) for crashing webgl on Windows. r=backout 2017-03-15 12:41:49 +08:00
Carsten "Tomcat" Book e078579f28 Merge mozilla-central to mozilla-inbound 2017-03-13 15:25:16 +01:00
Cervantes Yu 23cca49e14 Bug 1320134 - Part 3: Annotate the crash report with TLS allocation stacks on running out of TLS slots. r=ted
MozReview-Commit-ID: 9BEe4G28Txd
2017-02-23 16:46:27 +08:00
Chris H-C 6b14135f94 bug 1338627 - Add crashTime to crash pings data-review=bsmedberg r=gsvelto
crashDate having only per-day resolution was making client delay analysis
rather inaccurate.

crashTime is an ISO8601 string with per-hour resolution which should smooth
things over on the analysis side.

If per-hour is still too coarse, the use of an ISO string allows us to adapt
later to increasing the resolution, if it passes data review. The underlying
crash timestamp has per-second resolution.

MozReview-Commit-ID: 2hwJHSi8Xje

--HG--
extra : rebase_source : cb746ea817c3234f3919b305bc0b5e1829d68ea7
2017-02-16 13:13:38 -05:00
Daniel Holbert 95a650ec1b Bug 1343975: Get rid of all dos/windows linebreaks in Mozilla C++ code. r=ehsan
This is an automated patch, generated by the following command:
find . -name "*.h" -exec fromdos {} \; && \
  find . -name "*.cpp" -exec fromdos {} \; && \
  hg revert -C gfx/angle \
               gfx/sfntly \
               media/webrtc \
               media/libstagefright \
               media/openmax_il \
               other-licenses

MozReview-Commit-ID: Gunlz3vE3h6
2017-03-02 13:08:29 -08:00
Gabriele Svelto 87ded22d83 Bug 1341282 - Write the telemetry session id to the .extra file during a crash; r=Ted
MozReview-Commit-ID: 3xltHwV7L5x

--HG--
extra : source : 12e4ead9cb2afd17e12e96e4f91ac3fc437e7341
2017-02-21 15:23:58 +01:00
Gabriele Svelto 7826396cee Bug 1340631 - Remove the telemetry-related crash annotation tests r=Ted
MozReview-Commit-ID: BS4jS9ph1fX

--HG--
extra : source : b9ea9be3ecc300abb2bda37420f2e267af1613f9
extra : amend_source : 3e9d827487133b8e3bcfb0687037cbaa5656e762
2017-02-21 22:36:12 +01:00
Benjamin Smedberg 76d012145d Bug 1332639 - Remove unneeded #include so that this file builds, r=gsvelto
MozReview-Commit-ID: 87ERrrrWJ1U

--HG--
extra : rebase_source : b7b3de312d7571ad4ce2d106787a1c344355e3d5
2017-02-27 14:04:44 -05:00