Right now, some old mocha tests in server-tests are manually calling done. Return a promise instead since the latest mocha.js supports that, and manually calling done turned out be error prone.
Created attachment 304449 [details] Cleanup the tests
Created attachment 304465 [details] Cleaned up some more
Comment on attachment 304465 [details] Cleaned up some more rs=me
Thanks!
Committed r213969: <http://trac.webkit.org/changeset/213969>