commit f78b18c692a05e98ecede0d76cce2f9ae4867767 parent 0e800f350c02bc7ff8f7d0c832a0b76f1663babb Author: Dan Stillman <dstillman@zotero.org> Date: Fri, 24 Apr 2015 15:16:00 -0400 Fix ES6 warning calling UInt8Array without 'new' Diffstat:
| M | test/content/runtests.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/content/runtests.js b/test/content/runtests.js @@ -10,7 +10,7 @@ var dump = ZoteroUnit.dump; function quit(failed) { // Quit with exit status if(!failed) { - OS.File.writeAtomic(FileUtils.getFile("ProfD", ["success"]).path, Uint8Array(0)); + OS.File.writeAtomic(FileUtils.getFile("ProfD", ["success"]).path, new Uint8Array(0)); } if(!ZoteroUnit.noquit) { Components.classes['@mozilla.org/toolkit/app-startup;1'].