Commit Graph

42 Commits

Author SHA1 Message Date
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Mike Conley
3e09b959ac Bug 1399796 - UnsubmittedCrashHandler should never check for unsubmitted crash reports if disabled or suppressed. r=Felipe
Bug 1355492 moved the logic for scanning for unsubmitted crash reports out of the initialization
of UnsubmittedCrashHandler, and the initialization is what decided whether or not it was
appropriate to scan in the first place. This was done so that scanning could be deferred
until idle after first paint.

This patch makes it so that the scanning logic first ensures that the UnsubmittedCrashHandler
is actually enabled and not suppressed (which is calculated earlier).

I've also taken the liberty of adding a regression test.

MozReview-Commit-ID: 3Aihom5Q17R
2017-09-15 09:25:04 -07:00
Sebastian Hengst
afbb04d714 Backed out changeset 1256cadba71b (bug 1399796) for eslint failure at browser/modules/ContentCrashHandlers.jsm:675: Async method 'checkForUnsubmittedCrashReports' expected no return value. r=backout 2017-09-15 19:31:36 +02:00
Mike Conley
081c665b72 Bug 1399796 - UnsubmittedCrashHandler should never check for unsubmitted crash reports if disabled or suppressed. r=Felipe
Bug 1355492 moved the logic for scanning for unsubmitted crash reports out of the initialization
of UnsubmittedCrashHandler, and the initialization is what decided whether or not it was
appropriate to scan in the first place. This was done so that scanning could be deferred
until idle after first paint.

This patch makes it so that the scanning logic first ensures that the UnsubmittedCrashHandler
is actually enabled and not suppressed (which is calculated earlier).

I've also taken the liberty of adding a regression test.

MozReview-Commit-ID: 3Aihom5Q17R
2017-09-15 09:25:04 -07:00
Gabriele Svelto
e91231bddb Bug 1376795 - Print a message when quitting in response to a content crash; r=cyu
MozReview-Commit-ID: HluXiBtux23
2017-08-16 11:22:04 +02:00
Rajesh Kathiriya
fefc455410 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Sebastian Hengst
1326418a49 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
0d920ece6a Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Mike Conley
db753f7070 Bug 1378036 - TabCrashHandler should key browsers to dumpIDs on permanentKeys, and fallback to the browser itself if no permanentKey exists. r=Felipe
MozReview-Commit-ID: 45JRjPIAFE8
2017-07-17 18:27:16 -04:00
Florian Quèze
e1afbb0ab4 Bug 1355492 - initialize ContentCrashHandlers.jsm after first paint, r=mconley. 2017-07-15 00:16:31 +02:00
Perry Jiang
e18b73e383 Bug 862178 - Remove main thread I/O from CrashSubmit.jsm and KeyValuParser.jsm, replacing with OS.File. r=gsvelto
MozReview-Commit-ID: 6WIvz15Xtp3
2017-06-19 17:04:03 -07:00
Paolo Amadini
8531ce563a Bug 1370652 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
These fixes are in preparation of making browser-chrome tests fail when there are unhandled Promise rejections.

MozReview-Commit-ID: JTMgC2XwzX2
2017-06-06 21:15:42 +01:00
Joel Maher
d1f0b3328d Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Paolo Amadini
255a25f454 Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2
2017-05-25 15:00:22 +01:00
Sebastian Hengst
4f5a64e5c8 Backed out changeset b59573695517 (bug 1242505) 2017-05-28 11:31:22 +02:00
Paolo Amadini
48197ac0f0 Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2
2017-05-25 15:00:22 +01:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Quèze
99b1694fdb Bug 1330464 - make the no-useless-parameters eslint rule detect misuses of the Services.prefs APIs, r=jaws. 2017-01-13 20:21:55 +01:00
Florian Quèze
b36a8b8f42 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
4e295aa48d Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Mike Conley
6a24ea922f Bug 1309316 - Hide email field in about:tabcrashed by default. r=Felipe
As requested by UX. Disabling it behind a pref in case we decide we really
need to expose users to that form field again.

MozReview-Commit-ID: 4ICZXuApFBL
2016-11-10 22:13:09 -05:00
Mike Conley
829cca9bca Bug 1309316 - Expose preference for auto-submitting backlogged crash reports to about:tabcrashed. r=Felipe
MozReview-Commit-ID: JvhK0MO1IK
2016-11-02 15:04:15 -04:00
André Bargull
5c446c77ad Bug 1313794: Remove Date.prototype.toLocaleFormat uses in browser/modules. r=Felipe 2016-10-28 07:11:12 -07:00
Henrik Skupin
59ae2c2f5c Bug 1311016 - Make Firefox honor MOZ_CRASHREPORTER_SHUTDOWN environment variable to quit browser on content process crash r=mconley
MozReview-Commit-ID: AqahXlLYLzo
2016-10-25 16:28:56 +02:00
Mike Conley
bf28a85b69 Bug 1241459 - Background tab crashes should only show about:tabcrashed for first selected tab. r=Felipe,mikedeboer
When a content process crashes for a tab that is not currently visible to the user (which
can occur if the user is looking at only non-remote tabs, or tabs in other content processes),
then we will only show the tab crash page for the first crashed tab that is selected
by the user. The rest of the tabs will restore on demand.

MozReview-Commit-ID: 1JBAp8diHXp
2016-09-30 15:06:49 -04:00
Mike Conley
1802f1995e Bug 1304677 - Make browser_UnsubmittedCrashHandler.js properly uninit a disabled UnsubmittedCrashHandler. r=Felipe
MozReview-Commit-ID: 4xjeWOCCvjg
2016-09-24 14:15:52 -04:00
Mike Conley
e7a83d83ae Bug 1301722 - Unsubmitted crash report notification should go away if not interacted with for some period of time. r=florian
MozReview-Commit-ID: JxTmmesyTYd
2016-09-13 14:35:08 -04:00
Mike Conley
d826801042 Bug 1301723 - Add automated tests for the unsubmitted crash report notification. r=Felipe
MozReview-Commit-ID: 6OxrjF3z8OU
2016-09-09 14:17:31 -04:00
Mike Conley
dc83e56cbe Bug 1287178 - Make UnsubmittedCrashHandler pay attention to preference for automatically submitting un-submitted crash reports. r=Felipe
MozReview-Commit-ID: ClXHYRLFGpu
2016-09-07 17:08:29 -04:00
Mike Conley
b6bf29051b Bug 1287178 - Move unsubmitted crash report handling into ContentCrashHandlers.jsm. r=Felipe
MozReview-Commit-ID: 8lsv6zxLc9x
2016-09-02 13:16:28 -04:00
Jared Wein
4518d81cb5 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Pushpankar
77a14e357c Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao 2016-07-16 10:20:04 +02:00
Bill McCloskey
c04f15d801 Bug 1269961 - Collect more telemetry on content process crashes (r=jimm,mconley) 2016-05-04 15:09:50 -07:00
Mike Conley
3d3f52314a Bug 1245833 - Don't send empty comments or email addresses in content crash reports. r=felipe 2016-02-04 16:14:19 -05:00
Birunthan Mohanathas
c29873e1b8 Bug 1242907 - Fix broken about:crashes due to typo in ContentCrashHandlers.jsm. r=mconley 2016-02-03 18:21:27 +02:00
Mike Conley
a222f562d3 Bug 1220929 - Rename TabCrashReporter to TabCrashHandler to reflect its actual purpose. r=felipe 2015-11-02 20:57:03 -05:00