zotero/chrome/content
Dan Stillman d857a06661 Use OS.File for file reads in Zotero.File.get(Binary)ContentsAsync()
This is the recommended approach (since NetUtil can still do some main-thread
I/O for files) and avoids warnings in the console.

For getContentsAsync(), also sends nsIURIs and string URIs to
Zotero.HTTP.request(), which should be used instead.

This makes getBinaryContentsAsync() much slower (due to the conversion from an
array of bytes to a binary string), but it's only used in tests. For one test
that compares two large files, use MD5 instead.
2016-09-24 06:42:30 -04:00
..
zotero Use OS.File for file reads in Zotero.File.get(Binary)ContentsAsync() 2016-09-24 06:42:30 -04:00
zotero-platform Add a second horizontal layout to Zotero for small screens (#1010) 2016-05-27 20:57:29 -04:00