gecko-dev/toolkit/components/crashes
Gregory Szorc 30f5396657 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 Bug 983313 - Write crash events for plugin crashes and hangs (part 1: main changes). r=bsmedberg 2014-05-12 11:58:18 -07:00
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 Bug 983313 - Write crash events for plugin crashes and hangs (part 1: main changes). r=bsmedberg 2014-05-12 11:58:18 -07:00