Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 394238

Summary: Deferred should always call then-ables asynchronously
Product: [ECD] Orion Reporter: Simon Kaegi <simon_kaegi>
Component: ClientAssignee: Simon Kaegi <simon_kaegi>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon, susan
Version: 1.0   
Target Milestone: 2.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Simon Kaegi CLA 2012-11-13 19:38:45 EST
Currently our Deferred will call then-ables synchronously as they are registered if the promise is already resolved. Instead the then-able should be called next tick via setTimeout or a more efficient onMessage mechanism.
Comment 1 Simon Kaegi CLA 2012-12-11 16:35:43 EST
Fixed in Master