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

Bug 386170

Summary: EventTarget.dispatchEvent should return a deferred to support sync listener cases
Product: [ECD] Orion Reporter: Simon Kaegi <simon_kaegi>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon
Version: 1.0   
Target Milestone: 1.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Simon Kaegi CLA 2012-07-27 17:19:02 EDT
At the moment EventTarget.dispatchEvent returns nothing however to support the case where we want to ensure all listeners have completed we should return and resolve a deferred when all listener functions have completed.