zotero/test
Dan Stillman b5bc18c7ed Add new init(options) signature for server endpoints
An endpoint can now take a single object containing 'method', 'pathname',
'query', 'headers', and 'data' and return an integer, an array containing
[statusCode, contentType, body], or a promise for either. This allows the
handlers to use the HTTP method and headers and removes the need for callbacks
when some handlers already use coroutine().

If init() returns a promise, it now has to use the new single-parameter
signature (because the check is done with Function.length, and combining
promises and callbacks doesn't make sense anyway).
2016-12-05 02:55:32 -05:00
..
components Increase default test timeout to 10 seconds on Travis 2016-04-26 02:43:44 -04:00
content Avoid CustomizableUI warnings in console after resetDB() during tests 2016-11-30 21:18:31 -05:00
resource Gzip-compress API uploads larger than 1000 characters 2016-03-28 02:38:28 -04:00
tests Add new init(options) signature for server endpoints 2016-12-05 02:55:32 -05:00
chrome.manifest Unit testing infrastructure 2015-03-07 16:34:55 -05:00
install.rdf Update maxVersion 2015-10-29 03:57:08 -04:00
runtests.sh Remove Travis debugging 2016-11-29 03:29:45 -05:00