zotero/test
Dan Stillman 820755e152 Rework libraryTreeView event handling
Changes `libraryTreeView::addEventListener('load')` and similar to
`libraryTreeView::onLoad.addListener(listener, once)`, etc. `once` is an
optional boolean that, when true, causes the listener to fire once and
then be removed. This is implicit for 'load'.

'load' maintains its special behavior of running immediately if the
treeview has already been loaded.

Also adds `waitForLoad()` and `waitForSelect()` functions that return
promises on event completion, since most uses of those events were just
resolving deferreds.
2017-03-24 05:23:56 -04:00
..
components Add -s flag to runtests.sh to start at given file 2016-12-16 04:21:37 -05:00
content Rework libraryTreeView event handling 2017-03-24 05:23:56 -04:00
resource Gzip-compress API uploads larger than 1000 characters 2016-03-28 02:38:28 -04:00
tests Rework libraryTreeView event handling 2017-03-24 05:23:56 -04: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 Disable script run time warning in tests 2017-01-21 06:37:44 -05:00