zotero/test/tests
Dan Stillman 819be60796 Switch to XMLHttpRequest for processDocuments()
processDocuments() now uses an XHR 'document' request, wrapped to
provide a 'location' property, and uses promises for a simpler call
signature (though the old one will continue to work, for existing
translators). 'done' and 'exception' can now be handled via promises,
and in the translator sandbox an optional noCompleteOnError argument
instructs it not to automatically cancel the translation process with an
error (e.g., for supplementary materials).

Since we do need a hidden browser in some situations (e.g., for saving
snapshots), the old hidden-browser-based processDocuments() is still
available as Zotero.HTTP.loadDocuments().

This hopefully also fixes various problems with document property access
in translation-server.
2017-10-05 17:18:42 -04:00
..
data Fetch a style if it is not installed on document preferences load 2017-04-10 11:24:22 +03:00
advancedSearchTest.js Rework libraryTreeView event handling 2017-03-24 05:23:56 -04:00
attachmentsTest.js Fix linked attachment base directory handling at drive root 2017-08-18 16:06:56 +02:00
bibliographyTest.js Add "Manage Styles…" link to Create Bib and Doc Prefs windows 2016-09-06 19:15:01 -04:00
browserTest.js Maybe fix browser test failures by preloading translators 2017-06-19 00:40:52 -04:00
cachedTypesTest.js Add toCanonical and toLabel for Zotero.CharacterSets 2015-06-11 17:17:28 -05:00
collectionsTest.js Show saved searches under "Collection" search condition 2016-10-06 01:17:06 -04:00
collectionTest.js Fix error deleting collection after emptying trash 2017-09-18 17:03:12 -04:00
collectionTreeViewTest.js Better isolate collectionTreeView test 2017-09-18 17:46:03 -04:00
concurrentCallerTest.js Maybe reduce spurious errors in ConcurrentCaller test 2016-07-19 18:53:48 -04:00
creatorsTest.js Fix translation error when firstName is null for fieldMode 1 2017-02-27 23:34:16 -05:00
dataDirectoryTest.js Remove some code that's unnecessary now that we're Fx52+ everywhere 2017-06-23 05:03:11 -04:00
dataObjectsTest.js Temporarily disable test for non-integer getAsync() 2017-06-05 03:00:15 -04:00
dataObjectTest.js Restrict relation predicates to letters and colons for now 2017-09-22 01:01:52 -04:00
dataObjectUtilitiesTest.js Fix test from d8025be67 2016-05-17 02:44:00 -04:00
dateTest.js Fix Zotero.Date methods within translator sandbox 2017-01-17 02:23:15 -05:00
dbTest.js Throw an error from queryAsync() if onRow throws an error 2016-03-28 17:47:25 -04:00
duplicatesTest.js Fix instances of browser windows being left open after tests 2016-06-11 05:10:06 -04:00
feedItemsTest.js Update some Sinon reset() calls 2017-06-01 15:39:42 -04:00
feedItemTest.js Remove "Error:" expected in error messages. 2017-06-01 11:36:18 -04:00
feedReaderTest.js Various feeds changes 2016-03-22 06:56:36 -04:00
feedsTest.js Don't run feeds update until after schema update promise 2017-06-19 01:25:03 -04:00
feedTest.js Don't run feeds update until after schema update promise 2017-06-19 01:25:03 -04:00
fileInterfaceTest.js Update tests after citeproc-js upgrade to match output 2017-04-15 04:35:16 -04:00
fileTest.js Fix #1286, Show proper error messages for OS.File errors 2017-08-17 15:43:54 +02:00
fulltextTest.js Consider fulltextItems with SYNC_STATE_MISSING as unindexed 2017-07-26 22:16:01 -04:00
groupsTest.js Update toolbar icons on group editability change 2016-03-25 16:49:26 -04:00
groupTest.js Tweak test syntax that breaks with current version of chai-as-promised 2017-06-01 11:36:18 -04:00
httpTest.js Switch to XMLHttpRequest for processDocuments() 2017-10-05 17:18:42 -04:00
integrationTest.js Modernize sinon.stub() calls 2017-06-01 11:36:17 -04:00
itemFieldsTest.js Fix Zotero.ItemFields.getBaseIDFromTypeAndField() 2015-05-27 05:01:48 -04:00
itemPaneTest.js Fix test failure after 94c4445475 2017-08-30 18:26:01 -04:00
itemsTest.js Move My Publications into My Library 2017-04-12 19:26:58 -04:00
itemTest.js Don't load note/attachments counts as primary data 2017-08-30 18:08:25 -04:00
itemTreeViewTest.js Remove non-matching parent items when deleting items from trash 2017-07-26 22:16:01 -04:00
librariesTest.js Remove "Error:" expected in error messages. 2017-06-01 11:36:18 -04:00
libraryTest.js Remove "Error:" expected in error messages. 2017-06-01 11:36:18 -04:00
libraryTreeViewTest.js Fix potential error in libraryTreeView::#_removeRow() test 2016-07-19 20:31:52 -04:00
lookupTest.js Fix "Add Item by Identifier" (broken by 78b1d2ee3) 2016-12-13 05:23:21 -05:00
noteeditorTest.js Maybe fix noteeditor test failures for real 2017-04-01 14:29:45 -04:00
notifierTest.js Add Zotero.Notifier.Queue to keep event groups separate, and use for sync 2016-04-22 22:48:58 -04:00
openurlTest.js Use best first creator for OpenURL author, not just first position 2016-07-11 06:30:55 -04:00
preferences_advancedTest.js Disable debug output logging test for now 2017-07-25 03:29:41 -04:00
preferences_searchTest.js Add waitForDialog(onOpen, button) support function 2015-06-04 20:31:48 -04:00
preferences_syncTest.js Update some Sinon reset() calls 2017-06-01 15:39:42 -04:00
profileTest.js Point other profiles to new data dir after migration (+ code reorg) 2016-11-27 00:17:56 -05:00
proxyTest.js Improves proxy support (#1129) 2016-12-12 14:29:59 +02:00
quickCopyTest.js Fix Quick Copy tests after 6d265f448f 2017-07-19 04:36:45 -04:00
recognizePDFTest.js Fix Travis failure after skipped test 2016-12-21 05:28:48 -05:00
relatedboxTest.js Rework libraryTreeView event handling 2017-03-24 05:23:56 -04:00
relationsTest.js Update relations using local user key when first setting sync user 2017-03-01 23:38:45 -05:00
schemaTest.js Overhaul object downloading/processing during data syncs 2016-03-23 04:29:04 -04:00
searchTest.js Fix various problems with fulltextContent searches 2017-07-26 22:16:01 -04:00
server_connectorTest.js Standardize connector server behavior for saves to read-only libraries 2017-09-27 17:39:18 -04:00
serverTest.js Add new init(options) signature for server endpoints 2016-12-05 02:55:32 -05:00
storageLocalTest.js Add Sync.Storage.Local.updateSyncStates() 2017-07-01 06:31:46 -04:00
storageRequestTest.js Avoid a warning from a storageRequest test from the item not existing 2017-05-23 02:12:00 -04:00
styleTest.js Modernize sinon.stub() calls 2017-06-01 11:36:17 -04:00
supportTest.js Deasyncify Zotero.Tags.getID()/getAsync(), and add Zotero.Tags.create() 2016-04-21 11:07:16 -04:00
syncAPIClientTest.js Update some Sinon reset() calls 2017-06-01 15:39:42 -04:00
syncedSettingsTest.js Fixes feed sync bugs after conflicts. (#1074) 2016-08-16 03:03:42 -04:00
syncEngineTest.js Fix sync errors from remote item referencing deleted local collection 2017-09-20 05:33:44 -04:00
syncEventListenersTest.js Fix auto-syncing of unchecked groups after object change 2017-07-21 19:39:37 -04:00
syncFullTextEngineTest.js Update some deprecated function calls 2016-12-29 21:50:33 -05:00
syncLocalTest.js Restore locally deleted collections and searches that changed remotely 2017-06-18 09:11:21 -04:00
syncRunnerTest.js Fix sync test after 7b0ed6da81 2017-08-05 01:41:21 +02:00
tagsboxTest.js Deasyncify Zotero.Tags.getID()/getAsync(), and add Zotero.Tags.create() 2016-04-21 11:07:16 -04:00
tagSelectorTest.js Test for tag selector search 2017-07-20 18:25:12 -04:00
tagsTest.js Add "Delete Automatic Tags in This Library…" option to tag selector menu 2017-07-07 18:19:12 -04:00
translateTest.js Switch to XMLHttpRequest for processDocuments() 2017-10-05 17:18:42 -04:00
translatorsTest.js Implements #1021 on Z4fx extension 2016-09-27 17:43:56 +03:00
uriTest.js Add Zotero.URI.getURIItemLibraryKeyFromDB() 2017-05-19 12:11:21 -04:00
utilities_internalTest.js Don't leave file descriptor open in md5Async() 2017-06-30 17:54:33 -04:00
utilitiesTest.js Make itemFromCSLJSON independent of Zotero.Item existance. 2017-05-08 09:24:34 +03:00
webdavTest.js Better Unicode path comparison in WebDAV.purgeOrphanedStorageFiles() 2017-08-10 04:41:16 +02:00
zfsTest.js Don't update storage version if file sync is stopped 2017-08-11 22:29:40 +02:00
zoteroPaneTest.js Isolate test from 531170353b 2017-10-01 22:43:18 -04:00
zoteroTest.js Fix test 2016-12-11 02:55:47 -05:00