On Monday, November 18, 2013 4:54:31 PM UTC-8, Dave Townsend wrote:
> There are add-ons using the existing promises implementations. Is there any
> 
> reason not to make those wrappers around the DOM promises to avoid
> 
> potential bustage?
> 
> 
> 
> At least the add-on SDK promises library provides functionality beyond that
> 
> that appears to be in the DOM promises (custom prototypes for example). How
> 
> are you planning to handle that?
> 
> 

If there are addons using those extensions, we can leave the promise.js 
implementation in there for addons. As long as they are scoped of and addon 
authors do not use "Promise" (which will become a reference to DOM Promise and 
may lead to errors), addon code should continue working fine. But there 
shouldn't be any code in the tree that uses these custom promises.

Nikhil
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to