TbSync: JavaScript error with TB60b1 and v0.7.6

Hello,

I guess since the beta has been updated to TB60, I cannot sync anymore. As usual, I removed the old account and added it again (with TB restart) and hit sync. It produces the below mentioned error.

Your environment

TbSync version: 0.7.6
Thunderbird version: 60 beta 1

Expected behavior

Sync working

Actual behavior

JavaScript error, debug log output:

** Tue Mar 27 2018 09:47:06 GMT+0200 (CEST) ** [JavaScript Error: “XMLHttpRequest is not defined” {file: “chrome://tbsync/content/provider/eas/eas.js” line: 1229}] getServerOptions/<@chrome://tbsync/content/provider/eas/eas.js:1229:94 getServerOptions@chrome://tbsync/content/provider/eas/eas.js:1227:16 eas.start<@chrome://tbsync/content/provider/eas/eas.js:97:27 TaskImpl_run@resource://gre/modules/Task.jsm:326:42 TaskImpl@resource://gre/modules/Task.jsm:275:3 asyncFunction@resource://gre/modules/Task.jsm:247:14 syncAccount@chrome://tbsync/content/tbsync.jsm:218:13 requestSync@chrome://tbsync/content/provider/eas/accountSettings.js:37:82 oncommand@chrome://tbsync/content/provider/eas/accountSettings.xul?id=1:1:1

Steps to reproduce

Download above mentioned versions, remove accounts, add accounts again, hit sync.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 19 (13 by maintainers)

Commits related to this issue

Most upvoted comments

It looks like it is not a bug in thunderbird, but indeed a bug in tbSync, due to poor documented API changes. It is fixed in master, which is unstable. I release something stable soon.

That is a bug in thunderbird, have seen it before with the 60 branch. The xhr object is missing. I file a report.