Philipp von Weitershausen
5c0030737b
Re-merge fx-sync to mozilla-central
2010-08-12 17:03:58 +02:00
Justin Dolske
31c2a0210a
Bug 583949 - Fix leaks in Firefox Sync unit tests
2010-08-02 22:37:13 -07:00
Philipp von Weitershausen
a2466ae2e3
Bug 582083 - Should inspect POST responses for failed WBOs [r=Mardak]
...
Make sure records that failed to upload continue to be marked in the tracker so that they'll be uploaded again in the next sync.
2010-07-31 13:28:00 +02:00
Philipp von Weitershausen
0c89ecd876
Bug 569744 - Delayed loading of service.js causes test failures [r=Mardak]
...
Explicitly set username pref so that when service.js starts up (which it does after 10s, thanks to Weave.js) it doesn't reset the WeaveID's username to ''.
2010-07-14 18:36:13 +02:00
Philipp von Weitershausen
fc4daed597
Bug 569744 - Delayed loading of service.js causes test failures [r=Mardak]
...
Have FakeCryptoService.generateRandomIV() return 24 bytes so that Weave.Service._checkCrypto() believes it's the real deal. Fix undeclared variable.
2010-06-23 12:36:48 +02:00
Edward Lee
80fc412879
Bug 573679 - Fix tests to pass on trunk
...
Use do_load_httpd_js for xpcshell tests and have consumers directly call new nsHttpServer().
2010-06-22 13:18:10 -07:00
Edward Lee
4e55362a90
Bug 570636 - Decide how to co-exist as a sync add-on and built-in sync [r=mconnor]
...
Map the modules directory to services-sync instead of weave and update imports.
2010-06-16 14:30:08 -07:00
Edward Lee
0d25dd2924
Bug 568677 - Failure to get CryptoMeta assumes it's missing [r=mconnor]
...
Explicitly check the status code to make sure we stop syncing on non-404 crypto meta failures. Add tests to check correct behavior of 404 and non-404 errors during syncStartup.
2010-06-14 15:16:53 -07:00
Philipp von Weitershausen
c0bcc6524a
Bug 570152 - engine.js tests should completely reset preferences [r=mconnor]
...
Switch to resetBranch("") instead of resetting individual prefs.
2010-06-04 16:38:38 +01:00
Edward Lee
4ef8492eaf
Bug 569746 - Test with sync with smaller numbers to speed up testing
...
Reduce test run time (w/ coverage tool) from 25 minutes to 2 minutes while maintaining the same code coverage by processing hundreds instead of thousands of records.
2010-06-02 16:51:48 -07:00
Philipp von Weitershausen
ceaa8fab03
Bug 557588 - code audit and create unit test plan for engines.js [r=mconnor]
...
Tests for SyncEngine.sync(), incl some additions to harness.
2010-06-01 15:07:50 -07:00