Commit Graph

10 Commits

Author SHA1 Message Date
Andrew Halberstadt
8fa1fe045f Bug 1231784 - Install specialpowers and mochikit extensions at runtime via AddonManager.loadTemporaryAddon(), r=jgriffin
MozReview-Commit-ID: 9I56x6Vnbf7
2016-01-25 09:55:57 -05:00
Dave Townsend
ecab1de927 Bug 1142734: Stop using Timer.jsm to avoid replacing the browser window setTimout and clearTimeout functions. r=jsantell
jetpack-addon-harness.js runs in a browser window scope so it already has the
setTimeout functions available to it. Loading Timer.jsm overrides the DOM
timer functions with those from Timer.jsm. Any other code that used setTimeout
previously will have timer IDs from the DOM functions which don't match those
in Timer.jsm. If this other code attempts to clear a timer it can then end up
clearing an unrelated timer. In the intermittent failure here the
browser-thumbnails code manages to clear the timer that is waiting to resolve
the promise that makes tests continue.

I've also added an additional timer that throws an exception and so ends tests
if the add-on uninstall doesn't actually complete in a reasonable time as well
as removing the add-on listener.
2016-02-08 10:11:14 -08:00
Shu-yu Guo
d8faa01cea Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Andrew Halberstadt
c5ccd2f839 Bug 1171971 - Move test_paths argument out of mach and into mochitest; remove --test-path, r=chmanchester 2015-06-05 13:28:29 -04:00
Erik Vold
c82545f26f Bug 1142734 - Using Timer.jsm and adding some logs to jetpack-addon-harness.js r=mossop 2015-06-06 19:21:15 -07:00
Dave Townsend
043491fd68 Bug 1142734: Add additional logging to jetpack-addons tests. r=erikvold 2015-03-13 09:52:25 -07:00
Andrew Halberstadt
332356754b Bug 1131098 - Make mochitest use manifestparser's chunking algorithms and remove JS based ones, r=jmaher 2015-03-10 09:55:30 -04:00
Dave Townsend
5d7276e378 Bug 1097334: Fix console tests in mochitest-jetpack by setting the default log level to info. r=erikvold 2014-11-17 09:58:08 -08:00
Dave Townsend
9f50e135a8 Bug 1095024: Port bug 987849 to mochitest-jetpack. r=jmaher 2014-11-06 12:16:15 -08:00
Dave Townsend
fa734afbbd Bug 1035512: Add a new common JS testing harness based on the mochitest test runner. r=gps, ted, erikvold, jmaher 2014-09-22 11:08:06 -07:00