Revision: 12966
Revision: 12966
Author: dloverin@adobe.com
Date: 2009-12-15 10:59:54 -0800 (Tue, 15 Dec 2009)
Log Message:
***********
Fix sub-applications loading RSLs into the wrong application domain.
projects/framework/src/mx/controls/SWFLoader.as
Fix loading sub-applications as well. Load sub-applications into a child application domain of their parent.
projects/framework/src/mx/core/CrossDomainRSLItem.as
projects/framework/src/mx/core/FlexModuleFactory.as
projects/framework/src/mx/core/RSLItem.as
projects/framework/src/mx/managers/SystemManager.as
Pass a module factory from SystemManager and FlexModuleFactory to CrossDomainRSLItem/RSLItem. Use the moduleFactory to find the application domain of the app/modules loading the RSLs. Use this application domain to load RSLs into.
projects/framework/src/mx/modules/ModuleLoader.as
?\226?\128?\156currentDomain?\226?\128?\157 is never null so remove null check.
projects/airframework/src/mx/managers/WindowedSystemManager.as
Added a info().currentDomain object to WindowedSystemManager.
QE notes: None.
Doc notes: None.
Bugs: SDK-24698
Reviewer: Alex
Tests run: checkintests, MarshallPlan, Modules
Is noteworthy for integration: no
Ticket Links:
***********
http://bugs.adobe.com/jira/browse/SDK-24698
Modified Paths:
**************
flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/RSLItem.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleLoader.as