The JS promise implementation came out of a desire to use promises in
add-ons and devtools amongst others. I believe the C++ implementation came
out of the DOM spec. I'm not sure why we need both.


On Tue, Jul 30, 2013 at 7:51 AM, Andreas Gal <andreas....@gmail.com> wrote:

>
> Yeah, I just saw that grepping through the tree. Both completely
> independent, too. On the upside, this might solve Jan's problem.
>
> Andreas
>
>
> Boris Zbarsky wrote:
>
>> On 7/30/13 7:36 AM, Andreas Gal wrote:
>>
>>> For that we would have to implement Promise via IDL. Definitely
>>> possible. All you need is a bit IDL and some JS that implements it. It
>>> would be a lot slower than the jsm since it wraps into C++ objects that
>>> call into JS, but in most cases that doesn't really matter.
>>>
>>
>> Wait.  Why do we have multiple Promise implementations now?  :(
>>
>> -Boris
>> ______________________________**_________________
>> dev-platform mailing list
>> dev-platform@lists.mozilla.org
>> https://lists.mozilla.org/**listinfo/dev-platform<https://lists.mozilla.org/listinfo/dev-platform>
>>
> ______________________________**_________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/**listinfo/dev-platform<https://lists.mozilla.org/listinfo/dev-platform>
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to