Closed emtwo closed 9 years ago
r? @sarracini or @oyiptong or @marcoscaceres
can you please write some tests for both modules?
@marcoscaceres, I wanted to get your opinion on this. _setSimpleRequestHandlers()
, _onDatabaseOpenSuccess()
, and _onWriteFetchRequestSuccess()
are still receiving resolve
or reject
as params. I kept these because they make the code more concise and readable in my opinion. Do you still think it's better to embed these functions so that we don't need to pass them resolve or reject?
r? @marcoscaceres, @sarracini, @oyiptong
Also, if anyone knows why coveralls seems to be hanging or how to debug it, please let me know :)
Edit: Please ignore review request for now, making more changes.
@emtwo you can click on the link: https://coveralls.io/builds/3568624
there's a couple of untested error conditions: https://coveralls.io/builds/3568624/source?filename=js%2FuserDatabase.js
r? @marcoscaceres
@marcoscaceres I've addressed all your comments (I think) please let me know if this looks good. Thanks!
r+
Nice work :smile_cat:
gPinnedLinks
fromNewTabUtils
in Firefox