gecko/toolkit/components/crashes
Gregory Szorc 1dd7d1f247 Bug 1045421 - Remove date time bomb from test_crash_manager.js, add logging; r=gfritzsche
There was a hard-coded date in test_crash_manager.js of around August 3,
2013. This meant that about a year later we would start to run into
boundary issues since we weren't wrapping Date.now() inside
CrashManager.jsm.

It turns out the actual value of DUMMY_DATE doesn't really matter. So,
the test has been changed to produce a value that is reasonably modern.

While I was debugging this, I noticed we're not getting logging in the
tests. So I added that.

--HG--
extra : rebase_source : 4e5534f5df70b01268790396481bdd3236dd8e8e
extra : amend_source : d73ea0a333fa9b0b9c65d890d6f34cb923861acd
2014-07-29 09:47:59 -07:00
..
docs Bug 994707 - Introduce crash submission events and handle them. r=bsmedberg 2014-07-03 14:04:28 -04:00
tests/xpcshell Bug 1045421 - Remove date time bomb from test_crash_manager.js, add logging; r=gfritzsche 2014-07-29 09:47:59 -07:00
CrashManager.jsm Bug 994707 - Introduce crash submission events and handle them. r=bsmedberg 2014-07-03 14:04:28 -04:00
CrashManagerTest.jsm Bug 1045421 - Remove date time bomb from test_crash_manager.js, add logging; r=gfritzsche 2014-07-29 09:47:59 -07:00
CrashService.js
CrashService.manifest
moz.build Bug 1033836 - Convert TESTING_JS_MODULES to moz.build; r=glandium 2014-07-02 16:43:41 -07:00
nsICrashService.idl