Skip to content

Current SugarJS incompatible with current Thunderbird (probably also Firefox?) trunk #627

Open
@jikamens

Description

@jikamens

Attempting to use SugarJS with the 2018-03-15 Thunderbird Trunk build, I get this:

08:37:46.183 TypeError: globalContext[name] is undefined 1 sugar.min.js:791:9
	mapNativeToChainable resource://sendlater3/sugar.min.js:791:9
	createNamespace resource://sendlater3/sugar.min.js:521:5
	setupGlobal/< resource://sendlater3/sugar.min.js:91:7
	forEachProperty resource://sendlater3/sugar.min.js:839:11
	setupGlobal resource://sendlater3/sugar.min.js:90:5
	<anonymous> resource://sendlater3/sugar.min.js:874:3
	<anonymous> resource://sendlater3/sugar.min.js:9:2
	<anonymous> resource://sendlater3/dateparse.jsm:9:1
	<anonymous> chrome://sendlater3/content/composing.js:1:1

I imagine this is also going to impact Firefox since Thunderbird and Firefox share a JavaScript engine.

The trunk build from three days ago does not have this problem. The build transitioned from Thunderbird 60 to Thunderbird 61 in the interim, so I imagine this problem was introduced by a change that was held out of the trunk until the bump from 60 to 61.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions